---
title: "Codeunit 1319 Sales by Cust. Grp. Chart Mgt., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/points/
object: https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-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 1319 Sales by Cust. Grp. Chart Mgt., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/points/

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

## OnInitPage

[Line 26](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L26).

- [28](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L28) calls `GetChartSetupForCurrentUser`

## UpdateChart

[Line 35](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L35).

- [42](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L42) calls `GetChartSetupForCurrentUser`
- [45](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L45) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `Initialize`
- [49](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L49) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `CalcFromDate`
- [51](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L51) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `CalcToDate`
- [56](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L56) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `SetPeriodXAxis`
- [57](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L57) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `AddPeriods`
- [57](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L57) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `CalcFromDate`
- [59](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L59) calls `CalcCustSales`

## DrillDown

[Line 66](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L66).

- [73](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L73) calls `GetChartSetupForCurrentUser`
- [76](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L76) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `GetXValueAsDate`
- [77](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L77) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `CalcFromDate`
- [78](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L78) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `GetMeasureValueString`
- [83](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L83) runs [Page 22 Customer List](https://jonas-paprotka.de/ref/page/22-customer-list/)

## CalcCustSales

[Line 86](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L86), local.

- [94](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L94) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `AddDecimalMeasure`
- [96](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L96) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `CalcFromDate`
- [98](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L98) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `CalcToDate`
- [107](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L107) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `AddDecimalMeasure`
- [108](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L108) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `SetValue`
- [113](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L113) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `Initialize`
- [117](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L117) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `SetValue`

## GetChartSetupForCurrentUser

[Line 122](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L122), local.

- [130](https://jonas-paprotka.de/ref/codeunit/1319-sales-by-cust-grp-chart-mgt/source/#L130) writes [Table 1319 Sales by Cust. Grp.Chart Setup](https://jonas-paprotka.de/ref/table/1319-sales-by-cust-grp-chart-setup/) Insert

## Source

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

JOP-AL, 2026-11-20.
