{"title":"Page 151 Customer Statistics, extension points 29","url":"https://jonas-paprotka.de/ref/page/151-customer-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":151,"name":"Customer Statistics","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/151-customer-statistics/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/151-customer-statistics/source/","path":"src/Layers/W1/BaseApp/Sales/Customer/CustomerStatistics.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:21":{"name":"Cust. Ledger Entry","url":"https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/"},"codeunit:358":{"name":"DateFilter-Calc","url":"https://jonas-paprotka.de/ref/codeunit/358-datefilter-calc/"},"codeunit:5836":{"name":"Cost Calculation Management","url":"https://jonas-paprotka.de/ref/codeunit/5836-cost-calculation-management/"}},"procs":[{"name":"Balance (LCY).OnDrillDown","line":39,"kind":"trigger","steps":[[48,"ext","table",21,"DrillDownOnEntries",1]]},{"name":"DaysSinceLastSale.OnDrillDown","line":72,"kind":"trigger","steps":[[76,"call","FilterCustLedgEntryToLastSale",1]]},{"name":"Balance Due (LCY).OnDrillDown","line":103,"kind":"trigger","steps":[[112,"ext","table",21,"DrillDownOnOverdueEntries",1]]},{"name":"Placeholder2.OnAfterGetRecord","line":845,"kind":"trigger","steps":[[851,"ext","codeunit",358,"CreateAccountingPeriodFilter",4],[852,"ext","codeunit",358,"CreateFiscalYearFilter",4],[853,"ext","codeunit",358,"CreateFiscalYearFilter",4],[856,"call","SetDateFilter",0],[868,"ext","codeunit",5836,"CalcCustActualCostLCY",1],[868,"ext","codeunit",5836,"NonInvtblCostAmt",1],[890,"call","CalcNumberOfSalesInvoices",1],[891,"call","CalcNumberOfDistinctItemsSold",1]]},{"name":"SetDateFilter","line":930,"kind":"procedure","access":"local","params":0,"steps":[[934,"event","OnAfterSetDateFilter",0]]},{"name":"CalcDaysSinceLastSale","line":937,"kind":"procedure","access":"local","params":0,"steps":[[941,"call","FilterCustLedgEntryToLastSale",1]]}]}