capabilities.work

Business Central Create a Sales Order for a Customer

A 3-step recipe with Microsoft Dynamics NAV. We can help you get access.

Recipe · 3 steps

Business Central Create a Sales Order for a Customer

with Microsoft Dynamics NAV · Customer Data Management

Resolve a customer, create a sales order for them, and read the order lines.

  1. Resolve the customer by number to obtain the id required to bind the sales order, returning at most one match.
  2. Create a sales order header bound to the resolved customer id.
  3. Read the line collection of the newly created sales order to confirm the document is in place.
What you'll need to have ready
  • companyId: The UUID of the Business Central company.
  • customerNumber: The number of the customer the sales order is for.
  • externalDocumentNumber: An external reference number for the order.
  • orderDate: The order date (YYYY-MM-DD).
  • currencyCode: The currency code for the order.
  • requestedDeliveryDate: The requested delivery date (YYYY-MM-DD).
For your developer

Arazzo workflow navision:create-sales-order-for-customer, 3 operations: listCustomers → createSalesOrder → listSalesOrderLines. Specs on APIs.io.