Codeunit 570 G/L Account Category Mgt.

Base Application, Microsoft.Finance.GeneralLedger.Account

Source AL, 1,387 lines

src/Layers/W1/BaseApp/Finance/GeneralLedger/Account/GLAccountCategoryMgt.Codeunit.allines 20 to 35 of 1,387, Copyright (c) Microsoft Corporation. MIT

codeunit 570 "G/L Account Category Mgt."{    trigger OnRun()    begin        InitializeAccountCategories();    end;    var        BalanceColumnNameTxt: Label 'M-BALANCE', Comment = 'Max 10 char';        BalanceColumnDescTxt: Label 'Balance', Comment = 'Max 10 char';        BalanceColumnInternalDescTxt: Label 'Single-column layout showing balance-at-date using ledger net amounts. Useful for point-in-time balances, financial position, reconciliations, and snapshot reporting of assets, liabilities, or equity.', MaxLength = 210;        NetChangeColumnNameTxt: Label 'M-NETCHANG', Comment = 'Max 10 char';        NetChangeColumnDescTxt: Label 'Net Change', Comment = 'Max 10 char';        NetChangeColumnInternalDescTxt: Label 'Single-column layout showing period net change from ledger entries (Net Amount). Useful for reporting activity, income statement movements, variance analysis, and tracking transaction-driven account changes.', MaxLength = 210;        BalanceSheetCodeTxt: Label 'M-BALANCE', Comment = 'Max 10 char';

All 1,387 lines

Events 7 in 29

[IntegrationEvent] OnAfterInitializeCompany()17-29
[IntegrationEvent] OnBeforeInitializeCompany()17-29
[IntegrationEvent] OnBeforeOnRunAccountScheduleReport(AccSchedName: Code[10]; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeInitializeAccountCategories(var IsHandled: Boolean)new in 18
[IntegrationEvent] OnAfterInitializeAccountCategories()new in 18
[IntegrationEvent] OnBeforeCheckGLAccount(TableNo: Integer; FieldNo: Integer; AccNo: Code[20]; CheckProdPostingGroup: Boolean; CheckDirectPosting: Boolean; var AccountCategory: Option; var AccountSubcategory: Text; var IsHandled: Boolean)new in 19
[IntegrationEvent] OnBeforeLookupGLAccount(TableNo: Integer; FieldNo: Integer; var AccountNo: Code[20]; var AccountCategory: Option; var AccountSubcategoryFilter: Text; var IsHandled: Boolean)new in 19

Public procedures 57 in 29

InitializeAccountCategories()17-29
AddCategory(InsertAfterEntryNo: Integer; ParentEntryNo: Integer; AccountCategory: Option; NewDescription: Text[80]; SystemGenerated: Boolean; CashFlowActivity: Option): Integer17-29
ForceInitializeStandardAccountSchedules()17-29
InitializeStandardAccountSchedules()17-29
GetGLSetup(var GeneralLedgerSetup: Record "General Ledger Setup")17-29
RunAccountScheduleReport(FinancialReportName: Code[10])17-29changed in 21

All 57 procedures

Changes 1 in 21

List17181920212223242526272829
Procedures41
Events22
RunAccountScheduleReport(FinancialReportName: Code[10])17-29changed in 21
changed, was RunAccountScheduleReport(AccSchedName: Code[10])

All 9 changes in 17-29