Posted Sales Shipment Inbound APIs
The posted sales shipment in MS Dynamics Business Central ERP records the details of goods or services that have been shipped or delivered to a customer. It is generated after a sales order is fulfilled and serves as a confirmation of the delivery.
- Transform Name:
- STD_MSDynamics_Business_Central_PostedSalesShipment_IB
The following are the MS Dynamics Business Central ERP attributes that are mapped with the Canonical attributes and their output path.
MS Dynamics Field Input Element | Mapped Canonical Path | Target Output Element | Mapping Rules | |
---|---|---|---|---|
@odata.context | Not mapped | Not mapped | – | |
@odata.etag | Not mapped | Not mapped | – | |
id | Not mapped | Not mapped | – | |
number | data/messageBody/canonicalAdvanceShipNoticeHeader/transactionReferenceIdentifierList
|
b2bTransactionIdentifierValue | where b2bTransactionIdentifierType= DELIVERY | |
externalDocumentNumber | data/messageBody/canonicalAdvanceShipNoticeHeader/transactionReferenceIdentifierList
|
b2bTransactionIdentifierValue | Hard code "PURCHASEORDER" to target instance of transactionReferenceIdentifierList | |
invoiceDate | Not mapped | Not mapped | – | |
postingDate | Not mapped | Not mapped | – | |
dueDate | Not mapped | Not mapped | – | |
shippingAgentCode | Not mapped | Not mapped | – | |
customerId | Not mapped | Not mapped | – | |
customerNumber | data/messageBody/canonicalAdvanceShipNoticeHeader/customerBusinessInformation/mpcCompanyLocationIdentifierList
data/messageBody/canonicalAdvanceShipNoticeHeader/shipToBusinessInformation/mpcCompanyLocationIdentifierList
|
companyIdentifierValue | where companyIdentifierType=COMPANYID where companyIdentifierType=COMPANYSITEID |
|
customerName | data/messageBody/canonicalAdvanceShipNoticeHeader/customerBusinessInformation
|
businessName | – | |
billToCustomerId | Not mapped | Not mapped | – | |
billToName | data/messageBody/canonicalAdvanceShipNoticeHeader/billToBusinessInformation
|
businessName | – | |
billToCustomerNumber | data/messageBody/canonicalAdvanceShipNoticeHeader/billToBusinessInformation/mpcCompanyLocationIdentifierList
|
companyIdentifierValue | where companyIdentifierType=COMPANYID | |
locationCode | data/messageBody/canonicalAdvanceShipNoticeHeader/shipFromLocationInformation
|
companyIdentifierValue | companyIdentifierType=COMPANYSITEID | |
shipToName | data/messageBody/canonicalAdvanceShipNoticeHeader/shipToLocationInformation
|
businessName | – | |
shipToContact | data/messageBody/canonicalAdvanceShipNoticeHeader/shipToLocationInformation/companyLocationContactInformation
|
contactName | – | |
sellToAddressLine1 | Not mapped | Not mapped | – | |
sellToAddressLine2 | Not mapped | Not mapped | – | |
sellToCity | Not mapped | Not mapped | – | |
sellToCountry | Not mapped | Not mapped | – | |
sellToState | Not mapped | Not mapped | – | |
sellToPostCode | Not mapped | Not mapped | – | |
billToAddressLine1 | data/messageBody/canonicalAdvanceShipNoticeHeader/billToBusinessInformation/address
|
address1 | – | |
billToAddressLine2 | data/messageBody/canonicalAdvanceShipNoticeHeader/billToBusinessInformation/address
|
address2 | – | |
billToCity | data/messageBody/canonicalAdvanceShipNoticeHeader/billToBusinessInformation/address
|
city | – | |
billToCountry | data/messageBody/canonicalAdvanceShipNoticeHeader/billToBusinessInformation/address
|
country | – | |
billToState | data/messageBody/canonicalAdvanceShipNoticeHeader/billToBusinessInformation/address
|
state | – | |
billToPostCode | data/messageBody/canonicalAdvanceShipNoticeHeader/billToBusinessInformation/address
|
postalCode | – | |
shipToAddressLine1 | data/messageBody/canonicalAdvanceShipNoticeHeader/billToBusinessInformation/address
|
address1 | – | |
shipToAddressLine2 | data/messageBody/canonicalAdvanceShipNoticeHeader/shipToLocationInformation/address
|
address2 | – | |
shipToCity | data/messageBody/canonicalAdvanceShipNoticeHeader/shipToLocationInformation/address
|
city | – | |
shipToCountry | data/messageBody/canonicalAdvanceShipNoticeHeader/shipToLocationInformation/address
|
country | – | |
shipToState | data/messageBody/canonicalAdvanceShipNoticeHeader/shipToLocationInformation/address
|
state | – | |
shipToPostCode | data/messageBody/canonicalAdvanceShipNoticeHeader/shipToLocationInformation/address
|
postalCode | – | |
currencyCode | data/messageBody/canonicalAdvanceShipNoticeHeader/deliveryExportData
|
currencyCode | Select first value from the array | |
orderNumber | Not mapped | Not mapped |
– |
|
paymentTermsCode | Not mapped | Not mapped | – | |
shipmentMethodCode | Not mapped | Not mapped | – | |
salesperson | Not mapped | Not mapped | – | |
pricesIncludeTax | Not mapped | Not mapped | – | |
lastModifiedDateTime | Not mapped | Not mapped | – | |
phoneNumber | Not mapped | Not mapped | – | |
Not mapped | Not mapped | – | ||
customer | Not mapped | Not mapped | – | |
@odata.etag | Not mapped | Not mapped | – | |
id | Not mapped | Not mapped | – | |
number | data/messageBody/canonicalAdvanceShipNoticeHeader/customerBusinessInformation/mpcCompanyLocationIdentifierList
|
companyIdentifierValue | where companyIdentifierType=COMPANYID | |
displayName | data/messageBody/canonicalAdvanceShipNoticeHeader/customerBusinessInformation
|
businessName | – | |
type | Not mapped | Not mapped | – | |
addressLine1 | data/messageBody/canonicalAdvanceShipNoticeHeader/customerBusinessInformation/address
|
address1 | – | |
addressLine2 | data/messageBody/canonicalAdvanceShipNoticeHeader/customerBusinessInformation/address
|
address2 | – | |
city | data/messageBody/canonicalAdvanceShipNoticeHeader/customerBusinessInformation/address
|
city | – | |
state | data/messageBody/canonicalAdvanceShipNoticeHeader/customerBusinessInformation/address
|
state | – | |
country | data/messageBody/canonicalAdvanceShipNoticeHeader/customerBusinessInformation/address
|
country | – | |
postalCode | data/messageBody/canonicalAdvanceShipNoticeHeader/customerBusinessInformation/address
|
postalCode | – | |
phoneNumber | data/messageBody/canonicalAdvanceShipNoticeHeader/customerBusinessInformation/mpcCompanyLocationIdentifierList
|
contactPhone | – | |
data/messageBody/canonicalAdvanceShipNoticeHeader/customerBusinessInformation/mpcCompanyLocationIdentifierList
|
contactEmail | – | ||
website | Not mapped | Not mapped | – | |
salespersonCode | Not mapped | Not mapped | – | |
balanceDue | Not mapped | Not mapped | – | |
creditLimit | Not mapped | Not mapped | – | |
taxLiable | Not mapped | Not mapped | – | |
taxAreaId | Not mapped | Not mapped | – | |
taxAreaDisplayName | Not mapped | Not mapped | – | |
taxRegistrationNumber | Not mapped | Not mapped | – | |
currencyId | Not mapped | Not mapped | – | |
currencyCode | Not mapped | Not mapped | – | |
paymentTermsId | Not mapped | Not mapped | – | |
shipmentMethodId | Not mapped | Not mapped | – | |
paymentMethodId | Not mapped | Not mapped | – | |
blocked | Not mapped | Not mapped | – | |
lastModifiedDateTime | Not mapped | Not mapped | – | |
salesShipmentLines | – | |||
@odata.etag | Not mapped | Not mapped | – | |
id | Not mapped | Not mapped | – | |
documentId | Not mapped | Not mapped | – | |
documentNo | Not mapped | Not mapped | – | |
sequence | data/messageBody/canonicalAdvanceShipNoticeItemDetails/
|
lineItemNumber | Hard Code to Item | |
lineType | Not mapped | Item | Hard Code to Item | |
lineObjectNumber | data/messageBody/canonicalAdvanceShipNoticeItemDetails/productCodesIdentifiers
|
productCodeValue | Where productCodeType = VENDOR | |
description | data/messageBody/canonicalAdvanceShipNoticeItemDetails/productItemInformation
|
productName | – | |
description2 | Not mapped | Not mapped | – | |
unitOfMeasureCode | data/messageBody/canonicalAdvanceShipNoticeItemDetails/itemQuantity
|
unitOfMeasure | – | |
unitPrice | Not mapped | Not mapped | – | |
quantity | data/messageBody/canonicalAdvanceShipNoticeItemDetails/itemQuantity
|
quantityValue | hard code to quantityType = DELIVERED and quantityType=ITEM | |
discountPercent | Not mapped | Not mapped | – | |
taxPercent | Not mapped | Not mapped | – | |
shipmentDate | canonicalAdvanceShipNoticeHeader/ transactionReferenceIdentifierList
|
transactionDate | where b2bTransactionIdentifierType = DELIVERY | |
dimensionSetLines | – | |||
@odata.etag | Not mapped | Not mapped | – | |
id | Not mapped | Not mapped | – | |
code | Not mapped | Not mapped | – | |
consolidationCode | Not mapped | Not mapped | – | |
parentId | Not mapped | Not mapped | – | |
parentType | Not mapped | Not mapped | – | |
displayName | Not mapped | Not mapped | – | |
valueId | Not mapped | Not mapped | – | |
valueCode | Not mapped | Not mapped | – | |
valueConsolidationCode | Not mapped | Not mapped | – | |
valueDisplayName | Not mapped | Not mapped | – | |
vendor | – | |||
@odata.context | Not mapped | Not mapped | – | |
id | .data.controlFileHeader
|
fileSenderNumber | – | |
systemVersion | Not mapped | Not mapped | – | |
timestamp | Not mapped | Not mapped | – | |
name | Not mapped | Not mapped | – | |
displayName | data/messageBody/canonicalAdvanceShipNoticeHeader/supplierBusinessInformation
|
businessName | – | |
businessProfileId | Not mapped | Not mapped | – | |
systemCreatedAt | Not mapped | Not mapped | – | |
systemCreatedBy | Not mapped | Not mapped | – | |
systemModifiedAt | Not mapped | Not mapped | – | |
systemModifiedBy | Not mapped | Not mapped | – |