microsoft.dynamics365.scm
Modules
microsoft.dynamics365.scm
microsoft.dynamics365.scm.mock.serverModule microsoft.dynamics365.scm
API
Definitions
ballerinax/microsoft.dynamics365.scm Ballerina library
Overview
Microsoft Dynamics 365 Supply Chain Management is Microsoft's cloud enterprise-resource-planning application for end-to-end supply chain operations, covering warehousing, inventory, manufacturing, planning, transportation, and procurement. The Dynamics 365 Supply Chain Management connector enables integration with the Supply Chain OData REST API, providing programmatic access to master and transactional data including warehouses and locations, sites, item groups, units of measure, bills of materials, production orders, transfer orders, on-hand inventory, inventory journals, and sales shipments.
Key Features
- Warehouse, location, and site master-data management
- Bill-of-materials (BOM) header and line access for manufacturing integration
- Production order and transfer order workflows
- Real-time on-hand inventory lookups by item, site, warehouse, location, batch, and serial
- Inventory journal and sales shipment (packing slip) visibility
- Cross-company queries spanning multiple legal entities (
dataAreaId) - OAuth 2.0 client-credentials and bearer-token authentication against Microsoft Entra ID (Azure AD)
Setup
Dynamics 365 Supply Chain Management is protected by Azure Active Directory. Acquire an access token via the client-credentials flow (or pass one in directly via a bearer-token config) and point the client at your tenant's /data endpoint.
Quickstart
import ballerinax/microsoft.dynamics365.scm; public function main() returns error? { scm:Client scmClient = check new ( config = { auth: { tokenUrl: "https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/token", clientId: "<client-id>", clientSecret: "<client-secret>", scopes: ["https://<tenant>.operations.dynamics.com/.default"] } }, serviceUrl = "https://<tenant>.operations.dynamics.com/data" ); scm:WarehousesCollection warehouses = check scmClient->listWarehouses(queries = {top: 5}); // ... }
Examples
Runnable examples live in examples/ at the repository root. They use the bundled mock server so they can run without a live tenant.
Clients
microsoft.dynamics365.scm: Client
Ballerina connector for a curated subset of the Microsoft Dynamics 365 Supply Chain Management OData REST API. Exposes the warehouse, inventory, BOM, production, transfer, and shipment entities most commonly used in demo scenarios.
Constructor
Gets invoked to initialize the connector.
init (ConnectionConfig config, string serviceUrl)- config ConnectionConfig - The configurations to be used when initializing the
connector
- serviceUrl string "https://your-org.operations.dynamics.com/data" - URL of the target service
listWarehouses
function listWarehouses(map<string|string[]> headers, *ListWarehousesQueries queries) returns WarehousesCollection|errorList warehouses
Parameters
- queries *ListWarehousesQueries - Queries to be sent with the request
Return Type
- WarehousesCollection|error - Warehouse collection
createWarehouse
Create warehouse
Parameters
- payload Warehouse -
getWarehouse
function getWarehouse(string dataAreaId, string warehouseId, map<string|string[]> headers, *GetWarehouseQueries queries) returns Warehouse|errorGet warehouse
Parameters
- dataAreaId string - Legal entity identifier (company code).
- warehouseId string - Warehouse identifier.
- queries *GetWarehouseQueries - Queries to be sent with the request
updateWarehouse
function updateWarehouse(string dataAreaId, string warehouseId, Warehouse payload, UpdateWarehouseHeaders headers) returns Warehouse|errorUpdate warehouse
Parameters
- dataAreaId string - Legal entity identifier (company code).
- warehouseId string - Warehouse identifier.
- payload Warehouse -
- headers UpdateWarehouseHeaders (default {}) - Headers to be sent with the request
listWarehouseLocations
function listWarehouseLocations(map<string|string[]> headers, *ListWarehouseLocationsQueries queries) returns WarehouseLocationsCollection|errorList warehouse locations
Parameters
- queries *ListWarehouseLocationsQueries - Queries to be sent with the request
Return Type
- WarehouseLocationsCollection|error - Warehouse location collection
listSites
function listSites(map<string|string[]> headers, *ListSitesQueries queries) returns SitesCollection|errorList sites
Parameters
- queries *ListSitesQueries - Queries to be sent with the request
Return Type
- SitesCollection|error - Site collection
listItemGroups
function listItemGroups(map<string|string[]> headers, *ListItemGroupsQueries queries) returns ItemGroupsCollection|errorList item groups
Parameters
- queries *ListItemGroupsQueries - Queries to be sent with the request
Return Type
- ItemGroupsCollection|error - Item group collection
listUnitsOfMeasure
function listUnitsOfMeasure(map<string|string[]> headers, *ListUnitsOfMeasureQueries queries) returns UnitsOfMeasureCollection|errorList units of measure
Parameters
- queries *ListUnitsOfMeasureQueries - Queries to be sent with the request
Return Type
- UnitsOfMeasureCollection|error - Unit of measure collection
listBillsOfMaterials
function listBillsOfMaterials(map<string|string[]> headers, *ListBillsOfMaterialsQueries queries) returns BillsOfMaterialsCollection|errorList bills of materials
Parameters
- queries *ListBillsOfMaterialsQueries - Queries to be sent with the request
Return Type
- BillsOfMaterialsCollection|error - BOM header collection
createBillOfMaterials
function createBillOfMaterials(BillOfMaterials payload, map<string|string[]> headers) returns BillOfMaterials|errorCreate bill of materials
Parameters
- payload BillOfMaterials -
Return Type
- BillOfMaterials|error - BOM created
getBillOfMaterials
function getBillOfMaterials(string dataAreaId, string billOfMaterialsId, map<string|string[]> headers, *GetBillOfMaterialsQueries queries) returns BillOfMaterials|errorGet bill of materials
Parameters
- dataAreaId string - Legal entity identifier (company code).
- billOfMaterialsId string - Bill of materials identifier.
- queries *GetBillOfMaterialsQueries - Queries to be sent with the request
Return Type
- BillOfMaterials|error - BOM header record
listBillOfMaterialLines
function listBillOfMaterialLines(map<string|string[]> headers, *ListBillOfMaterialLinesQueries queries) returns BillOfMaterialLinesCollection|errorList bill of materials lines
Parameters
- queries *ListBillOfMaterialLinesQueries - Queries to be sent with the request
Return Type
- BillOfMaterialLinesCollection|error - BOM line collection
listProductionOrders
function listProductionOrders(map<string|string[]> headers, *ListProductionOrdersQueries queries) returns ProductionOrderHeadersCollection|errorList production orders
Parameters
- queries *ListProductionOrdersQueries - Queries to be sent with the request
Return Type
- ProductionOrderHeadersCollection|error - Production order header collection
createProductionOrder
function createProductionOrder(ProductionOrderHeader payload, map<string|string[]> headers) returns ProductionOrderHeader|errorCreate production order
Parameters
- payload ProductionOrderHeader -
Return Type
- ProductionOrderHeader|error - Production order created
getProductionOrder
function getProductionOrder(string dataAreaId, string productionOrderNumber, map<string|string[]> headers, *GetProductionOrderQueries queries) returns ProductionOrderHeader|errorGet production order
Parameters
- dataAreaId string - Legal entity identifier (company code).
- productionOrderNumber string - Production order number.
- queries *GetProductionOrderQueries - Queries to be sent with the request
Return Type
- ProductionOrderHeader|error - Production order header record
listTransferOrders
function listTransferOrders(map<string|string[]> headers, *ListTransferOrdersQueries queries) returns TransferOrderHeadersCollection|errorList transfer orders
Parameters
- queries *ListTransferOrdersQueries - Queries to be sent with the request
Return Type
- TransferOrderHeadersCollection|error - Transfer order header collection
getTransferOrder
function getTransferOrder(string dataAreaId, string transferOrderNumber, map<string|string[]> headers, *GetTransferOrderQueries queries) returns TransferOrderHeader|errorGet transfer order
Parameters
- dataAreaId string - Legal entity identifier (company code).
- transferOrderNumber string - Transfer order number.
- queries *GetTransferOrderQueries - Queries to be sent with the request
Return Type
- TransferOrderHeader|error - Transfer order header record
listInventoryOnHand
function listInventoryOnHand(map<string|string[]> headers, *ListInventoryOnHandQueries queries) returns InventoryOnHandCollection|errorList inventory on-hand
Parameters
- queries *ListInventoryOnHandQueries - Queries to be sent with the request
Return Type
- InventoryOnHandCollection|error - Inventory on-hand collection
listInventoryJournalHeaders
function listInventoryJournalHeaders(map<string|string[]> headers, *ListInventoryJournalHeadersQueries queries) returns InventoryJournalHeadersCollection|errorList inventory journal headers
Parameters
- queries *ListInventoryJournalHeadersQueries - Queries to be sent with the request
Return Type
- InventoryJournalHeadersCollection|error - Inventory journal header collection
listSalesShipments
function listSalesShipments(map<string|string[]> headers, *ListSalesShipmentsQueries queries) returns SalesShipmentHeadersCollection|errorList sales shipments
Parameters
- queries *ListSalesShipmentsQueries - Queries to be sent with the request
Return Type
- SalesShipmentHeadersCollection|error - Sales shipment header collection
Records
microsoft.dynamics365.scm: BillOfMaterialLine
BOM line record.
Fields
- \@odata\.etag? string - Concurrency token.
- dataAreaId? string - Legal entity identifier.
- BillOfMaterialsId? string - BOM the line belongs to.
- LineNumber? decimal - Line sequence.
- ItemNumber? string - Component item number.
- Quantity? decimal - Required quantity of the component.
- UnitSymbol? string - Unit of measure.
- ConsumptionFormulaId? string - Consumption formula identifier.
- ScrapVariablePercentage? decimal - Variable scrap as a percentage.
- ScrapConstantQuantity? decimal - Constant scrap quantity.
microsoft.dynamics365.scm: BillOfMaterialLinesCollection
Fields
- Fields Included from *ODataCollection
- value? BillOfMaterialLine[] -
microsoft.dynamics365.scm: BillOfMaterials
BOM header record.
Fields
- \@odata\.etag? string - Concurrency token.
- dataAreaId? string - Legal entity identifier.
- BillOfMaterialsId? string - BOM identifier.
- BillOfMaterialsName? string - Human-readable BOM name.
- SiteId? string - Site the BOM applies to.
- ItemGroupId? string - Item group classification.
- ApprovedByPersonnelNumber? string - Personnel number of the approver.
- IsApproved? "Yes"|"No" - Whether the BOM is approved.
- ActivationDate? string - First date on which the BOM is active.
- ExpirationDate? string - Last date on which the BOM is active.
microsoft.dynamics365.scm: BillsOfMaterialsCollection
Fields
- Fields Included from *ODataCollection
- value? BillOfMaterials[] -
microsoft.dynamics365.scm: ConnectionConfig
Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint.
Fields
- auth OAuth2ClientCredentialsGrantConfig|BearerTokenConfig - Configurations related to client authentication
- httpVersion HttpVersion(default http:HTTP_2_0) - The HTTP version understood by the client
- http1Settings ClientHttp1Settings(default {}) - Configurations related to HTTP/1.x protocol
- http2Settings ClientHttp2Settings(default {}) - Configurations related to HTTP/2 protocol
- timeout decimal(default 30) - The maximum time to wait (in seconds) for a response before closing the connection
- forwarded string(default "disable") - The choice of setting
forwarded/x-forwardedheader
- followRedirects? FollowRedirects - Configurations associated with Redirection
- poolConfig? PoolConfiguration - Configurations associated with request pooling
- cache CacheConfig(default {}) - HTTP caching related configurations
- compression Compression(default http:COMPRESSION_AUTO) - Specifies the way of handling compression (
accept-encoding) header
- circuitBreaker? CircuitBreakerConfig - Configurations associated with the behaviour of the Circuit Breaker
- retryConfig? RetryConfig - Configurations associated with retrying
- cookieConfig? CookieConfig - Configurations associated with cookies
- responseLimits ResponseLimitConfigs(default {}) - Configurations associated with inbound response size limits
- secureSocket? ClientSecureSocket - SSL/TLS-related options
- proxy? ProxyConfig - Proxy server related options
- socketConfig ClientSocketConfig(default {}) - Provides settings related to client socket configuration
- validation boolean(default true) - Enables the inbound payload validation functionality which provided by the constraint package. Enabled by default
- laxDataBinding boolean(default true) - Enables relaxed data binding on the client side. When enabled,
nilvalues are treated as optional, and absent fields are handled asnilabletypes. Enabled by default.
microsoft.dynamics365.scm: GetBillOfMaterialsQueries
Represents the Queries record for the operation: getBillOfMaterials
Fields
- expand? string - OData
$expand— comma-separated list of navigation properties to inline.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: GetProductionOrderQueries
Represents the Queries record for the operation: getProductionOrder
Fields
- expand? string - OData
$expand— comma-separated list of navigation properties to inline.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: GetTransferOrderQueries
Represents the Queries record for the operation: getTransferOrder
Fields
- expand? string - OData
$expand— comma-separated list of navigation properties to inline.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: GetWarehouseQueries
Represents the Queries record for the operation: getWarehouse
Fields
- expand? string - OData
$expand— comma-separated list of navigation properties to inline.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: InventoryJournalHeader
Inventory journal header (movement, counting, adjustment, transfer).
Fields
- \@odata\.etag? string - Concurrency token.
- dataAreaId? string - Legal entity identifier.
- JournalNumber? string - Journal batch number.
- JournalName? string - Journal name identifier.
- Description? string - Free-form description.
- JournalType? string - Journal type (Movement, Counting, Transfer, BOM, Item arrival, Production input, Tag counting).
- IsPosted? "Yes"|"No" - Whether the journal has been posted.
- PostingDate? string - Posting date, when posted.
- SiteId? string - Default site for the journal.
- WarehouseId? string - Default warehouse for the journal.
microsoft.dynamics365.scm: InventoryJournalHeadersCollection
Fields
- Fields Included from *ODataCollection
- value? InventoryJournalHeader[] -
microsoft.dynamics365.scm: InventoryOnHand
On-hand inventory quantities aggregated by dimension.
Fields
- \@odata\.etag? string - Concurrency token.
- dataAreaId? string - Legal entity identifier.
- ItemNumber? string - Item number.
- SiteId? string - Site.
- WarehouseId? string - Warehouse.
- LocationId? string - Location (bin).
- BatchNumber? string - Batch number, when batch tracking is enabled.
- SerialNumber? string - Serial number, when serial tracking is enabled.
- InventoryStatusId? string - Inventory status (e.g. Available, Blocked).
- UnitSymbol? string - Inventory unit of measure.
- PhysicalInventoryQuantity? decimal - Physical on-hand quantity.
- PhysicalReservedQuantity? decimal - Quantity physically reserved.
- AvailablePhysicalQuantity? decimal - Physically available quantity (physical − physical reservations).
- OrderedInventoryQuantity? decimal - Quantity ordered in.
microsoft.dynamics365.scm: InventoryOnHandCollection
Fields
- Fields Included from *ODataCollection
- value? InventoryOnHand[] -
microsoft.dynamics365.scm: ItemGroup
Item group reference record.
Fields
- \@odata\.etag? string - Concurrency token.
- dataAreaId? string - Legal entity identifier.
- ItemGroupId? string - Item group identifier.
- ItemGroupName? string - Item group description.
- InventoryAccount? string - Inventory main account.
- CostOfGoodsSoldAccount? string - COGS main account.
- RevenueAccount? string - Revenue main account.
microsoft.dynamics365.scm: ItemGroupsCollection
Fields
- Fields Included from *ODataCollection
- value? ItemGroup[] -
microsoft.dynamics365.scm: ListBillOfMaterialLinesQueries
Represents the Queries record for the operation: listBillOfMaterialLines
Fields
- skip? Signed32 - OData
$skip— number of records to skip.
- top? Signed32 - OData
$top— maximum number of records to return.
- filter? string - OData
$filter— expression used to restrict the records returned.
- orderBy? string - OData
$orderby— comma-separated list of properties and directions.
- crossCompany? boolean - When
true, queries span all legal entities the caller has access to instead of the default company.
- count? boolean - OData
$count— whentrue, the response includes@odata.count.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: ListBillsOfMaterialsQueries
Represents the Queries record for the operation: listBillsOfMaterials
Fields
- skip? Signed32 - OData
$skip— number of records to skip.
- top? Signed32 - OData
$top— maximum number of records to return.
- filter? string - OData
$filter— expression used to restrict the records returned.
- orderBy? string - OData
$orderby— comma-separated list of properties and directions.
- expand? string - OData
$expand— comma-separated list of navigation properties to inline.
- crossCompany? boolean - When
true, queries span all legal entities the caller has access to instead of the default company.
- count? boolean - OData
$count— whentrue, the response includes@odata.count.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: ListInventoryJournalHeadersQueries
Represents the Queries record for the operation: listInventoryJournalHeaders
Fields
- skip? Signed32 - OData
$skip— number of records to skip.
- top? Signed32 - OData
$top— maximum number of records to return.
- filter? string - OData
$filter— expression used to restrict the records returned.
- orderBy? string - OData
$orderby— comma-separated list of properties and directions.
- crossCompany? boolean - When
true, queries span all legal entities the caller has access to instead of the default company.
- count? boolean - OData
$count— whentrue, the response includes@odata.count.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: ListInventoryOnHandQueries
Represents the Queries record for the operation: listInventoryOnHand
Fields
- skip? Signed32 - OData
$skip— number of records to skip.
- top? Signed32 - OData
$top— maximum number of records to return.
- filter? string - OData
$filter— expression used to restrict the records returned.
- orderBy? string - OData
$orderby— comma-separated list of properties and directions.
- crossCompany? boolean - When
true, queries span all legal entities the caller has access to instead of the default company.
- count? boolean - OData
$count— whentrue, the response includes@odata.count.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: ListItemGroupsQueries
Represents the Queries record for the operation: listItemGroups
Fields
- skip? Signed32 - OData
$skip— number of records to skip.
- top? Signed32 - OData
$top— maximum number of records to return.
- filter? string - OData
$filter— expression used to restrict the records returned.
- orderBy? string - OData
$orderby— comma-separated list of properties and directions.
- crossCompany? boolean - When
true, queries span all legal entities the caller has access to instead of the default company.
- count? boolean - OData
$count— whentrue, the response includes@odata.count.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: ListProductionOrdersQueries
Represents the Queries record for the operation: listProductionOrders
Fields
- skip? Signed32 - OData
$skip— number of records to skip.
- top? Signed32 - OData
$top— maximum number of records to return.
- filter? string - OData
$filter— expression used to restrict the records returned.
- orderBy? string - OData
$orderby— comma-separated list of properties and directions.
- expand? string - OData
$expand— comma-separated list of navigation properties to inline.
- crossCompany? boolean - When
true, queries span all legal entities the caller has access to instead of the default company.
- count? boolean - OData
$count— whentrue, the response includes@odata.count.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: ListSalesShipmentsQueries
Represents the Queries record for the operation: listSalesShipments
Fields
- skip? Signed32 - OData
$skip— number of records to skip.
- top? Signed32 - OData
$top— maximum number of records to return.
- filter? string - OData
$filter— expression used to restrict the records returned.
- orderBy? string - OData
$orderby— comma-separated list of properties and directions.
- crossCompany? boolean - When
true, queries span all legal entities the caller has access to instead of the default company.
- count? boolean - OData
$count— whentrue, the response includes@odata.count.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: ListSitesQueries
Represents the Queries record for the operation: listSites
Fields
- skip? Signed32 - OData
$skip— number of records to skip.
- top? Signed32 - OData
$top— maximum number of records to return.
- filter? string - OData
$filter— expression used to restrict the records returned.
- orderBy? string - OData
$orderby— comma-separated list of properties and directions.
- crossCompany? boolean - When
true, queries span all legal entities the caller has access to instead of the default company.
- count? boolean - OData
$count— whentrue, the response includes@odata.count.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: ListTransferOrdersQueries
Represents the Queries record for the operation: listTransferOrders
Fields
- skip? Signed32 - OData
$skip— number of records to skip.
- top? Signed32 - OData
$top— maximum number of records to return.
- filter? string - OData
$filter— expression used to restrict the records returned.
- orderBy? string - OData
$orderby— comma-separated list of properties and directions.
- expand? string - OData
$expand— comma-separated list of navigation properties to inline.
- crossCompany? boolean - When
true, queries span all legal entities the caller has access to instead of the default company.
- count? boolean - OData
$count— whentrue, the response includes@odata.count.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: ListUnitsOfMeasureQueries
Represents the Queries record for the operation: listUnitsOfMeasure
Fields
- skip? Signed32 - OData
$skip— number of records to skip.
- top? Signed32 - OData
$top— maximum number of records to return.
- filter? string - OData
$filter— expression used to restrict the records returned.
- orderBy? string - OData
$orderby— comma-separated list of properties and directions.
- count? boolean - OData
$count— whentrue, the response includes@odata.count.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: ListWarehouseLocationsQueries
Represents the Queries record for the operation: listWarehouseLocations
Fields
- skip? Signed32 - OData
$skip— number of records to skip.
- top? Signed32 - OData
$top— maximum number of records to return.
- filter? string - OData
$filter— expression used to restrict the records returned.
- orderBy? string - OData
$orderby— comma-separated list of properties and directions.
- crossCompany? boolean - When
true, queries span all legal entities the caller has access to instead of the default company.
- count? boolean - OData
$count— whentrue, the response includes@odata.count.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: ListWarehousesQueries
Represents the Queries record for the operation: listWarehouses
Fields
- skip? Signed32 - OData
$skip— number of records to skip.
- top? Signed32 - OData
$top— maximum number of records to return.
- filter? string - OData
$filter— expression used to restrict the records returned.
- orderBy? string - OData
$orderby— comma-separated list of properties and directions.
- expand? string - OData
$expand— comma-separated list of navigation properties to inline.
- crossCompany? boolean - When
true, queries span all legal entities the caller has access to instead of the default company.
- count? boolean - OData
$count— whentrue, the response includes@odata.count.
- selectFields? string - OData
$select— comma-separated list of properties to include in the response.
microsoft.dynamics365.scm: OAuth2ClientCredentialsGrantConfig
OAuth2 Client Credentials Grant Configs
Fields
- Fields Included from *OAuth2ClientCredentialsGrantConfig
- tokenUrl string(default "https://login.microsoftonline.com/common/oauth2/v2.0/token") - Token URL
microsoft.dynamics365.scm: ODataCollection
Common envelope wrapped around every OData collection response.
Fields
- \@odata\.context? string - Metadata URL describing the shape of the response.
- \@odata\.count? int - Total number of matching records; only returned when
$count=true.
- \@odata\.nextLink? string - URL to retrieve the next page of results, if any.
microsoft.dynamics365.scm: ProductionOrderHeader
Production order header record.
Fields
- \@odata\.etag? string - Concurrency token.
- dataAreaId? string - Legal entity identifier.
- ProductionOrderNumber? string - Production order number.
- ItemNumber? string - Item being produced.
- ProductionQuantity? decimal - Quantity to be produced.
- UnitSymbol? string - Unit of measure for the production quantity.
- SiteId? string - Site where the order is produced.
- WarehouseId? string - Warehouse where the order is produced.
- ProductionStatus? string - Status (Created, Estimated, Scheduled, Released, StartedUp, ReportedAsFinished, Ended, Costed).
- ScheduledStartDate? string - Scheduled start date.
- ScheduledEndDate? string - Scheduled end date.
- BillOfMaterialsId? string - BOM used for the order.
- RouteId? string - Route used for the order.
- ResponsibleWorkerPersonnelNumber? string - Personnel number of the responsible worker.
microsoft.dynamics365.scm: ProductionOrderHeadersCollection
Fields
- Fields Included from *ODataCollection
- value? ProductionOrderHeader[] -
microsoft.dynamics365.scm: SalesShipmentHeader
Sales shipment (packing slip) header record.
Fields
- \@odata\.etag? string - Concurrency token.
- dataAreaId? string - Legal entity identifier.
- PackingSlipId? string - Packing slip identifier.
- SalesOrderNumber? string - Originating sales order number.
- OrderingCustomerAccountNumber? string - Ordering customer account.
- InvoiceCustomerAccountNumber? string - Invoice customer account.
- PackingSlipDate? string - Packing slip date.
- ShippingDate? string - Actual shipping date.
- DeliveryModeCode? string - Mode of delivery.
- DeliveryTermsCode? string - Incoterms / delivery terms.
- ShippingWarehouseId? string - Warehouse the shipment left from.
- CurrencyCode? string - Transaction currency.
microsoft.dynamics365.scm: SalesShipmentHeadersCollection
Fields
- Fields Included from *ODataCollection
- value? SalesShipmentHeader[] -
microsoft.dynamics365.scm: Site
Inventory site master record.
Fields
- \@odata\.etag? string - Concurrency token.
- dataAreaId? string - Legal entity identifier.
- SiteId? string - Site identifier.
- SiteName? string - Human-readable site name.
- TimeZoneId? string - Site time zone.
- DefaultWarehouseId? string - Default warehouse for the site.
- PrimaryAddressCountryRegionId? string - Primary address country/region.
- PrimaryAddressCity? string - Primary address city.
- IsActive? "Yes"|"No" - Whether the site is active.
microsoft.dynamics365.scm: SitesCollection
Fields
- Fields Included from *ODataCollection
- value? Site[] -
microsoft.dynamics365.scm: TransferOrderHeader
Transfer order header record.
Fields
- \@odata\.etag? string - Concurrency token.
- dataAreaId? string - Legal entity identifier.
- TransferOrderNumber? string - Transfer order number.
- ShippingWarehouseId? string - Warehouse shipping the inventory.
- ShippingSiteId? string - Site shipping the inventory.
- ReceivingWarehouseId? string - Warehouse receiving the inventory.
- ReceivingSiteId? string - Site receiving the inventory.
- ShippingDate? string - Planned shipping date.
- ReceivingDate? string - Planned receiving date.
- TransferStatus? string - Status (Created, Shipped, Received).
- DeliveryModeCode? string - Mode of delivery.
- CurrencyCode? string - Transfer currency.
microsoft.dynamics365.scm: TransferOrderHeadersCollection
Fields
- Fields Included from *ODataCollection
- value? TransferOrderHeader[] -
microsoft.dynamics365.scm: UnitOfMeasure
Global unit-of-measure definition (not scoped to a legal entity).
Fields
- \@odata\.etag? string - Concurrency token.
- Symbol? string - Unit symbol (e.g.
ea,kg,m).
- Description? string - Human-readable description.
- UnitClass? string - Unit class (Quantity, Length, Mass, Time, Volume, etc.).
- DecimalPrecision? Signed32 - Number of decimals used when displaying quantities in this unit.
- SystemOfUnits? string - System of units (
Metric,Imperial,None).
microsoft.dynamics365.scm: UnitsOfMeasureCollection
Fields
- Fields Included from *ODataCollection
- value? UnitOfMeasure[] -
microsoft.dynamics365.scm: UpdateWarehouseHeaders
Represents the Headers record for the operation: updateWarehouse
Fields
- If\-Match? string - Optimistic concurrency token. Set to the record's
@odata.etagto ensure the update only succeeds when the record has not changed.
microsoft.dynamics365.scm: Warehouse
Warehouse master record as exposed by the Warehouses data entity.
Fields
- \@odata\.etag? string - Concurrency token.
- dataAreaId? string - Legal entity identifier.
- WarehouseId? string - Warehouse identifier.
- WarehouseName? string - Human-readable warehouse name.
- SiteId? string - Inventory site the warehouse belongs to.
- WarehouseTypeId? string - Warehouse type (Default, Quarantine, Transit, Vendor, Customer).
- PrimaryAddressStreet? string - Primary street address.
- PrimaryAddressCity? string - Primary address city.
- PrimaryAddressState? string - Primary address state or province.
- PrimaryAddressZipCode? string - Primary address postal code.
- PrimaryAddressCountryRegionId? string - Primary address country/region.
- IsInventoryCountingEnabled? "Yes"|"No" - Whether the warehouse participates in cycle counting.
- IsWMSManaged? "Yes"|"No" - Whether the warehouse is managed by the advanced WMS module.
microsoft.dynamics365.scm: WarehouseLocation
Warehouse location (bin) master record.
Fields
- \@odata\.etag? string - Concurrency token.
- dataAreaId? string - Legal entity identifier.
- WarehouseId? string - Warehouse the location belongs to.
- LocationId? string - Location (bin) identifier.
- LocationProfileId? string - Location profile.
- ZoneId? string - Zone the location belongs to.
- AisleNumber? string - Aisle designator.
- RackNumber? string - Rack designator.
- ShelfNumber? string - Shelf designator.
- BinNumber? string - Bin designator.
- IsInboundPutawayLocation? "Yes"|"No" - Whether the location is used for putaway.
- IsOutboundPickingLocation? "Yes"|"No" - Whether the location is used for picking.
microsoft.dynamics365.scm: WarehouseLocationsCollection
Fields
- Fields Included from *ODataCollection
- value? WarehouseLocation[] -
microsoft.dynamics365.scm: WarehousesCollection
Fields
- Fields Included from *ODataCollection
- value? Warehouse[] -
Import
import ballerinax/microsoft.dynamics365.scm;Other versions
0.1.0
Metadata
Released date: 4 days ago
Version: 0.1.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.13.0
GraalVM compatible: Yes
Pull count
Total: 2
Current verison: 2
Weekly downloads
Keywords
Name/Microsoft Dynamics 365 Supply Chain Management
Area/ERP & Business Operations
Vendor/Microsoft
Dynamics365
SupplyChain
ERP
Type/Connector
Contributors