Codeunit 99000799 Mfg. Posting Preview Handler

Base Application, Microsoft.Finance.GeneralLedger.Preview

Source AL, 42 lines

src/Layers/W1/BaseApp/Manufacturing/Finance/Preview/MfgPostingPreviewHandler.Codeunit.allines 9 to 24 of 42, Copyright (c) Microsoft Corporation. MIT

codeunit 99000799 "Mfg. Posting Preview Handler"{    EventSubscriberInstance = Manual;    SingleInstance = true;    var        TempCapacityLedgerEntry: Record "Capacity Ledger Entry" temporary;    [EventSubscriber(ObjectType::Table, Database::"Capacity Ledger Entry", 'OnAfterInsertEvent', '', true, false)]    local procedure OnInsertCapacityLedgerEntry(var Rec: Record "Capacity Ledger Entry"; RunTrigger: Boolean)    begin        if Rec.IsTemporary() then            exit;        if TempCapacityLedgerEntry.Get(Rec."Entry No.") then            exit;

All 42 lines

Public procedures 2 in 29

DeleteAll()new in 26
GetTempCapacityLedgerEntry(var OutTempCapacityLedgerEntry: Record "Capacity Ledger Entry" temporary)new in 26