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

# Page 10043 "Purchase Stats." (CA)

> Page 10043 "Purchase Stats." (CA) in the CA country layer (Microsoft.Purchases.Document). 6 events. Introduced in BC29, still in BC30.

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

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

## Properties

| Property | Value |
|---|---|
| Caption | Purchase Statistics |
| SourceTable | Purchase Header |
| 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 | Amount | `TotalPurchLine."Line Amount"` | Specifies the transaction amount. |
|  | Inv. Discount Amount | `TotalPurchLine."Inv. Discount Amount"` | Specifies the invoice discount amount for the entire sales document. If the Calc. Inv. Discount field in the Purchases & Payables Setup window is selected, the discount is automatically calculated. |
|  | Total | `TotalAmount1` | Specifies the total amount less any invoice discount amount and exclusive of VAT for the posted document. |
|  | Tax Amount | `TaxAmount` | Specifies the tax amount. |
|  | Total Incl. Tax | `TotalAmount2` | Specifies the total amount, including tax, that has been posted as invoiced. |
|  | Purchase ($) | `TotalPurchLineLCY.Amount` | Specifies the purchase amount. |
|  | Quantity | `TotalPurchLine.Quantity` | Specifies the item quantity. |
|  | Parcels | `TotalPurchLine."Units per Parcel"` | Specifies the number of parcels on the document. |
|  | Net Weight | `TotalPurchLine."Net Weight"` | Specifies the net weight of items on the sales order. |
|  | Gross Weight | `TotalPurchLine."Gross Weight"` | Specifies the gross weight of items on the document. |
|  | Volume | `TotalPurchLine."Unit Volume"` | Specifies the volume of the invoiced items. |
|  | BreakdownTitle | label | — |
|  | BreakdownAmt[1] | `BreakdownAmt[1]` | — |
|  | BreakdownAmt[2] | `BreakdownAmt[2]` | — |
|  | BreakdownAmt[3] | `BreakdownAmt[3]` | — |
|  | BreakdownAmt[4] | `BreakdownAmt[4]` | — |
| Content | SubForm | part Sales Tax Lines Subform | — |
| Vendor | Balance ($) | `Vend."Balance (LCY)"` | Specifies the balance on the vendor's account. |

## Events published

- `OnBeforeQueryClosePage(var IsHandled: Boolean)` (integration)
- `OnBeforeDistTaxOverPurchLines(var PurchaseLine: Record "Purchase Line")` (integration)
- `OnAfterStartSalesTaxCalculation()` (integration)
- `OnAfterOnAfterGetRecord(var TotalAmount2: Decimal; var TaxAmount: Decimal)` (integration)
- `OnAfterUpdateTaxBreakdown(var TotalAmount2: Decimal; var TaxAmount: Decimal)` (integration)
- `OnAfterOnOpenPage(var AllowVATDifference: Boolean)` (integration)

## Procedures

10 local procedures, no public ones.

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

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