Dynamics 365 Business Central
Action: Create or Update Sales Order
appKey:
dynamics365BusinessCentral
actionKey:
createOrUpdateSalesOrder
Action Inputs
The following parameters are available when configuring this action:
The method to use to find the customer. Accepted values are:
filter | select
customerFilterstring
Required if the customer find method is
filter
. The filter to search by. Accepted values are: - number
- phoneNumber
- searchName
customerFilterValuestring
Required if the
customerFindMethod
is filter
. The filter value to search by.salesOrderFilterstring
Required if the sales order find method is
filter
. The filter to search by. Accepted values are: - number
- externalDocumentNumber
salesOrderFilterValuestring
Required if the
salesOrderFindMethod
is filter
. The filter value to search by.salesOrderFindMethodstring
The method to use to find the sales order. Accepted values are:
filter | select
salesOrderLinesarray
The sales order lines to create or update. The sales order line items will match those of the salesOrderLines.
An empty array will clear any existing line items in the sales order. Note: not currently available for mapping via the UI.
Properties for each line element:
Properties for each line element:
- itemId
- discountAmount
- discountPercent
- quantity
- unitPrice
- shipmentDate
- shipQuantity
- taxCode
updateExistingSalesOrderboolean
If true, will update the sales order if found. Requires a find method to be set.