Dynamics 365 Business Central / Create or Update Sales Order
appKey:
dynamics365-business-central
actionKey:
create-or-update-sales-order
Action Inputs
The following parameters are available when configuring this action:
customerFindMethod
Customer Find Method
The method to use to find the customer. Accepted values are:
filter | select
'filter' | 'select'
environment
Environment
The environment to connect to.
The environment to connect to. E.g.,
Production
.string
customerFilter
Search by
Required if the customer find method is
filter
. The filter to search by. Accepted values are: - number
- phoneNumber
- searchName
string | undefined
customerFilterValue
Search value
Required if the
customerFindMethod
is filter
. The filter value to search by.string | undefined
salesOrderFilter
Search by
Required if the sales order find method is
filter
. The filter to search by. Accepted values are: - number
- externalDocumentNumber
string | undefined
salesOrderFilterValue
Search value
Required if the
salesOrderFindMethod
is filter
. The filter value to search by.string | undefined
salesOrderFindMethod
Sales Order Find Method
The method to use to find the sales order. Accepted values are:
filter | select
('filter' | 'select') | undefined
salesOrderLines
Sales Order Lines
| (| string| Array<{discountAmount?: stringdiscountPercent?: stringitemId?: stringitemVariantId?: stringlocationId?: stringquantity?: stringshipmentDate?: stringshipQuantity?: stringtaxCode?: stringunitPrice?: string}>)| undefined
shortcutDimension1Code
Shortcut Dimension 1 Code
The shortcut dimension 1 code of the order.
string | undefined
shortcutDimension2Code
Shortcut Dimension 2 Code
The shortcut dimension 1 code of the order.
string | undefined
updateExistingSalesOrder
Update Existing Sales Order
Select to configure how to find and update a sales order.
If true, will update the sales order if found. Requires a find method to be set.
boolean | undefined