Dynamics 365 Business CentralDynamics 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:
companyId
Company Id
The company to connect to.
The id of the company to connect to.
string
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
currencyCode
Currency Code
The currency code of the order.
string | undefined
Required if the customer find method is filter. The filter to search by. Accepted values are:
- number
- email
- phoneNumber
- searchName
string | undefined
Required if the customerFindMethod is filter. The filter value to search by.
string | undefined
customerId
Customer Id
The id of the customer to update.
string | undefined
email
Email
An email to associate with the sales order.
string | undefined
externalDocumentNumber
External Document Number
The external document number.
string | undefined
fullyShipped
Fully Shipped
Whether the order is fully shipped.
boolean | undefined
orderDate
Order Date
The date the order was placed.
string | undefined
partialShipping
Partial Shipping
Whether partial shipping is allowed.
boolean | undefined
paymentTermsId
Payment terms
The id of the payment terms.
string | undefined
phoneNumber
Phone Number
A phone number to associate with the sales order.
string | undefined
postingDate
Posting Date
The date the order was posted.
string | undefined
pricesIncludeTax
Prices Include Tax
Whether the prices include tax.
boolean | undefined
requestedDeliveryDate
Requested Delivery Date
The requested delivery date.
string | undefined
Required if the sales order find method is filter. The filter to search by. Accepted values are:
- number
- externalDocumentNumber
string | undefined
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
salesOrderId
Sales Order Id
The id of the sales order to update.
string | undefined
salesOrderLines
Sales Order Lines
| (
| string
| Array<{
discountAmount?: string
discountPercent?: string
itemId?: string
itemVariantId?: string
locationId?: string
quantity?: string
shipmentDate?: string
shipQuantity?: string
taxCode?: string
unitPrice?: string
}>
)
| undefined
shipmentMethodId
Shipment method
The id of the shipment method.
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