Codeunit 6484 Serv. Undo Posting Mgt.

Base Application, Microsoft.Inventory

Source AL, 179 lines

src/Layers/W1/BaseApp/Service/Inventory/ServUndoPostingMgt.Codeunit.allines 12 to 27 of 179, Copyright (c) Microsoft Corporation. MIT

codeunit 6484 "Serv. Undo Posting Mgt."{    var        UndoPostingManagement: Codeunit "Undo Posting Management";    procedure TestServShptLine(ServShptLine: Record "Service Shipment Line")    var        ServLine: Record "Service Line";    begin        UndoPostingManagement.TestAllTransactions(            DATABASE::"Service Shipment Line", ServShptLine."Document No.", ServShptLine."Line No.",            DATABASE::"Service Line", ServLine."Document Type"::Order.AsInteger(), ServShptLine."Order No.", ServShptLine."Order Line No.");    end;    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Undo Posting Management", 'OnShouldRevertBaseQtySign', '', true, false)]    local procedure OnShouldCollectSourceType(SourceType: Integer; var RevertSign: Boolean);

All 179 lines

Events 6 in 29

[IntegrationEvent] OnBeforeUpdateServLine(var ServiceLine: Record "Service Line"; var UndoQty: Decimal; var UndoQtyBase: Decimal; var TempUndoneItemLedgEntry: Record "Item Ledger Entry" temporary; var IsHandled: Boolean)new in 25
[IntegrationEvent] OnAfterUpdateServLine(var ServLine: Record "Service Line")new in 25
[IntegrationEvent] OnBeforeServiceLineCnsmReserveVerifyQuantity(ServiceLine: Record "Service Line"; xServiceLine: Record "Service Line"; var IsHandled: Boolean)new in 25
[IntegrationEvent] OnBeforeServiceLineReserveVerifyQuantity(ServiceLine: Record "Service Line"; xServiceLine: Record "Service Line"; var IsHandled: Boolean)new in 25
[IntegrationEvent] OnBeforeRevertPostedItemTrackingFromServiceLine(ServiceLine: Record "Service Line"; var TempUndoneItemLedgEntry: Record "Item Ledger Entry" temporary; var IsHandled: Boolean)new in 25
[IntegrationEvent] OnUpdateServLineCnsmOnBeforeServLineModify(var ServiceLine: Record "Service Line"; UndoQty: Decimal; UndoQtyBase: Decimal)new in 28

Public procedures 3 in 29

TestServShptLine(ServShptLine: Record "Service Shipment Line")new in 25
UpdateServLine(ServLine: Record "Service Line"; UndoQty: Decimal; UndoQtyBase: Decimal; var TempUndoneItemLedgEntry: Record "Item Ledger Entry" temporary)new in 25
UpdateServLineCnsm(var ServLine: Record "Service Line"; UndoQty: Decimal; UndoQtyBase: Decimal; var TempUndoneItemLedgEntry: Record "Item Ledger Entry" temporary)new in 25

Changes 1 in 28

List17181920212223242526272829
Events1
[IntegrationEvent] OnUpdateServLineCnsmOnBeforeServLineModify(var ServiceLine: Record "Service Line"; UndoQty: Decimal; UndoQtyBase: Decimal)new in 28
added

All 1 changes in 25-29