Codeunit 1318 "Trial Balance Mgt."
Base Application · Microsoft.Finance.FinancialReports
Across versions
- BC23-30present
Neighbourhood 3 connected objects and pages
Base Application · Microsoft.Finance.FinancialReports · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeInitialize()(integration): Integration event raised before initializing trial balance setup and configuration. Allows customization of trial balance initialization process.OnUpdateArraysOnBeforeCheckArrayLen(Counter: Integer)(integration): Integration event raised during array updates before checking array length validation. Allows custom processing during trial balance data array population.
Procedures
LoadData(var DescriptionsArr: array[9] of Text[100]; var ValuesArr: array[9, 2] of Decimal; var PeriodCaptionTxt: array[2] of Text; NoOfColumns: Integer): Loads trial balance data into display arrays for interface presentation. Initializes period settings and populates arrays with account schedule calculations.SetupIsInPlace(): Boolean: Checks whether trial balance setup is properly configured. Validates existence of required account schedule and column layout configurations.DrillDown(RowNo: Integer; ColumnNo: Integer): Performs drill-down operation on trial balance data for detailed analysis. Opens detailed ledger entries for the selected account and period combination.NextPeriod(var DescriptionsArr: array[9] of Text[100]; var ValuesArr: array[9, 2] of Decimal; var PeriodCaptionTxt: array[2] of Text; NoOfColumns: Integer): Navigates to the next period and updates trial balance data arrays. Advances the current period and recalculates all displayed values.PreviousPeriod(var DescriptionsArr: array[9] of Text[100]; var ValuesArr: array[9, 2] of Decimal; var PeriodCaptionTxt: array[2] of Text; NoOfColumns: Integer): Navigates to the previous period and updates trial balance data arrays. Moves back to the previous period and recalculates all displayed values.
Plus 3 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” (9 calls:
DrillDown → DrillDown,Initialize → CheckAnalysisView,Initialize → CopyColumnsToTemp, …)
Called by
- Page 1393 “Trial Balance” (4 calls:
DrillDown → DrillDown,DrillDown → LoadData,LoadTrialBalanceData → SetupIsInPlace, …) - Codeunit 1391 “Calculate Trial Balance” (1 call:
OnRun → LoadData)
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: "Trial Balance Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.