Codeunit 3 "G/L Account-Indent"
Base Application · Microsoft.Finance.GeneralLedger.Account
Across versions
- BC23-30present
Neighbourhood 10 connected objects and pages
Base Application · Microsoft.Finance.GeneralLedger.Account · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnAfterIndent()(integration): Integration event raised after completing the chart of accounts indentation process. Allows extensions to perform additional processing after indentation is complete.OnBeforeIndent(var GLAcc: Record "G/L Account"; var IsHandled: Boolean)(integration): Integration event raised before starting the chart of accounts indentation process. Allows extensions to override or supplement the indentation logic.OnBeforeIndentICAccount(var GLAcc: Record "G/L Account"; var IsHandled: Boolean)(integration): Integration event raised before indenting intercompany accounts during the indentation process. Allows extensions to customize intercompany account indentation behavior.
Procedures
Indent(): Processes all general ledger accounts to update indentation levels and totaling ranges based on account hierarchy. Automatically calculates indentation for accounts between Begin-Total and End-Total markers and updates totaling fields.RunICAccountIndent(): Runs the indentation process for Intercompany G/L Accounts with user confirmation. Updates the indentation levels based on account hierarchy structure.
Plus 1 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 27 “Confirm Management” (2 calls:
OnRun → GetResponseOrDefault,RunICAccountIndent → GetResponseOrDefault)
Called by
- Codeunit 4762 “Create Mfg GL Account” (1 call:
OnRun → Indent) - Codeunit 4773 “Create FA GL Account” (1 call:
OnRun → Indent) - Codeunit 5102 “Create Svc GL Account” (1 call:
OnRun → Indent) - Codeunit 5135 “Create Common GL Account” (1 call:
OnRun → Indent) - Codeunit 5161 “Create HR GL Account” (1 call:
OnRun → Indent) - Codeunit 5199 “Create Job GL Account” (1 call:
OnRun → Indent) - Codeunit 5208 “Create G/L Account” (1 call:
OnRun → Indent) - Codeunit 5362 “Create Sust. G/L Account” (1 call:
OnRun → Indent) - Codeunit 6971 “Create Expense GL Account” (1 call:
CreateGLAccount → Indent)
Countries that replace it
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
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: "G/L Account-Indent"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.