---
id: object/page/10039-us
type: object
title: Page 10039 "Purchase Order Stats." (US)
summary: Page 10039 "Purchase Order Stats." (US) in the US country layer (Microsoft.Purchases.Document). 1 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - us 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: e5a39e23250e89fc79587f41cfa8a48614c7453bd228f35ca2586615701ccddf
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/NA/BaseApp/Local/Purchases/Document/PurchaseOrderStats.Page.al
    title: src/Layers/NA/BaseApp/Local/Purchases/Document/PurchaseOrderStats.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/us
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 10039
name: Purchase Order Stats.
caption: Purchase Order Statistics
namespace: Microsoft.Purchases.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: US
counts:
  fields: 0
  procedures: 12
  events: 0
  subscribers: 0
  controls: 61
  actions: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Page 10039 "Purchase Order Stats." (US)

> Page 10039 "Purchase Order Stats." (US) in the US country layer (Microsoft.Purchases.Document). 1 public procedures. Introduced in BC29, still in BC30.

US country layer · Microsoft.Purchases.Document · captioned "Purchase Order Statistics" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/NA/BaseApp/Local/Purchases/Document/PurchaseOrderStats.Page.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| Caption | Purchase Order Statistics |
| SourceTable | Purchase Header |
| PageType | Card |

## 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 | Amount | `TotalPurchLine[1]."Line Amount"` | Specifies the net amount of all the lines on the purchase document. |
|  | Inv. Discount Amount | `TotalPurchLine[1]."Inv. Discount Amount"` | Specifies the invoice discount amount for the entire purchase order. |
|  | Total | `TotalAmount1[1]` | Specifies the total amount less any invoice discount amount (excluding tax) for the purchase document. |
|  | Tax Amount | `VATAmount[1]` | Specifies the total tax amount that has been calculated for all the lines in the purchase order. |
|  | Total Incl. Tax | `TotalAmount2[1]` | Specifies the total amount, including taxes. |
|  | Purchase ($) | `TotalPurchLineLCY[1].Amount` | Specifies the amount of the purchase order in dollars. |
|  | Quantity | `TotalPurchLine[1].Quantity` | Specifies the total quantity of G/L account entries, fixed assets, and/or items in the purchase order. |
|  | Parcels | `TotalPurchLine[1]."Units per Parcel"` | Specifies the number of parcels on the document. |
|  | Net Weight | `TotalPurchLine[1]."Net Weight"` | Specifies the total net weight of the items in the purchase order. |
|  | Gross Weight | `TotalPurchLine[1]."Gross Weight"` | Specifies the gross weight of items in the purchase order. |
|  | Volume | `TotalPurchLine[1]."Unit Volume"` | Specifies the total volume of the items in the purchase order. |
|  | BreakdownTitle | label | — |
|  | BreakdownAmt[1,1] | `BreakdownAmt[1, 1]` | — |
|  | BreakdownAmt | `BreakdownAmt[1, 2]` | — |
|  | BreakdownAmt | `BreakdownAmt[1, 3]` | — |
|  | BreakdownAmt | `BreakdownAmt[1, 4]` | — |
|  | No. of Tax Lines | `TempSalesTaxLine1.Count` | Specifies the number of sales tax lines on the purchase order. |
| Invoicing | Amount | `TotalPurchLine[2]."Line Amount"` | Specifies the net amount of all the lines on the purchase document. |
|  | Inv. Discount Amount | `TotalPurchLine[2]."Inv. Discount Amount"` | Specifies the invoice discount amount for the entire purchase document. |
|  | Total | `TotalAmount1[2]` | Specifies the total amount less any invoice discount amount (excluding tax) for the purchase document. |
|  | Tax Amount | `VATAmount[2]` | Specifies the total tax amount that has been calculated from all the lines in the purchase document. |
|  | Total Incl. Tax | `TotalAmount2[2]` | Specifies the total amount, including taxes. |
|  | Purchase ($) | `TotalPurchLineLCY[2].Amount` | Specifies the amount of the purchase order in dollars. |
|  | Quantity | `TotalPurchLine[2].Quantity` | Specifies the total quantity of G/L account entries, fixed assets, and/or items in the purchase order. |
|  | Parcels | `TotalPurchLine[2]."Units per Parcel"` | Specifies the number of parcels on the document. |
|  | Net Weight | `TotalPurchLine[2]."Net Weight"` | Specifies the total net weight of the items in the purchase order. |
|  | Gross Weight | `TotalPurchLine[2]."Gross Weight"` | Specifies the gross weight of items in the purchase order. |
|  | Volume | `TotalPurchLine[2]."Unit Volume"` | Specifies the total number of parcels on the document. |
|  | BreakdownTitle2 | label | — |
|  | BreakdownAmt | `BreakdownAmt[2, 1]` | — |
|  | BreakdownAmt | `BreakdownAmt[2, 2]` | — |
|  | BreakdownAmt | `BreakdownAmt[2, 3]` | — |
|  | BreakdownAmt | `BreakdownAmt[2, 4]` | — |
|  | No. of Tax Lines | `TempSalesTaxLine2.Count` | Specifies the number of sales tax lines on the purchase order. |
| Shipping | Amount | `TotalPurchLine[3]."Line Amount"` | Specifies the net amount of all the lines on the purchase document. |
|  | Inv. Discount Amount | `TotalPurchLine[3]."Inv. Discount Amount"` | Specifies the invoice discount amount for the entire purchase document. |
|  | Total | `TotalAmount1[3]` | Specifies the total amount less any invoice discount amount (excluding tax) for the purchase document. |
|  | Tax Amount | `VATAmount[3]` | Specifies the total tax amount that has been calculated from all the lines in the purchase document. |
|  | Total Incl. Tax | `TotalAmount2[3]` | Specifies the total amount, including taxes. |
|  | Purchase ($) | `TotalPurchLineLCY[3].Amount` | Specifies the amount of the purchase order in dollars. |
|  | Quantity | `TotalPurchLine[3].Quantity` | Specifies the total quantity of G/L account entries, fixed assets, and/or items in the purchase order. |
|  | Parcels | `TotalPurchLine[3]."Units per Parcel"` | Specifies the number of parcels on the document. |
|  | Net Weight | `TotalPurchLine[3]."Net Weight"` | Specifies the total net weight of the items in the purchase order. |
|  | Gross Weight | `TotalPurchLine[3]."Gross Weight"` | Specifies the gross weight of items in the purchase order. |
|  | Volume | `TotalPurchLine[3]."Unit Volume"` | Specifies the total number of parcels on the document. |
|  | BreakdownTitle3 | label | — |
|  | BreakdownAmt | `BreakdownAmt[3, 1]` | — |
|  | BreakdownAmt | `BreakdownAmt[3, 2]` | — |
|  | BreakdownAmt | `BreakdownAmt[3, 3]` | — |
|  | BreakdownAmt | `BreakdownAmt[3, 4]` | — |
|  | No. of Tax Lines | `TempSalesTaxLine3.Count` | Specifies the number of sales tax lines on the purchase order. |
| Prepayment | PrepmtTotalAmount | `PrepmtTotalAmount` | — |
|  | Prepayment Amount Invoiced | `PrepmtVATAmount` | Specifies the total prepayment amount that has been invoiced for the purchase order. |
|  | Prepmt. Amount Invoiced | `PrepmtTotalAmount2` | Specifies the total prepayment amount that has been invoiced for the purchase order. |
|  | TotalPurchLine[1].""Prepmt. Amt. Inv."" | `TotalPurchLine[1]."Prepmt. Amt. Inv."` | — |
|  | Invoiced % of Prepayment Amt. | `PrepmtInvPct` | Specifies the Invoiced Percentage of Prepayment Amt. |
|  | TotalPurchLine[1].""Prepmt Amt Deducted"" | `TotalPurchLine[1]."Prepmt Amt Deducted"` | — |
|  | Deducted % of Prepayment Amt. to Deduct | `PrepmtDeductedPct` | Specifies the Deducted Percentage of Prepayment Amt. to Deduct. |
|  | TotalPurchLine[1].""Prepmt Amt to Deduct"" | `TotalPurchLine[1]."Prepmt Amt to Deduct"` | — |
|  | No. of Tax Lines | `TempVATAmountLine4.Count` | Specifies the number of sales tax lines on the purchase order. |
| Vendor | Balance (LCY) | `Vend."Balance (LCY)"` | Specifies the balance in local currency. |

## Procedures

- `VATLinesDrillDown(var VATLinesToDrillDown: Record "Sales Tax Amount Line"; ThisTabAllowsVATEditing: Boolean; ActiveTab: Option General,Invoicing,Shipping,Prepayment)`

Plus 11 local procedures.

## Triggers

OnAfterGetRecord, OnOpenPage, OnClosePage, OnQueryClosePage

## 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: "Purchase Order Stats.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

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