Codeunit 432 Consolidate

Base Application, Microsoft.Finance.Consolidation

Source AL, 2,101 lines

src/Layers/W1/BaseApp/Finance/Consolidation/Consolidate.Codeunit.allines 26 to 41 of 2,101, Copyright (c) Microsoft Corporation. MIT

codeunit 432 Consolidate{    Permissions = TableData "G/L Entry" = rimd,                    tabledata "Analysis View" = r;    TableNo = "Business Unit";    trigger OnRun()    var        PreviousDate: Date;        i: Integer;        ShouldClearPreviousConsolidation: Boolean;        IsHandled: Boolean;    begin        OnBeforeOnRun(Rec);        BusUnit := Rec;

All 2,101 lines

Events 41 in 29

[IntegrationEvent] OnBeforeGenJnlPostLine(var GenJnlLine: Record "Gen. Journal Line")17-29
[IntegrationEvent] OnBeforeInsertGLEntry(var SubsidGLEntry: Record "G/L Entry"; GLEntry: Record "G/L Entry")17-29
[IntegrationEvent] OnClearPreviousConsolidationOnBeforeCheckAmountArray(var DeletedAmountsArray: array[500] of Decimal; var DeletedDatesArray: array[500] of Date)17-29
[IntegrationEvent] OnUpdateGLEntryDimSetIDOnAfterAssignDimensionSetID(var TempSubsidDimBuf: Record "Dimension Buffer" temporary)17-29
[IntegrationEvent] OnAfterUpdateTempGLEntry(var BusUnit: Record "Business Unit"; var TempSubsidGLEntry: Record "G/L Entry")new in 19
[IntegrationEvent] OnAfterCreateAndPostGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; ConsolidAmount: Decimal; CurrencyACY: Code[10])new in 19
[IntegrationEvent] OnBeforePostBalancingEntries(var GenJnlLine: Record "Gen. Journal Line")new in 19

All 44 events in 17-29

Public procedures 23 in 29

SetDocNo(NewDocNo: Code[20])17-29
SetSelectedDim(var SelectedDim: Record "Selected Dimension")17-29
SetGlobals(NewProductVersion: Code[10]; NewFormatVersion: Code[10]; NewCompanyName: Text[30]; NewCurrencyLCY: Code[10]; NewCurrencyACY: Code[10]; NewCurrencyPCY: Code[10]; NewCheckSum: Decimal; NewStartingDate: Date; NewEndingDate: Date)17-29
InsertGLAccount(NewGLAccount: Record "G/L Account")17-29
InsertGLEntry(NewGLEntry: Record "G/L Entry"): Integer17-29
InsertEntryDim(NewDimBuf: Record "Dimension Buffer"; GLEntryNo: Integer)17-29

All 26 procedures in 17-29

Changes 1 in 28

List17181920212223242526272829
Procedures131
Events183612111
[IntegrationEvent] OnClearPreviousConsolidationOnBeforeModifyConsolidGLEntry(var ConsolidGLEntry: Record "G/L Entry")new in 28
added

All 47 changes in 17-29