Dynamics 365 Business CentralDynamics 365 Business Central / Create or Update Sales Order Line

appKey: dynamics365-business-central
actionKey: create-or-update-sales-order-line

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
environment
Environment
The environment to connect to.
The environment to connect to. E.g., Production.
string
discountAmount
Discount Amount
Note: this will be ignored if <b>Discount Percent</b> is set.
The discount amount to apply to the sales order line. If discountPercent is set, this will be ignored.
string | undefined
discountPercent
Discount Percent
Note: this will be ignored if <b>Discount Amount</b> is set.
The discount percent to apply to the sales order line. If this is set, the discountAmount will be ignored.
string | undefined
itemFilter
Search by
Required if the item find method is filter. The filter to search by. Accepted values are:
- number
- displayName
string | undefined
itemFilterValue
Search value
Required if the itemFindMethod is filter. The filter value to search by.
string | undefined
itemFindMethod
Item Find Method
The method to use to find the item. Accepted values are: filter | select
('filter' | 'select') | undefined
itemId
Item Id
The id of the item to update.
string | undefined
quantity
Quantity
The quantity of the item to add to the sales order line.
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
salesOrderLineId
Sales Order Line Id
The id of the sales order to update.
string | undefined
shipmentDate
Shipment Date
The shipment date of the item to add to the sales order line.
string | undefined
shipQuantity
Ship Quantity
The quantity to ship of the item to add to the sales order line.
string | undefined
taxCode
Tax Code
The tax code of the item to add to the sales order line.
string | undefined
unitPrice
Unit Price
The unit price of the item to add to the sales order line.
string | undefined
updateExistingSalesOrderLine
Update Existing Sales Order Line
Select to configure how to find and update a sales order line.
If true, will update the sales order line if found. Requires a find method to be set.
boolean | undefined