Codeunit 5814 Undo Return Shipment Line

Base Application, Microsoft.Purchases.History

Source AL, 435 lines

src/Layers/W1/BaseApp/Purchases/History/UndoReturnShipmentLine.Codeunit.allines 20 to 35 of 435, Copyright (c) Microsoft Corporation. MIT

codeunit 5814 "Undo Return Shipment Line"{    Permissions = TableData "Purchase Line" = rimd,                  TableData "Item Entry Relation" = ri,                  TableData "Return Shipment Line" = rimd;    TableNo = "Return Shipment Line";    EventSubscriberInstance = Manual;    trigger OnRun()    var        IsHandled: Boolean;        SkipTypeCheck: Boolean;    begin        IsHandled := false;        SkipTypeCheck := false;        OnBeforeOnRun(Rec, IsHandled, SkipTypeCheck, HideDialog);

All 435 lines

Events 16 in 29

[IntegrationEvent] OnAfterInsertNewReturnShptLine(var ReturnShipmentLine: Record "Return Shipment Line"; PostedWhseShptLine: Record "Posted Whse. Shipment Line"; var PostedWhseShptLineFound: Boolean; DocLineNo: Integer)17-29
[IntegrationEvent] OnAfterNewReturnShptLineInsert(var NewReturnShipmentLine: Record "Return Shipment Line"; OldReturnShipmentLine: Record "Return Shipment Line")17-29
[IntegrationEvent] OnAfterUpdatePurchLine(var PurchaseLine: Record "Purchase Line"; var ReturnShptLine: Record "Return Shipment Line")17-29
[IntegrationEvent] OnBeforeCheckReturnShptLine(var ReturnShptLine: Record "Return Shipment Line"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeNewReturnShptLineInsert(var NewReturnShipmentLine: Record "Return Shipment Line"; OldReturnShipmentLine: Record "Return Shipment Line")17-29
[IntegrationEvent] OnBeforePostItemJnlLine(var ReturnShipmentLine: Record "Return Shipment Line"; DocLineNo: Integer; var ItemLedgEntryNo: Integer; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeOnRun(var ReturnShipmentLine: Record "Return Shipment Line"; var IsHandled: Boolean; var SkipTypeCheck: Boolean; var HideDialog: Boolean)new in 18

All 23 events in 17-29

Public procedures 2 in 29

SetHideDialog(NewHideDialog: Boolean)17-29
UpdateOrderLine(ReturnShptLine: Record "Return Shipment Line")17-29

Changes 2 in 24

List17181920212223242526272829
Events6382
[IntegrationEvent] OnAfterCopyItemJnlLineFromReturnShpt(var ItemJournalLine: Record "Item Journal Line"; ReturnShipmentHeader: Record "Return Shipment Header"; ReturnShipmentLine: Record "Return Shipment Line"; var WhseUndoQty: Codeunit "Whse. Undo Quantity")18 to 23
gone
[IntegrationEvent] OnAfterCopyItemJnlLineFromReturnShpt(var ItemJournalLine: Record "Item Journal Line"; ReturnShipmentHeader: Record "Return Shipment Header"; ReturnShipmentLine: Record "Return Shipment Line"; var WhseUndoQty: Codeunit "Whse. Undo Quantity"; var ItemLedgEntryNo: Integer; var TempWhseJnlLine: Record "Warehouse Journal Line" temporary; var NextLineNo: Integer; var TempGlobalItemLedgerEntry: Record "Item Ledger Entry" temporary; var TempGlobalItemEntryRelation: Record "Item Entry Relation" temporary; var IsHandled: Boolean)new in 24
added

All 19 changes in 17-29