Microsoft Dynamics NAV · Schema
Sales Order
Represents a sales order entity in Dynamics 365 Business Central. Sales orders are documents used to record the sale of goods or services to customers. They include header information (customer, dates, payment terms) and line items specifying the products or services being sold.
Business ManagementDynamics NAVERPFinanceInventoryMicrosoftNavision
Properties
| Name | Type | Description |
|---|---|---|
| @odata.etag | string | ETag for optimistic concurrency control |
| id | string | The unique identifier (GUID) of the sales order |
| number | string | The sales order number assigned from a number series |
| externalDocumentNumber | string | An external reference number (e.g., a customer PO number) |
| orderDate | string | The date when the sales order was created |
| postingDate | string | The date used for posting the sales order to the general ledger |
| customerId | string | The unique identifier of the sell-to customer |
| customerNumber | string | The customer number of the sell-to customer |
| customerName | string | The name of the sell-to customer |
| billToName | string | The name of the bill-to party |
| billToCustomerId | string | The unique identifier of the bill-to customer |
| billToCustomerNumber | string | The customer number of the bill-to customer |
| shipToName | string | The name for the ship-to address |
| shipToContact | string | The contact person at the ship-to address |
| sellToAddressLine1 | string | First line of the sell-to address |
| sellToAddressLine2 | string | Second line of the sell-to address |
| sellToCity | string | The city of the sell-to address |
| sellToCountry | string | The country/region code of the sell-to address |
| sellToState | string | The state or province code of the sell-to address |
| sellToPostCode | string | The postal code of the sell-to address |
| currencyId | string | The unique identifier of the currency |
| currencyCode | string | The currency code (e.g., USD, EUR) for the sales order |
| pricesIncludeTax | boolean | Indicates whether the prices on the order include tax |
| paymentTermsId | string | The unique identifier of the payment terms |
| shipmentMethodId | string | The unique identifier of the shipment method |
| salesperson | string | The salesperson code assigned to the order |
| requestedDeliveryDate | string | The date the customer has requested delivery |
| discountAmount | number | The total invoice discount amount applied to the order |
| discountAppliedBeforeTax | boolean | Indicates whether discounts are applied before tax calculation |
| totalAmountExcludingTax | number | The total amount of the order excluding tax (read-only) |
| totalTaxAmount | number | The total tax amount on the order (read-only) |
| totalAmountIncludingTax | number | The total amount of the order including tax (read-only) |
| fullyShipped | boolean | Indicates whether all lines on the order have been fully shipped (read-only) |
| status | string | The current status of the sales order (read-only) |
| lastModifiedDateTime | string | The date and time the sales order was last modified (read-only) |
| phoneNumber | string | The phone number associated with the order |
| string | The email address associated with the order | |
| salesOrderLines | array | The line items on the sales order |