Codeunit 5958 Serv. Calc. G/L Acc.Where-Used

Base Application, Microsoft.Service.Contract

Source AL, 41 lines

src/Layers/W1/BaseApp/Service/Contract/ServCalcGLAccWhereUsed.Codeunit.allines 10 to 25 of 41, Copyright (c) Microsoft Corporation. MIT

codeunit 5958 "Serv. Calc. G/L Acc.Where-Used"{    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Calc. G/L Acc. Where-Used", 'OnShowExtensionPage', '', true, false)]    local procedure OnShowExtensionPage(GLAccountWhereUsed: Record "G/L Account Where-Used")    var        ServiceContractAccGr: Record "Service Contract Account Group";    begin        if GLAccountWhereUsed."Table ID" = Database::"Service Contract Account Group" then begin            ServiceContractAccGr.Code := CopyStr(GLAccountWhereUsed."Key 1", 1, MaxStrLen(ServiceContractAccGr.Code));            PAGE.Run(0, ServiceContractAccGr);        end;    end;    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Calc. G/L Acc. Where-Used", 'OnAfterFillTableBuffer', '', true, false)]    local procedure OnAfterFillTableBuffer(var TableBuffer: Record "Integer")

All 41 lines