Codeunit 7320 Whse. Undo Quantity

Base Application, Microsoft.Warehouse.History

Source AL, 633 lines

src/Layers/W1/BaseApp/Warehouse/History/WhseUndoQuantity.Codeunit.allines 20 to 35 of 633, Copyright (c) Microsoft Corporation. MIT

codeunit 7320 "Whse. Undo Quantity"{    Permissions = TableData "Whse. Item Entry Relation" = md,                  TableData "Posted Whse. Shipment Line" = rimd;    TableNo = "Item Journal Line";    trigger OnRun()    begin    end;    var        WhseJnlRegisterLine: Codeunit "Whse. Jnl.-Register Line";#pragma warning disable AA0074#pragma warning disable AA0470        Text000: Label 'Assertion failed, %1.';

All 633 lines

Events 27 in 29

[IntegrationEvent] OnAfterUndoPostedWhseRcptLine(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line")17-29
[IntegrationEvent] OnAfterUndoPostedWhseShptLine(var PostedWhseShipmentLine: Record "Posted Whse. Shipment Line")17-29
[IntegrationEvent] OnAfterUpdateWhseRequestRcpt(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line")17-29
[IntegrationEvent] OnAfterUpdateWhseRequestShpt(var PostedWhseShipmentLine: Record "Posted Whse. Shipment Line")17-29
[IntegrationEvent] OnBeforeOldPostedWhseRcptLineModify(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line")17-29
[IntegrationEvent] OnBeforePostTempWhseJnlLine(var TempWhseJnlLine: Record "Warehouse Journal Line" temporary)17-29
[IntegrationEvent] OnBeforeTempWhseJnlLineInsert(var WarehouseJournalLine: Record "Warehouse Journal Line"; WarehouseEntry: Record "Warehouse Entry"; ItemJournalLine: Record "Item Journal Line")17-29

All 29 events in 17-29

Public procedures 10 in 29

InsertTempWhseJnlLine(ItemJnlLine: Record "Item Journal Line"; SourceType: Integer; SourceSubType: Integer; SourceNo: Code[20]; SourceLineNo: Integer; RefDoc: Integer; var TempWhseJnlLine: Record "Warehouse Journal Line" temporary; var NextLineNo: Integer)17-29
PostTempWhseJnlLine(var TempWhseJnlLine: Record "Warehouse Journal Line" temporary)17-29
PostTempWhseJnlLineCache(var TempWhseJnlLine: Record "Warehouse Journal Line" temporary; var WhseJnlRegLine: Codeunit "Whse. Jnl.-Register Line")17-29
UndoPostedWhseRcptLine(var PostedWhseRcptLine: Record "Posted Whse. Receipt Line")17-29
UndoPostedWhseShptLine(var PostedWhseShptLine: Record "Posted Whse. Shipment Line")17-29
UpdateRcptSourceDocLines(var PostedWhseRcptLine: Record "Posted Whse. Receipt Line")17-29

All 10 procedures

Changes 1 in 27

List17181920212223242526272829
Procedures1
Events65211
[IntegrationEvent] OnInsertTempWhseJnlLineOnBeforeCreateWhseJnlLine(var ItemJournalLine: Record "Item Journal Line")new in 27
added

All 16 changes in 17-29