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:


companyIdrequiredstring
The id of the company to connect to.

customerFindMethodrequiredstring
The method to use to find the customer. Accepted values are: filter | select

environmentrequiredstring
The environment to connect to. E.g., Production.

The currency code of the order.

Required if the customer find method is filter. The filter to search by. Accepted values are:
- number
- email
- phoneNumber
- searchName

Required if the customerFindMethod is filter. The filter value to search by.

The id of the customer to update.

emailstring
An email to associate with the sales order.

The external document number.

Whether the order is fully shipped.

orderDatestring
The date the order was placed.

Whether partial shipping is allowed.

The id of the payment terms.

A phone number to associate with the sales order.

The date the order was posted.

Whether the prices include tax.

The requested delivery date.

Required if the sales order find method is filter. The filter to search by. Accepted values are:
- number
- externalDocumentNumber

Required if the salesOrderFindMethod is filter. The filter value to search by.

The method to use to find the sales order. Accepted values are: filter | select

The id of the sales order to update.

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:

- itemId
- discountAmount
- discountPercent
- quantity
- unitPrice
- shipmentDate
- shipQuantity
- taxCode

The id of the shipment method.

The shortcut dimension 1 code of the order.

The shortcut dimension 1 code of the order.

If true, will update the sales order if found. Requires a find method to be set.