{"title":"Report 712 Inventory - Sales Statistics, extension points 29","url":"https://jonas-paprotka.de/ref/report/712-inventory-sales-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":"report","id":712,"name":"Inventory - Sales Statistics","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/712-inventory-sales-statistics/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/712-inventory-sales-statistics/source/","path":"src/Layers/W1/BaseApp/Inventory/Reports/InventorySalesStatistics.Report.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":{},"procs":[{"name":"TotalCaption.OnAfterGetRecord","line":113,"kind":"trigger","steps":[[117,"call","SetFilters",0],[118,"call","Calculate",0]]},{"name":"OnPreReport","line":175,"kind":"trigger","steps":[[193,"event","OnPreReportOnAfterItemStatisticsBufferSetFilters",0]]},{"name":"Calculate","line":224,"kind":"procedure","access":"local","params":0,"steps":[[226,"call","CalcInvoicedQty",0],[227,"call","CalcSalesAmount",0],[228,"call","CalcCostAmount",0],[228,"call","CalcCostAmountNonInvnt",0],[231,"event","OnCalculateOnAfterCalcAmounts",0],[238,"call","CalcPerUnit",2],[239,"call","CalcPerUnit",2]]}]}