{"title":"Codeunit 6306 PBI Aged Acc. Calc, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/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":6306,"name":"PBI Aged Acc. Calc","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/","path":"src/Layers/W1/BaseApp/Integration/PowerBI/ReportingData/PBIAgedAccCalc.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/"},"table:386":{"name":"Entry No. Amount Buffer","url":"https://jonas-paprotka.de/ref/table/386-entry-no-amount-buffer/"},"codeunit:1315":{"name":"Chart Management","url":"https://jonas-paprotka.de/ref/codeunit/1315-chart-management/"},"codeunit:40":{"name":"LogInManagement","url":"https://jonas-paprotka.de/ref/codeunit/40-loginmanagement/"},"codeunit:764":{"name":"Aged Acc. Payable","url":"https://jonas-paprotka.de/ref/codeunit/764-aged-acc-payable/"},"codeunit:763":{"name":"Aged Acc. Receivable","url":"https://jonas-paprotka.de/ref/codeunit/763-aged-acc-receivable/"},"table:6305":{"name":"Power BI Chart Buffer","url":"https://jonas-paprotka.de/ref/table/6305-power-bi-chart-buffer/"}},"procs":[{"name":"GetValues","line":28,"kind":"procedure","params":3,"steps":[[30,"call","SetPeriodAndUpdateChart",3]]},{"name":"SetPeriodAndUpdateChart","line":33,"kind":"procedure","access":"local","params":3,"steps":[[43,"write",485,"DeleteAll"],[45,"write",386,"DeleteAll"],[48,"ext","codeunit",1315,"SetPeriodLength",4],[49,"ext","codeunit",40,"GetDefaultWorkDate",0],[53,"ext","codeunit",764,"UpdateData",2],[55,"ext","codeunit",763,"UpdateDataPerGroup",2],[61,"call","FormatPeriod",0],[62,"call","InsertToBuffer",1]]},{"name":"FormatPeriod","line":67,"kind":"procedure","access":"local","params":0,"steps":[[74,"ext","codeunit",763,"InitParameters",4],[77,"ext","codeunit",763,"FormatColumnName",4]]},{"name":"InsertToBuffer","line":80,"kind":"procedure","access":"local","params":1,"steps":[[109,"write",6305,"Insert"]]}]}