Codeunit 99000843 Undo Prod. Posting Mgmt.

Base Application, Microsoft.Manufacturing.Journal

Source AL, 571 lines

src/Layers/W1/BaseApp/Manufacturing/Journal/UndoProdPostingMgmt.Codeunit.allines 19 to 34 of 571, Copyright (c) Microsoft Corporation. MIT

codeunit 99000843 "Undo Prod. Posting Mgmt."{    var        SourceCodeSetup: Record "Source Code Setup";        HideDialog: Boolean;        ReverseEntriesMsg: Label 'To reverse these entries, correcting entries will be posted.';        ReverseEntriesQst: Label 'Do you want to reverse the entries?';        PostedSuccessfullyMsg: Label 'The journal lines were successfully posted.';        CannotHandleEntryTypeErr: Label 'Cannot handle entry type %1 for correction posting of production.', Comment = '%1 - Entry Type';        InvalidEntryTypeErr: Label 'Entry Type must be either Consumption or Output.';        SubContractingErr: Label 'Entry cannot be reversed as it is linked to the subcontracting work center.';        QuantityMustBeGreaterThanZeroErr: Label 'Quantity must be greater than 0 on %1 No. %2 to reverse the entry.', Comment = '%1 = Table Caption , %2 = Entry No.';        QuantityMustBeLessThanZeroErr: Label 'Quantity must be less than 0 on %1 No. %2 to reverse the entry. ', Comment = '%1 = Table Caption , %2 = Entry No.';        MissingReleasedProductionErr: Label 'Production Order %1 is already Finished, you cannot reverse this entry.', Comment = '%1 = Production Order No.';        CannotReverseLastOperationErr: Label '%1 %2 is the last operation of Production Order %3. Reversal of this operation can only be performed from the %4.', Comment = '%1 - Field Caption, %2 - Entry No., %3 - Production Order No., %4 - Item Ledger Entry table caption';

All 571 lines

Events 13 in 29

[IntegrationEvent] OnReverseConsumptionItemLedgerEntryOnBeforeValidateQuantity(var ItemJournalLine: Record "Item Journal Line"; ItemLedgerEntry: Record "Item Ledger Entry"; var IsHandled: Boolean)new in 26
[IntegrationEvent] OnCreateOutputReservationEntryOnBeforeInsert(var ReservationEntry: Record "Reservation Entry"; ItemLedgerEntry: Record "Item Ledger Entry")new in 26
[IntegrationEvent] OnReverseOutputCapacityLedgerEntryOnBeforeValidateQuantity(var ItemJournalLine: Record "Item Journal Line"; CapacityLedgerEntry: Record "Capacity Ledger Entry"; var IsHandled: Boolean)new in 26
[IntegrationEvent] OnReverseOutputItemLedgerEntryOnBeforeValidateOutputQuantity(var ItemJournalLine: Record "Item Journal Line"; ItemLedgerEntry: Record "Item Ledger Entry"; var IsHandled: Boolean)new in 26
[IntegrationEvent] OnReverseOutputCapacityLedgerEntryOnBeforeItemJnlPostLine(var ItemJournalLine: Record "Item Journal Line"; CapacityLedgerEntry: Record "Capacity Ledger Entry")new in 26
[IntegrationEvent] OnReverseOutputItemLedgerEntryOnBeforeItemJnlPostLine(var ItemJournalLine: Record "Item Journal Line"; ItemLedgerEntry: Record "Item Ledger Entry"; ProductionOrder: Record "Production Order")new in 26
[IntegrationEvent] OnReverseConsumptionItemLedgerEntryOnBeforeItemJnlPostLine(var ItemJournalLine: Record "Item Journal Line"; ItemLedgerEntry: Record "Item Ledger Entry"; ProductionOrder: Record "Production Order")new in 26

All 13 events

Public procedures 3 in 29

ReverseProdItemLedgerEntry(var ItemLedgerEntry: Record "Item Ledger Entry")new in 26
ReverseCapacityLedgerEntry(var CapacityLedgEntry: Record "Capacity Ledger Entry")new in 26
SetHideDialog(NewHideDialog: Boolean)new in 29

Changes 1 in 29

List17181920212223242526272829
Procedures1
Events3
SetHideDialog(NewHideDialog: Boolean)new in 29
added

All 4 changes in 26-29