Codeunit 100 Calc. G/L Acc. Where-Used

Base Application, Microsoft.Finance.GeneralLedger.Account

Source AL, 491 lines

src/Layers/W1/BaseApp/Finance/GeneralLedger/Account/CalcGLAccWhereUsed.Codeunit.allines 36 to 51 of 491, Copyright (c) Microsoft Corporation. MIT

codeunit 100 "Calc. G/L Acc. Where-Used"{    trigger OnRun()    begin    end;    var        TempGLAccWhereUsed: Record "G/L Account Where-Used" temporary;        NextEntryNo: Integer;#pragma warning disable AA0074        Text000: Label 'The update has been interrupted to respect the warning.';#pragma warning restore AA0074        ShowWhereUsedQst: Label 'You cannot delete a %1 that is used in one or more setup windows.\Do you want to open the G/L Account No. Where-Used List Window?', Comment = '%1 -  Table Caption';    /// <summary>

All 491 lines

Events 6 in 29

[IntegrationEvent] OnShowExtensionPage(GLAccountWhereUsed: Record "G/L Account Where-Used")17-29
[IntegrationEvent] OnAfterCheckPostingGroups(var TempGLAccountWhereUsed: Record "G/L Account Where-Used" temporary; GLAccNo: Code[20])17-29
[IntegrationEvent] OnAfterFillTableBuffer(var TableBuffer: Record Integer)17-29
[IntegrationEvent] OnBeforeShowGLAccWhereUsed(var GLAccountWhereUsed: Record "G/L Account Where-Used")17-29
[IntegrationEvent] OnShowSetupFormOnBeforeFAAllocationRunPage(var FAAllocation: Record "FA Allocation"; var GLAccountWhereUsed: Record "G/L Account Where-Used")new in 22
[IntegrationEvent] OnDeleteGLNoOnBeforeTempGLAccWhereUsedFindFirst(var TempGLAccountWhereUsed: Record "G/L Account Where-Used" temporary)new in 22

Public procedures 6 in 29

ShowSetupForm(GLAccWhereUsed: Record "G/L Account Where-Used")17-29
DeleteGLNo(GLAccNo: Code[20]): Boolean17-29
CheckGLAcc(GLAccNo: Code[20])17-29
InsertGroupForRecord(var TempGLAccountWhereUsed: Record "G/L Account Where-Used" temporary; TableID: Integer; TableCaption: Text[80]; GLAccNo: Code[20]; GLAccNo2: Code[20]; FieldCaption: Text[80]; Key: array[8] of Text[80])17-29
CheckPostingGroups(GLAccNo: Code[20])17-29
AddTable(var TableBuffer: Record Integer; TableID: Integer)17-29

Changes 2 in 22

List17181920212223242526272829
Events2
[IntegrationEvent] OnShowSetupFormOnBeforeFAAllocationRunPage(var FAAllocation: Record "FA Allocation"; var GLAccountWhereUsed: Record "G/L Account Where-Used")new in 22
added
[IntegrationEvent] OnDeleteGLNoOnBeforeTempGLAccWhereUsedFindFirst(var TempGLAccountWhereUsed: Record "G/L Account Where-Used" temporary)new in 22
added

All 2 changes in 17-29