Codeunit 762 "Acc. Sched. Chart Management"
Base Application · Microsoft.Finance.FinancialReports
Across versions
- BC23-30present
Neighbourhood 8 connected objects and pages
Base Application · Microsoft.Finance.FinancialReports · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnDrillDownOnGLAccountOnBeforeRunChartOfAccsAnalysisView(var GLAccount: Record "G/L Account"; var ColumnLayout: Record "Column Layout")(integration): Integration event raised before running Chart of Accounts Analysis View from GL account drill-down. Enables custom handling of analysis view navigation and filtering.OnDrillDownTotalingTypeElseCase(var AccScheduleLine: Record "Acc. Schedule Line"; var ColumnLayout: Record "Column Layout"; var BusChartBuf: Record "Business Chart Buffer")(integration): Integration event raised for custom totaling type drill-down handling. Enables extensibility for custom account schedule line totaling types not covered by standard logic.OnDrillDownOnGLAccountOnBeforeRunChartOfAccountsGL(var GLAccount: Record "G/L Account"; var ColumnLayout: Record "Column Layout")(integration): Integration event raised before running Chart of Accounts GL page from GL account drill-down. Enables custom handling of GL account navigation and filtering.
Procedures
GetSetupRecordset(var AccountSchedulesChartSetup: Record "Account Schedules Chart Setup"; ChartName: Text[60]; Move: Integer): Retrieves and positions the account schedules chart setup record based on chart name and navigation direction. Handles navigation through multiple chart setups and tracks last viewed setup.DrillDown(var BusChartBuf: Record "Business Chart Buffer"; AccountSchedulesChartSetup: Record "Account Schedules Chart Setup"): Performs drill-down operation from chart data point to underlying financial data and analysis. Opens appropriate pages based on account schedule line totaling type and column layout configuration.UpdateData(var BusChartBuf: Record "Business Chart Buffer"; Period: Option " ",Next,Previous; AccountSchedulesChartSetup: Record "Account Schedules Chart Setup"): Updates chart data with account schedule calculations for the specified period and chart setup. Populates business chart buffer with financial data based on account schedule and column layout definitions.GetCorrectedDate(BusChartBuf: Record "Business Chart Buffer"; InputDate: Date; PeriodNo: Integer): Date: Calculates corrected date based on period length and period number for chart axis positioning. Adjusts dates for period-based chart display and handles different period length types.CheckDuplicateAccScheduleLineDescription(AccScheduleName: Code[10]): Validates account schedule line descriptions for duplicates within the specified account schedule. Raises error if duplicate descriptions are found to prevent chart display ambiguity.CheckDuplicateColumnLayoutColumnHeader(ColumnLayoutName: Code[10]): Validates column layout headers for duplicates within the specified column layout definition. Raises error if duplicate column headers are found to prevent chart display ambiguity.SelectAll(AccSchedChartSetupLine: Record "Acc. Sched. Chart Setup Line"; IsMeasure: Boolean): Selects all chart setup lines and applies default chart types for measures or dimensions. Enables all available data series in the chart with appropriate visualization settings.DeselectAll(AccSchedChartSetupLine: Record "Acc. Sched. Chart Setup Line"; IsMeasure: Boolean): Deselects all chart setup lines and removes chart type assignments for measures or dimensions. Hides all data series from the chart display by clearing visualization settings.GetAccSchedMgtRef(var RefAccSchedManagement: Codeunit AccSchedManagement): Provides reference to the internal account schedule management codeunit for external access. Enables external code to access account schedule calculation and management functionality.
Plus 8 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 8 “AccSchedManagement” (10 calls:
DrillDownOnCFAccount → GetDimTotalingFilter,DrillDownOnCFAccount → SetCFAccColumnFilter,DrillDownOnCFAccount → SetCFAccRowFilter, …) - Page 1100 “Chart of Cost Types” (1 call:
DrillDownOnCostType → (object)) - Page 570 “Chart of Accounts (G/L)” (1 call:
DrillDownOnGLAccount → (object)) - Page 851 “Chart of Cash Flow Accounts” (1 call:
DrillDownOnCFAccount → (object))
Called by
- Codeunit 1315 “Chart Management” (3 calls:
DataPointClicked → DrillDown,UpdateChart → GetSetupRecordset,UpdateChart → UpdateData) - Codeunit 9059 “Acc. Payable Performance” (3 calls:
DataPointClicked → DrillDown,UpdateChart → GetSetupRecordset,UpdateChart → UpdateData) - Page 762 “Finance Performance” (2 calls:
MoveAndUpdateChart → GetSetupRecordset,MoveAndUpdateChart → UpdateData) - Codeunit 770 “Analysis Report Chart Mgt.” (1 call:
CalcAndInsertPeriodAxis → GetCorrectedDate)
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: "Acc. Sched. Chart Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.