---
title: "Codeunit 1317 Aged Inventory Chart Mgt., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/points/
object: https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
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/"
---

# Codeunit 1317 Aged Inventory Chart Mgt., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/points/

6 procedures and triggers with a step in src/Layers/W1/BaseApp/Inventory/Analysis/AgedInventoryChartMgt.Codeunit.al, in source order, read from the text, not from a run.

## UpdateChart

[Line 29](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L29).

- [35](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L35) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `Initialize`
- [36](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L36) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `AddDecimalMeasure`
- [37](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L37) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `SetXAxis`
- [38](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L38) calls `CalcPeriodStartDates`
- [38](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L38) calls `GetPeriodLengthInDays`
- [39](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L39) calls `AddChartColumns`
- [40](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L40) calls `CalcInventoryValuePerAge`
- [42](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L42) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `SetValueByIndex`

## DrillDown

[Line 45](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L45).

- [49](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L49) calls `CalcPeriodStartDates`
- [49](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L49) calls `GetPeriodLengthInDays`
- [53](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L53) calls `DrillDownItemLedgerEntries`

## CalcInventoryValuePerAge

[Line 57](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L57).

- [73](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L73) calls `CalcRemainingQty`
- [74](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L74) calls `CalcUnitCost`

## AddChartColumns

[Line 80](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L80), local.

- [87](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L87) calls `GetPeriodLengthInDays`
- [97](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L97) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `AddColumn`
- [99](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L99) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `AddColumn`

## CalcUnitCost

[Line 127](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L127).

- [138](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L138) calls `SumUnitCost`
- [140](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L140) calls `SumUnitCost`

## DrillDownItemLedgerEntries

[Line 166](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L166), local.

- [177](https://jonas-paprotka.de/ref/codeunit/1317-aged-inventory-chart-mgt/source/#L177) runs [Page 38 Item Ledger Entries](https://jonas-paprotka.de/ref/page/38-item-ledger-entries/)

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
