Codeunit 1315 "Chart Management"
Base Application · System.Visualization
Across versions
- BC23-30present
Neighbourhood 14 connected objects and pages
Base Application · System.Visualization · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnAfterPopulateChartDefinitionTable()(integration)OnBeforeChartDescription(ChartDefinition: Record "Chart Definition"; var ChartDescription: Text; var IsHandled: Boolean)(integration)OnBeforeDataPointClicked(var ChartDefinition: Record "Chart Definition"; var BusinessChartBuffer: Record "Business Chart Buffer"; var IsHandled: Boolean)(integration)OnBeforeSetPeriodLength(ChartDefinition: Record "Chart Definition"; PeriodLength: Option; var IsHandled: Boolean)(integration)OnBeforeUpdateChart(var ChartDefinition: Record "Chart Definition"; var BusinessChartBuffer: Record "Business Chart Buffer"; Period: Option; var IsHandled: Boolean)(integration)OnBeforeUpdateNextPrevious(var ChartDefinition: Record "Chart Definition"; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeUpdateStatusText(ChartDefinition: Record "Chart Definition"; BusinessChartBuffer: Record "Business Chart Buffer"; var StatusText: Text; var IsHandled: Boolean)(integration)OnUpdateChartSafe(var ChartDefinition: Record "Chart Definition"; var BusinessChartBuffer: Record "Business Chart Buffer"; Period: Option)(integration)- subscribers: Codeunit 1315 “Chart Management” HandleUpdateChartSafe
Event subscriptions
- HandleUpdateChartSafe subscribes to Codeunit “Chart Management” OnUpdateChartSafe
Procedures
AddinReady(var ChartDefinition: Record "Chart Definition"; var BusinessChartBuffer: Record "Business Chart Buffer")ChartDescription(ChartDefinition: Record "Chart Definition"): TextCashFlowChartName(): Text[30]CashCycleChartName(): Text[30]IncomeAndExpenseChartName(): Text[30]DataPointClicked(var BusinessChartBuffer: Record "Business Chart Buffer"; var ChartDefinition: Record "Chart Definition")PopulateChartDefinitionTable()SelectChart(var BusinessChartBuffer: Record "Business Chart Buffer"; var ChartDefinition: Record "Chart Definition")SetDefaultPeriodLength(ChartDefinition: Record "Chart Definition"; var BusChartBuf: Record "Business Chart Buffer")SetPeriodLength(ChartDefinition: Record "Chart Definition"; var BusChartBuf: Record "Business Chart Buffer"; PeriodLength: Option; IsInitState: Boolean)UpdateChartSafe(var ChartDefinition: Record "Chart Definition"; var BusinessChartBuffer: Record "Business Chart Buffer"; Period: Option; var ErrorMessage: Text): BooleanUpdateChart(var ChartDefinition: Record "Chart Definition"; var BusinessChartBuffer: Record "Business Chart Buffer"; Period: Option)UpdateNextPrevious(var ChartDefinition: Record "Chart Definition"): BooleanUpdateStatusText(var ChartDefinition: Record "Chart Definition"; var BusinessChartBuffer: Record "Business Chart Buffer"; var StatusText: Text)EnableChart(var ChartDefinition: Record "Chart Definition")AgedAccReceivableName(): Text[60]AgedAccPayableName(): Text[60]ScheduleTopCustomerListRefreshTask()TopCustomerListUpdatedRecently(var LastCustomerLedgerEntryNo: Integer): Boolean
Plus 4 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 763 “Aged Acc. Receivable” (4 calls:
ChartDescription → Description,DataPointClicked → DrillDownByGroup,UpdateChart → SaveSettings, …) - Codeunit 764 “Aged Acc. Payable” (4 calls:
ChartDescription → Description,DataPointClicked → DrillDownByGroup,UpdateChart → SaveSettings, …) - Codeunit 762 “Acc. Sched. Chart Management” (3 calls:
DataPointClicked → DrillDown,UpdateChart → GetSetupRecordset,UpdateChart → UpdateData) - Codeunit 1316 “Top Ten Customers Chart Mgt.” (2 calls:
DataPointClicked → DrillDown,UpdateChart → UpdateChart) - Codeunit 1317 “Aged Inventory Chart Mgt.” (2 calls:
DataPointClicked → DrillDown,UpdateChart → UpdateChart) - Codeunit 1326 “Top Five Customers Chart Mgt.” (2 calls:
DataPointClicked → DrillDown,UpdateChart → UpdateChart) - Query 1319 “Sales by Cust. Grp. Chart Mgt.” (2 calls:
DataPointClicked → (object),UpdateChart → (object))
Called by
- Page 1392 “Help And Chart Wrapper” (7 calls:
InitializeSelectedChart → SetDefaultPeriodLength,InitializeSelectedChart → UpdateChartSafe,InitializeSelectedChart → UpdateNextPrevious, …) - Codeunit 1316 “Top Ten Customers Chart Mgt.” (1 call:
CalcTopTenSalesCustomers → ScheduleTopCustomerListRefreshTask) - Codeunit 1326 “Top Five Customers Chart Mgt.” (1 call:
CalcTopSalesCustomers → ScheduleTopCustomerListRefreshTask) - Codeunit 1328 “Top Customers By Sales Job” (1 call:
UpdateCustomerTopList → TopCustomerListUpdatedRecently) - Codeunit 5427 “Create Chart Definition” (1 call:
OnRun → PopulateChartDefinitionTable) - Codeunit 6306 “PBI Aged Acc. Calc” (1 call:
SetPeriodAndUpdateChart → SetPeriodLength) - Codeunit 6307 “PBI Aged Inventory Calc.” (1 call:
GetValues → SetPeriodLength) - Page 6307 “PBI Aged Acc. Payable” (1 call:
OnOpenPage → AgedAccPayableName) - Page 6308 “PBI Aged Acc. Receivable” (1 call:
OnOpenPage → AgedAccReceivableName)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Chart Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.