---
id: object/page/10009-mx
type: object
title: Page 10009 "Customer Order Header Status" (MX)
summary: Page 10009 "Customer Order Header Status" (MX) in the MX country layer (Microsoft.Sales.Document). 7 public procedures, 2 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - mx layer
versions:
  introduced: "29"
  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: 3742e597275b47e03860147ed5d3cc5db5ac28236d09929821c24002740d9b8c
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/NA/BaseApp/Local/Sales/Document/CustomerOrderHeaderStatus.Page.al
    title: src/Layers/NA/BaseApp/Local/Sales/Document/CustomerOrderHeaderStatus.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/mx
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 10009
name: Customer Order Header Status
namespace: Microsoft.Sales.Document
app: Base Application
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: MX
counts:
  fields: 0
  procedures: 10
  events: 2
  subscribers: 0
  controls: 20
  actions: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Page 10009 "Customer Order Header Status" (MX)

> Page 10009 "Customer Order Header Status" (MX) in the MX country layer (Microsoft.Sales.Document). 7 public procedures, 2 events. Introduced in BC29, still in BC30.

MX country layer · Microsoft.Sales.Document · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/NA/BaseApp/Local/Sales/Document/CustomerOrderHeaderStatus.Page.al) · facts from BC29

An object of the [MX localization](../../localizations/mx.md), not part of W1.

## Properties

| Property | Value |
|---|---|
| Caption | Customer Order Header Status |
| SourceTable | Sales Header |
| PageType | List |

## 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 |
|---|---|---|---|
| Control1 | Document Type | `Rec."Document Type"` | Specifies the type of the document. |
|  | No. | `Rec."No."` | Specifies the number of the record. |
|  | Your Reference | `Rec."Your Reference"` | Specifies the customer's reference. The content will be printed on sales documents. |
|  | Order Date | `Rec."Order Date"` | Specifies the date on which the related sales order was created. |
|  | Last Shipment Date | `LastShipmentDate` | Specifies the date when the order was last posted as shipped. |
|  | Requested Delivery Date | `Rec."Requested Delivery Date"` | Specifies the requested delivery date for the customer order. |
|  | Promised Delivery Date | `Rec."Promised Delivery Date"` | Specifies the promised delivery date for the customer order. |
|  | Next Shipment Date | `Rec."Shipment Date"` | Specifies the next data a shipment is planned for the order. |
|  | Shipping Time | `Rec."Shipping Time"` | Specifies the shipping time for the order. This is the time it takes from when the order is shipped from the warehouse, to when the order is delivered to the customer's address. |
|  | Completely Shipped | `Rec."Completely Shipped"` | Specifies whether all the items on the order have been shipped or, in the case of inbound items, completely received. |
|  | Last Invoice Date | `LastInvoiceDate` | Specifies the date when the order was last posted as invoiced. |
|  | Open Amount | `Rec."Outstanding Amount ($)"` | Specifies the outstanding amount that is calculated, based on the Sales Line table and the Outstanding Amount (LCY) field. |
|  | Status | `Rec.Status` | Specifies the status of the document. |
|  | On Hold | `Rec."On Hold"` | Specifies if the document was put on hold when it was posted, for example because payment of the resulting customer ledger entries is overdue. |
| Control20 | Total Open Amount On Hold | `TotalOpenAmountOnHold` | Specifies the total amount on open documents that are on hold. |
|  | Total Open Amount | `TotalOpenAmount` | Specifies the total amount on open documents. |
| FactBoxes | Control1900316107 | part [Page 9084 "Customer Details FactBox"](../page/9084.md) | — |
|  | Control1904036807 | part Order Lines Status Factbox | — |
|  | Control1904036507 | part Customer Credit FactBox | — |
|  | Control1902018507 | part [Page 9082 "Customer Statistics FactBox"](../page/9082.md) | — |

## Events published

- `OnBeforeOnAfterGetRecord(var SalesHeader: Record "Sales Header")` (integration)
- `OnUpdateTotalOnBeforeSalesHeaderCalcOutstandingAmount(var SalesHeader: Record "Sales Header")` (integration)

## Procedures

- `OnCreditManagementForm(SetOnCreditManagementForm: Boolean)`
- `UpdateTotal()`
- `GetLastShipmentInvoice()`
- `GetLastShipment(): Boolean`
- `GetLastInvoice(): Boolean`
- `GetLastRetReceipt(): Boolean`
- `GetLastCrMemo(): Boolean`

Plus 1 local procedures.

## Triggers

OnAfterGetRecord, OnInit, OnModifyRecord, OnNewRecord, OnOpenPage

## Across versions

- Present in: BC29-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). 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: "Customer Order Header Status")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

A MX country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
