Codeunit 99000798 Mfg. Posting Preview Subscr.

Base Application, Microsoft.Finance.GeneralLedger.Preview

Source AL, 50 lines

src/Layers/W1/BaseApp/Manufacturing/Finance/Preview/MfgPostingPreviewSubscr.Codeunit.allines 10 to 25 of 50, Copyright (c) Microsoft Corporation. MIT

codeunit 99000798 "Mfg. Posting Preview Subscr."{    var        TempCapacityLedgerEntry: Record "Capacity Ledger Entry" temporary;        PostingPreviewEventHandler: Codeunit "Posting Preview Event Handler";    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Posting Preview Event Handler", 'OnGetEntries', '', true, false)]    local procedure GetEntriesOnGetEntries(TableNo: Integer; var RecRef: RecordRef)    begin        GetAllTables();        case TableNo of            Database::"Capacity Ledger Entry":                RecRef.GETTABLE(TempCapacityLedgerEntry);        end;    end;

All 50 lines