---
id: object/page/400
type: object
title: Page 400 "Purchase Invoice Statistics"
summary: Page 400 "Purchase Invoice Statistics" in Base Application (Microsoft.Purchases.History). 4 events. 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: 5ca7c8559edc608c230a1b17255c4de17f33dd3fcef2961da66cf96ffd0e5dc2
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/History/PurchaseInvoiceStatistics.Page.al
    title: src/Layers/W1/BaseApp/Purchases/History/PurchaseInvoiceStatistics.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/be
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 400
name: Purchase Invoice Statistics
namespace: Microsoft.Purchases.History
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:
  - be
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 5
  events: 4
  subscribers: 0
  controls: 13
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 3
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 400 "Purchase Invoice Statistics"

> Page 400 "Purchase Invoice Statistics" in Base Application (Microsoft.Purchases.History). 4 events. Present since at least BC23, still in BC30.

Base Application · Microsoft.Purchases.History · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/History/PurchaseInvoiceStatistics.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Purchase Invoice Statistics |
| SourceTable | Purch. Inv. Header |
| PageType | ListPlus |

## 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 | `VendAmount + InvDiscAmount` | Specifies the net amount of all the lines in the purchase document. |
|  | Inv. Discount Amount | `InvDiscAmount` | Specifies the invoice discount amount for the purchase document. |
|  | Total | `VendAmount` | Specifies the total amount, less any invoice discount amount, and excluding VAT for the purchase document. |
|  | VAT Amount | `VATAmount` | Specifies the total VAT amount that has been calculated for all the lines in the purchase document. |
|  | Total Incl. VAT | `AmountInclVAT` | Specifies the total amount, including VAT, that will be posted to the vendor's account for all the lines in the purchase document. |
|  | Purchase (LCY) | `AmountLCY` | Specifies your total purchases. |
|  | Quantity | `LineQty` | Specifies the total quantity of G/L account entries, items and/or resources in the purchase document. |
|  | Parcels | `TotalParcels` | Specifies the total number of parcels in the purchase document. |
|  | Net Weight | `TotalNetWeight` | Specifies the total net weight of the items in the purchase document. |
|  | Gross Weight | `TotalGrossWeight` | Specifies the total gross weight of the items in the purchase document. |
|  | Volume | `TotalVolume` | Specifies the total volume of the items in the purchase document. |
| Content | SubForm | part [Page 576 "VAT Specification Subform"](../page/576.md) | — |
| Vendor | Balance (LCY) | `Vend."Balance (LCY)"` | Specifies the balance in LCY on the vendor's account. |

## Events published

- `OnBeforeCalculateTotals(PurchInvHeader: Record "Purch. Inv. Header"; var VendAmount: Decimal; var AmountInclVAT: Decimal; var InvDiscAmount: Decimal; var LineQty: Decimal; var TotalNetWeight: Decimal; var TotalGrossWeight: Decimal; var TotalVolume: Decimal; var TotalParcels: Decimal; var IsHandled: Boolean)` (integration)
- `OnCalculateTotalsOnAfterAddLineTotals(var PurchInvLine: Record "Purch. Inv. Line"; var VendAmount: Decimal; var AmountInclVAT: Decimal; var InvDiscAmount: Decimal; var LineQty: Decimal; var TotalNetWeight: Decimal; var TotalGrossWeight: Decimal; var TotalVolume: Decimal; var TotalParcels: Decimal; var VATPercentage: Decimal; PurchInvHeader: Record "Purch. Inv. Header")` (integration)
- `OnAfterCalculateTotals(PurchInvHeader: Record "Purch. Inv. Header"; var VendAmount: Decimal; var AmountInclVAT: Decimal; var InvDiscAmount: Decimal; var LineQty: Decimal; var TotalNetWeight: Decimal; var TotalGrossWeight: Decimal; var TotalVolume: Decimal; var TotalParcels: Decimal)` (integration)
- `OnOnAfterGetRecordOnBeforeUpdateSubForm(var PurchInvHeader: Record "Purch. Inv. Header")` (integration)

## Procedures

1 local procedures, no public ones.

## Triggers

OnAfterGetRecord

## Relations

- source table [Table 122 "Purch. Inv. Header"](../table/122.md)

## Extended by

- [Page extension 20284 "Posted Purch. Inv. Stats Ext"](../pageextension/20284.md)
- [Page extension 6220 "Sust. Purch. Invoice Stats."](../pageextension/6220.md)
- [Page extension 6791 "WHT Purch. Invoice Statistics"](../pageextension/6791.md)

## Across versions

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

## Countries that replace it

[BE](../../localizations/be.md)

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