{"title":"Codeunit 1319 Sales by Cust. Grp. Chart Mgt., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-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":1319,"name":"Sales by Cust. Grp. Chart Mgt.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/","path":"src/Layers/W1/BaseApp/Sales/Analysis/SalesbyCustGrpChartMgt.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/"},"page:22":{"name":"Customer List","url":"https://jonas-paprotka.de/ref/page/22-customer-list/"},"table:1319":{"name":"Sales by Cust. Grp.Chart Setup","url":"https://jonas-paprotka.de/ref/table/1319-sales-by-cust-grp-chart-setup/"}},"procs":[{"name":"OnInitPage","line":26,"kind":"procedure","params":0,"steps":[[28,"call","GetChartSetupForCurrentUser",0]]},{"name":"UpdateChart","line":35,"kind":"procedure","params":1,"steps":[[42,"call","GetChartSetupForCurrentUser",0],[45,"ext","table",485,"Initialize",0],[49,"ext","table",485,"CalcFromDate",1],[51,"ext","table",485,"CalcToDate",1],[56,"ext","table",485,"SetPeriodXAxis",0],[57,"ext","table",485,"AddPeriods",2],[57,"ext","table",485,"CalcFromDate",1],[59,"call","CalcCustSales",2]]},{"name":"DrillDown","line":66,"kind":"procedure","params":1,"steps":[[73,"call","GetChartSetupForCurrentUser",0],[76,"ext","table",485,"GetXValueAsDate",1],[77,"ext","table",485,"CalcFromDate",1],[78,"ext","table",485,"GetMeasureValueString",1],[83,"run","page",22]]},{"name":"CalcCustSales","line":86,"kind":"procedure","access":"local","params":2,"steps":[[94,"ext","table",485,"AddDecimalMeasure",3],[96,"ext","table",485,"CalcFromDate",1],[98,"ext","table",485,"CalcToDate",1],[107,"ext","table",485,"AddDecimalMeasure",3],[108,"ext","table",485,"SetValue",3],[113,"ext","table",485,"Initialize",0],[117,"ext","table",485,"SetValue",3]]},{"name":"GetChartSetupForCurrentUser","line":122,"kind":"procedure","access":"local","params":0,"steps":[[130,"write",1319,"Insert"]]}]}