---
id: object/page/5380
type: object
title: Page 5380 "CRM Sales Order"
summary: Page 5380 "CRM Sales Order" in Base Application (Microsoft.Integration.D365Sales). Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 9a57b2345146721cebd7c795166f19b5779cccbb56725496643da48fad3247a9
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/D365Sales/CRMSalesOrder.Page.al
    title: src/Layers/W1/BaseApp/Integration/D365Sales/CRMSalesOrder.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 5380
name: CRM Sales Order
caption: Sales Order - Microsoft Dynamics 365 Sales
namespace: Microsoft.Integration.D365Sales
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 2
  events: 0
  subscribers: 0
  controls: 46
  actions: 3
relations:
  out: 1
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Page 5380 "CRM Sales Order"

> Page 5380 "CRM Sales Order" in Base Application (Microsoft.Integration.D365Sales). Present since at least BC23, still in BC30.

Base Application · Microsoft.Integration.D365Sales · captioned "Sales Order - Microsoft Dynamics 365 Sales" · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/D365Sales/CRMSalesOrder.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Sales Order - Microsoft Dynamics 365 Sales |
| SourceTable | CRM Salesorder |
| PageType | Document |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| General | Order ID | [OrderNumber](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. |
|  | Name | [Name](../table/5353.md#fields) | Specifies the name of the record. <small>from the table field</small> |
|  | Account | `CRMAccountName` | Specifies the coupled Dynamics 365 Sales account. |
|  | Contact | `CRMContactName` | Specifies the contact person at the customer. |
|  | Date Fulfilled | [DateFulfilled](../table/5353.md#fields) | Specifies when the sales order was delivered. <small>from the table field</small> |
|  | Status | [StateCode](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. <small>from the table field</small> |
|  | Status Reason | [StatusCode](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. <small>from the table field</small> |
|  | Opportunity | [OpportunityIdName](../table/5353.md#fields) | Specifies the sales opportunity that is coupled to this Dynamics 365 Sales opportunity. <small>from the table field</small> |
|  | Quote | [QuoteIdName](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. |
| Content | Lines | part [Page 5381 "CRM Sales Order Subform"](../page/5381.md) | — |
| Invoicing | Payment Terms | [PaymentTermsCodeEnum](../table/5353.md#fields) | Specifies the payment terms that you select from on customer cards to define when the customer must pay, such as within 14 days. <small>from the table field</small> |
|  | Price List | [PriceLevelIdName](../table/5353.md#fields) | Specifies a list of your items and their prices, for example, to send to customers. You can create the list for specific customers, campaigns, currencies, or other criteria. <small>from the table field</small> |
|  | Prices Locked | [IsPriceLocked](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. |
|  | Total Amount | [TotalAmount](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. |
|  | Total Detail Amount | [TotalLineItemAmount](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. |
|  | Total Pre-Freight Amount | [TotalAmountLessFreight](../table/5353.md#fields) | Specifies data from a corresponding field in a Dynamics 365 Sales entity. |
|  | Total Discount Amount | [TotalDiscountAmount](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. |
|  | Total Tax | [TotalTax](../table/5353.md#fields) | Specifies the sum of TAX amounts on all lines in the document. <small>from the table field</small> |
|  | Currency | [TransactionCurrencyIdName](../table/5353.md#fields) | Specifies the currency that amounts are shown in. <small>from the table field</small> |
|  | Order Discount Amount | [DiscountAmount](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. |
|  | Order Discount (%) | [DiscountPercentage](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. |
|  | Bill To Name | [BillTo_Name](../table/5353.md#fields) | Specifies the name at the address that the invoice will be sent to. <small>from the table field</small> |
|  | Bill To Contact Name | [BillTo_ContactName](../table/5353.md#fields) | Specifies the contact person at the address that the invoice will be sent to. <small>from the table field</small> |
|  | Bill To Street 1 | [BillTo_Line1](../table/5353.md#fields) | Specifies the street of the address that the invoice will be sent to. <small>from the table field</small> |
|  | Bill To Street 2 | [BillTo_Line2](../table/5353.md#fields) | Specifies the additional street information of the address that the invoice will be sent to. <small>from the table field</small> |
|  | Bill To Street 3 | [BillTo_Line3](../table/5353.md#fields) | Specifies the additional street information of the address that the invoice will be sent to. <small>from the table field</small> |
|  | Bill To City | [BillTo_City](../table/5353.md#fields) | Specifies the city of the address that the invoice will be sent to. <small>from the table field</small> |
|  | Bill To State/Province | [BillTo_StateOrProvince](../table/5353.md#fields) | Specifies the state/province of the address that the invoice will be sent to. <small>from the table field</small> |
|  | Bill To Country/Region | [BillTo_Country](../table/5353.md#fields) | Specifies the country/region of the address that the invoice will be sent to. <small>from the table field</small> |
|  | Bill To ZIP/Postal Code | [BillTo_PostalCode](../table/5353.md#fields) | Specifies the ZIP/postal code of the address that the invoice will be sent to. <small>from the table field</small> |
|  | Bill To Phone | [BillTo_Telephone](../table/5353.md#fields) | Specifies the phone number at the address that the invoice will be sent to. <small>from the table field</small> |
|  | Bill To Fax | [BillTo_Fax](../table/5353.md#fields) | Specifies the fax number at the address that the invoice will be sent to. <small>from the table field</small> |
| Shipping | Requested Delivery Date | [RequestDeliveryBy](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. |
|  | Shipping Method | [ShippingMethodCodeEnum](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. |
|  | Freight Terms | [FreightTermsCodeEnum](../table/5353.md#fields) | Specifies the shipment method. <small>from the table field</small> |
|  | Ship To Name | [ShipTo_Name](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. |
|  | Ship To Street 1 | [ShipTo_Line1](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. |
|  | Ship To Street 2 | [ShipTo_Line2](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. <small>from the table field</small> |
|  | Ship To Street 3 | [ShipTo_Line3](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. <small>from the table field</small> |
|  | Ship To City | [ShipTo_City](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. <small>from the table field</small> |
|  | Ship To State/Province | [ShipTo_StateOrProvince](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. <small>from the table field</small> |
|  | Ship To Country/Region | [ShipTo_Country](../table/5353.md#fields) | Specifies the country/region of the address. <small>from the table field</small> |
|  | Ship To ZIP/Postal Code | [ShipTo_PostalCode](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. <small>from the table field</small> |
|  | Ship To Phone | [ShipTo_Telephone](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. <small>from the table field</small> |
|  | Ship to Fax | [ShipTo_Fax](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. <small>from the table field</small> |
|  | Ship To Freight Terms | [ShipTo_FreightTermsCode](../table/5353.md#fields) | Specifies information related to the Dynamics 365 Sales connection. <small>from the table field</small> |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Dynamics 365 Sales | Sales Order | Open the coupled Dynamics 365 Sales sales order. |  |
| Business Central | Sales Order | Open the coupled Dynamics 365 Sales sales order. |  |
|  | Create in Business Central | Create a sales order in Dynamics 365 that is coupled to the Dynamics 365 Sales entity. |  |

## Procedures

2 local procedures, no public ones.

## Triggers

OnAfterGetCurrRecord, OnOpenPage

## Relations

- source table [Table 5353 "CRM Salesorder"](../table/5353.md)

## Pages and codeunits on this table

- [Page 5353 "CRM Sales Order List"](../page/5353.md) (card page)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 5343 "CRM Sales Order to Sales Order"](../codeunit/5343.md) (3 calls: `RecalculateRecordCouplingStatus → CRMIsCoupledToValidRecord`, `SetCRMAccountAndContactName → GetCRMAccountOfCRMSalesOrder`, `SetCRMAccountAndContactName → GetCRMContactOfCRMSalesOrder`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "CRM Sales Order")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
