{"title":"Codeunit 1326 Top Five Customers Chart Mgt., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1326-top-five-customers-chart-mgt/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":"codeunit","id":1326,"name":"Top Five Customers Chart Mgt.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1326-top-five-customers-chart-mgt/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1326-top-five-customers-chart-mgt/source/","path":"src/Layers/W1/BaseApp/Sales/Customer/TopFiveCustomersChartMgt.Codeunit.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:485":{"name":"Business Chart Buffer","url":"https://jonas-paprotka.de/ref/table/485-business-chart-buffer/"},"codeunit:1328":{"name":"Top Customers By Sales Job","url":"https://jonas-paprotka.de/ref/codeunit/1328-top-customers-by-sales-job/"},"codeunit:1315":{"name":"Chart Management","url":"https://jonas-paprotka.de/ref/codeunit/1315-chart-management/"},"page:21":{"name":"Customer Card","url":"https://jonas-paprotka.de/ref/page/21-customer-card/"},"page:22":{"name":"Customer List","url":"https://jonas-paprotka.de/ref/page/22-customer-list/"}},"procs":[{"name":"UpdateChart","line":32,"kind":"procedure","params":1,"steps":[[39,"ext","table",485,"Initialize",0],[41,"ext","table",485,"AddDecimalMeasure",3],[42,"ext","table",485,"SetXAxis",2],[43,"call","CalcTopSalesCustomers",2],[47,"ext","table",485,"AddColumn",1],[48,"ext","table",485,"SetValueByIndex",3]]},{"name":"DrillDown","line":56,"kind":"procedure","params":1,"steps":[[60,"ext","table",485,"GetXValue",2],[64,"call","DrillDownCust",1],[66,"call","DrillDownOtherCustList",0]]},{"name":"CalcTopSalesCustomers","line":69,"kind":"procedure","access":"local","params":2,"steps":[[78,"ext","codeunit",1328,"UpdateCustomerTopList",0],[98,"ext","codeunit",1315,"ScheduleTopCustomerListRefreshTask",0]]},{"name":"DrillDownCust","line":102,"kind":"procedure","access":"local","params":1,"steps":[[107,"run","page",21]]},{"name":"DrillDownOtherCustList","line":110,"kind":"procedure","access":"local","params":0,"steps":[[114,"call","GetFilterToExcludeTopFiveCustomers",0],[117,"run","page",22]]}]}