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

ID 100
Namespace: Microsoft.Finance.GeneralLedger.Account

Methods

ShowSetupForm

procedure ShowSetupForm(GLAccWhereUsed: Record "G/L Account Where-Used")

Parameters

Name Type Description
GLAccWhereUsed Table Microsoft.Finance.GeneralLedger.Account."G/L Account Where-Used"

DeleteGLNo

procedure DeleteGLNo(GLAccNo: Code[20]): Boolean

Parameters

Name Type Description
GLAccNo Code[20]

Returns

Type Description
Boolean

CheckGLAcc

procedure CheckGLAcc(GLAccNo: Code[20])

Parameters

Name Type Description
GLAccNo Code[20]

InsertGroupForRecord

procedure 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])

Parameters

Name Type Description
TempGLAccountWhereUsed Table Microsoft.Finance.GeneralLedger.Account."G/L Account Where-Used"
TableID Integer
TableCaption Text[80]
GLAccNo Code[20]
GLAccNo2 Code[20]
FieldCaption Text[80]
Key array[8] of Text[80]

CheckPostingGroups

procedure CheckPostingGroups(GLAccNo: Code[20])

Parameters

Name Type Description
GLAccNo Code[20]

AddTable

procedure AddTable(var TableBuffer: Record Integer, TableID: Integer)

Parameters

Name Type Description
TableBuffer Table System.Utilities.Integer
TableID Integer

Events

OnShowExtensionPage

[IntegrationEvent(False,False)]
local procedure OnShowExtensionPage(GLAccountWhereUsed: Record "G/L Account Where-Used")

Parameters

Name Type Description
GLAccountWhereUsed Table Microsoft.Finance.GeneralLedger.Account."G/L Account Where-Used"

OnAfterCheckPostingGroups

[IntegrationEvent(False,False)]
local procedure OnAfterCheckPostingGroups(var TempGLAccountWhereUsed: Record "G/L Account Where-Used" temporary, GLAccNo: Code[20])

Parameters

Name Type Description
TempGLAccountWhereUsed Table Microsoft.Finance.GeneralLedger.Account."G/L Account Where-Used"
GLAccNo Code[20]

OnAfterFillTableBuffer

[IntegrationEvent(False,False)]
local procedure OnAfterFillTableBuffer(var TableBuffer: Record Integer)

Parameters

Name Type Description
TableBuffer Table System.Utilities.Integer

OnBeforeShowGLAccWhereUsed

[IntegrationEvent(False,False)]
local procedure OnBeforeShowGLAccWhereUsed(var GLAccountWhereUsed: Record "G/L Account Where-Used")

Parameters

Name Type Description
GLAccountWhereUsed Table Microsoft.Finance.GeneralLedger.Account."G/L Account Where-Used"

OnShowSetupFormOnBeforeFAAllocationRunPage

[IntegrationEvent(False,False)]
local procedure OnShowSetupFormOnBeforeFAAllocationRunPage(var FAAllocation: Record "FA Allocation", var GLAccountWhereUsed: Record "G/L Account Where-Used")

Parameters

Name Type Description
FAAllocation Table Microsoft.FixedAssets.FixedAsset."FA Allocation"
GLAccountWhereUsed Table Microsoft.Finance.GeneralLedger.Account."G/L Account Where-Used"

OnDeleteGLNoOnBeforeTempGLAccWhereUsedFindFirst

[IntegrationEvent(False,False)]
local procedure OnDeleteGLNoOnBeforeTempGLAccWhereUsedFindFirst(var TempGLAccountWhereUsed: Record "G/L Account Where-Used" temporary)

Parameters

Name Type Description
TempGLAccountWhereUsed Table Microsoft.Finance.GeneralLedger.Account."G/L Account Where-Used"

See also