---
title: "Codeunit 6306 PBI Aged Acc. Calc, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/points/
object: https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/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 6306 PBI Aged Acc. Calc, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/points/

4 procedures and triggers with a step in src/Layers/W1/BaseApp/Integration/PowerBI/ReportingData/PBIAgedAccCalc.Codeunit.al, in source order, read from the text, not from a run.

## GetValues

[Line 28](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L28).

- [30](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L30) calls `SetPeriodAndUpdateChart`

## SetPeriodAndUpdateChart

[Line 33](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L33), local.

- [43](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L43) writes [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) DeleteAll
- [45](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L45) writes [Table 386 Entry No. Amount Buffer](https://jonas-paprotka.de/ref/table/386-entry-no-amount-buffer/) DeleteAll
- [48](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L48) calls [Codeunit 1315 Chart Management](https://jonas-paprotka.de/ref/codeunit/1315-chart-management/) `SetPeriodLength`
- [49](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L49) calls [Codeunit 40 LogInManagement](https://jonas-paprotka.de/ref/codeunit/40-loginmanagement/) `GetDefaultWorkDate`
- [53](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L53) calls [Codeunit 764 Aged Acc. Payable](https://jonas-paprotka.de/ref/codeunit/764-aged-acc-payable/) `UpdateData`
- [55](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L55) calls [Codeunit 763 Aged Acc. Receivable](https://jonas-paprotka.de/ref/codeunit/763-aged-acc-receivable/) `UpdateDataPerGroup`
- [61](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L61) calls `FormatPeriod`
- [62](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L62) calls `InsertToBuffer`

## FormatPeriod

[Line 67](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L67), local.

- [74](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L74) calls [Codeunit 763 Aged Acc. Receivable](https://jonas-paprotka.de/ref/codeunit/763-aged-acc-receivable/) `InitParameters`
- [77](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L77) calls [Codeunit 763 Aged Acc. Receivable](https://jonas-paprotka.de/ref/codeunit/763-aged-acc-receivable/) `FormatColumnName`

## InsertToBuffer

[Line 80](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L80), local.

- [109](https://jonas-paprotka.de/ref/codeunit/6306-pbi-aged-acc-calc/source/#L109) writes [Table 6305 Power BI Chart Buffer](https://jonas-paprotka.de/ref/table/6305-power-bi-chart-buffer/) Insert

## Source

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

JOP-AL, 2026-11-20.
