{"title":"Page 400 Purchase Invoice Statistics, extension points 29","url":"https://jonas-paprotka.de/ref/page/400-purchase-invoice-statistics/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"page","id":400,"name":"Purchase Invoice Statistics","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/400-purchase-invoice-statistics/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/400-purchase-invoice-statistics/source/","path":"src/Layers/W1/BaseApp/Purchases/History/PurchaseInvoiceStatistics.Page.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:4":{"name":"Currency","url":"https://jonas-paprotka.de/ref/table/4-currency/"},"table:330":{"name":"Currency Exchange Rate","url":"https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/"},"table:123":{"name":"Purch. Inv. Line","url":"https://jonas-paprotka.de/ref/table/123-purch-inv-line/"}},"procs":[{"name":"Vend..OnAfterGetRecord","line":142,"kind":"trigger","steps":[[148,"ext","table",4,"Initialize",1],[150,"call","CalculateTotals",0],[164,"ext","table",330,"ExchangeAmtFCYToLCY",4],[178,"ext","table",123,"CalcVATAmountLines",2],[179,"event","OnOnAfterGetRecordOnBeforeUpdateSubForm",0]]},{"name":"CalculateTotals","line":211,"kind":"procedure","access":"local","params":0,"steps":[[216,"event","OnBeforeCalculateTotals",1],[228,"ext","table",123,"GetVATPct",0],[239,"ext","table",123,"GetVATPct",0],[243,"event","OnCalculateTotalsOnAfterAddLineTotals",0],[248,"event","OnAfterCalculateTotals",0]]}]}