{"title":"Codeunit 1317 Aged Inventory Chart Mgt., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-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":1317,"name":"Aged Inventory Chart Mgt.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/","path":"src/Layers/W1/BaseApp/Inventory/Analysis/AgedInventoryChartMgt.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:38":{"name":"Item Ledger Entries","url":"https://jonas-paprotka.de/ref/page/38-item-ledger-entries/"}},"procs":[{"name":"UpdateChart","line":29,"kind":"procedure","params":1,"steps":[[35,"ext","table",485,"Initialize",0],[36,"ext","table",485,"AddDecimalMeasure",3],[37,"ext","table",485,"SetXAxis",2],[38,"call","CalcPeriodStartDates",2],[38,"call","GetPeriodLengthInDays",1],[39,"call","AddChartColumns",1],[40,"call","CalcInventoryValuePerAge",2],[42,"ext","table",485,"SetValueByIndex",3]]},{"name":"DrillDown","line":45,"kind":"procedure","params":1,"steps":[[49,"call","CalcPeriodStartDates",2],[49,"call","GetPeriodLengthInDays",1],[53,"call","DrillDownItemLedgerEntries",2]]},{"name":"CalcInventoryValuePerAge","line":57,"kind":"procedure","params":2,"steps":[[73,"call","CalcRemainingQty",4],[74,"call","CalcUnitCost",1]]},{"name":"AddChartColumns","line":80,"kind":"procedure","access":"local","params":1,"steps":[[87,"call","GetPeriodLengthInDays",1],[97,"ext","table",485,"AddColumn",1],[99,"ext","table",485,"AddColumn",1]]},{"name":"CalcUnitCost","line":127,"kind":"procedure","params":1,"steps":[[138,"call","SumUnitCost",3],[140,"call","SumUnitCost",3]]},{"name":"DrillDownItemLedgerEntries","line":166,"kind":"procedure","access":"local","params":2,"steps":[[177,"run","page",38]]}]}