pagePurchasing & Payablesofficial - Microsoftderived - from the source, no model text

Page 161 "Purchase Statistics"

Base Application · Microsoft.Purchases.Document

Across versions

  1. BC23-25present
  2. BC26declaration changed
  3. BC27-30unchanged

Neighbourhood 7 connected objects and pages

Table 38 "Purchase Header" (relates to)Purchase HeaderPage extension 20288 "Purch Credit Memo Stat Ext" (extended by)Purch Credit Memo Stat ExtPage extension 6218 "Sust. Purch. Statistics" (extended by)Sust. Purch. StatisticsCodeunit 90 "Purch.-Post" (calls, 2 links)Purch.-PostCodeunit 66 "Purch - Calc Disc. By Type" (calls)Purch - Calc Disc. By TypeOverview of tasks to manage accounts payable (Learn pages)Overview of tasks to manage …Use non-deductible VAT (Learn pages)Use non-deductible VAT

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Purchases.Document · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Caption Purchase Statistics
SourceTable Purchase 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 TotalPurchLine."Line Amount" Specifies the net amount of all the lines in the purchase document.
Inv. Discount Amount TotalPurchLine."Inv. Discount Amount" Specifies the invoice discount amount for the purchase document.
Total TotalAmount1 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 TotalAmount2 Specifies the total amount including VAT that will be posted to the vendor’s account for all the lines in the purchase document. This is the amount that you owe the vendor based on this purchase document. If the document is a credit memo, it is the amount that the vendor owes you.
Purchase (LCY) TotalPurchLineLCY.Amount Specifies your total purchases. It is calculated from amounts excluding VAT on all completed and open purchase invoices and credit memos.
Quantity TotalPurchLine.Quantity Specifies the total quantity of G/L account entries, items, and/or resources in the purchase document.
Parcels TotalPurchLine."Units per Parcel" Specifies the total number of parcels in the purchase document.
Net Weight TotalPurchLine."Net Weight" Specifies the total net weight of the items in the purchase document.
Gross Weight TotalPurchLine."Gross Weight" Specifies the total gross weight of the items in the purchase document.
Volume TotalPurchLine."Unit Volume" Specifies the total volume of the items in the purchase document.
Content SubForm part Page 576 “VAT Specification Subform” —
Vendor Balance (LCY) Vend."Balance (LCY)" Specifies the balance on the vendor’s account.

Events published

  • OnAfterCalculateTotals(var PurchHeader: Record "Purchase Header"; var TotalPurchLine: Record "Purchase Line"; var TotalPurchLineLCY: Record "Purchase Line"; var TempVATAmountLine: Record "VAT Amount Line" temporary; var TotalAmt1: Decimal; var TotalAmt2: Decimal) (integration)
  • OnAfterUpdateHeaderInfo() (integration)
  • OnCalculateTotalsOnAfterPurchPostSumPurchLinesTemp(var PurchHeader: Record "Purchase Header"; var TempPurchLine: Record "Purchase Line"; var AllowVATDifference: Boolean; var TotalAmount1: Decimal; var TotalAmount2: Decimal; var VATAmount: Decimal; var PurchaseLineTotal: Record "Purchase Line"; var PurchaseLineTotalLCY: Record "Purchase Line") (integration)
  • OnOpenPageOnBeforeSetEditable(var AllowInvDisc: Boolean; var AllowVATDifference: Boolean; PurchaseHeader: Record "Purchase Header"; var PurchSetup: Record "Purchases & Payables Setup") (integration)

Procedures

  • UpdateTotalAmount() (protected)
  • UpdateInvDiscAmount() (protected)
  • GetCaptionClass(FieldCaption: Text[100]; ReverseCaption: Boolean): Text[80] (protected)
  • UpdateVATOnPurchLines()

Plus 6 local procedures.

Triggers

OnAfterGetRecord, OnOpenPage, OnClosePage, OnQueryClosePage

Relations

Extended by

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.

Countries that replace it

AU, BE, NZ

Documented on Microsoft Learn

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

Evidence 3 sources