Codeunit 7320 "Whse. Undo Quantity"
Base Application · Microsoft.Warehouse.History
Across versions
- BC23-24present
- BC251 procedures added, 1 events added
- BC26unchanged
- BC271 events added
- BC28-30unchanged
Neighbourhood 13 connected objects and pages
Base Application · Microsoft.Warehouse.History · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Item Journal Line |
| Permissions | TableData “Whse. Item Entry Relation” = md, TableData “Posted Whse. Shipment Line” = rimd |
Events published
OnAfterPostTempWhseJnlLineCache(var TempWhseJnlLine: Record "Warehouse Journal Line" temporary)(integration)OnAfterUndoPostedWhseRcptLine(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line")(integration)OnAfterUndoPostedWhseShptLine(var PostedWhseShipmentLine: Record "Posted Whse. Shipment Line")(integration)OnAfterUpdateWhseRequestRcpt(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line")(integration)OnAfterUpdateWhseRequestShpt(var PostedWhseShipmentLine: Record "Posted Whse. Shipment Line")(integration)OnBeforeGetWhseShptLineSpacing(OldPostedWhseShptLine: Record "Posted Whse. Shipment Line"; var NewPostedWhseShptLine: Record "Posted Whse. Shipment Line"; var LineSpacing: Integer; var IsHandled: Boolean)(integration)OnBeforeGetWhseRcptLineSpacing(OldPostedWhseRcptLine: Record "Posted Whse. Receipt Line"; var NewPostedWhseRcptLine: Record "Posted Whse. Receipt Line"; var LineSpacing: Integer; var IsHandled: Boolean)(integration)OnBeforeFindPostedWhseRcptLine(var PostedWhseRcptLine: Record "Posted Whse. Receipt Line"; UndoType: Integer; UndoID: Code[20]; SourceType: Integer; SourceSubtype: Integer; SourceID: Code[20]; SourceRefNo: Integer; var Ok: Boolean; var IsHandled: Boolean)(integration)OnBeforeFindPostedWhseShptLine(var PostedWhseShptLine: Record "Posted Whse. Shipment Line"; UndoType: Integer; UndoID: Code[20]; SourceType: Integer; SourceSubtype: Integer; SourceID: Code[20]; SourceRefNo: Integer; var Ok: Boolean; var IsHandled: Boolean)(integration)OnBeforeOldPostedWhseRcptLineModify(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line")(integration)OnBeforePostTempWhseJnlLine(var TempWhseJnlLine: Record "Warehouse Journal Line" temporary)(integration)OnBeforePostedWhseRcptLineInsert(var NewPostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; OldPostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; LineSpacing: Integer)(integration)OnBeforePostedWhseShptLineInsert(var NewPostedWhseShipmentLine: Record "Posted Whse. Shipment Line"; OldPostedWhseShipmentLine: Record "Posted Whse. Shipment Line"; LineSpacing: Integer)(integration)OnBeforeTempWhseJnlLineInsert(var WarehouseJournalLine: Record "Warehouse Journal Line"; WarehouseEntry: Record "Warehouse Entry"; ItemJournalLine: Record "Item Journal Line")(integration)OnBeforeUpdateWhseRequestShpt(var PostedWhseShipmentLine: Record "Posted Whse. Shipment Line"; var IsHandled: Boolean)(integration)OnBeforeWhseRcptLineModify(var WarehouseReceiptLine: Record "Warehouse Receipt Line"; var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line")(integration)OnBeforeWhseShptLineModify(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var PostedWhseShipmentLine: Record "Posted Whse. Shipment Line")(integration)OnFindPostedWhseRcptLineOnAfterSetFilters(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line")(integration)OnFindPostedWhseShptLineOnAfterSetFilters(var PostedWhseShipmentLine: Record "Posted Whse. Shipment Line")(integration)OnAfterUpdateWhseRcptLine(var PostedWhseRcptLine: Record "Posted Whse. Receipt Line"; var WhseRcptLine: Record "Warehouse Receipt Line")(integration)OnInsertTempWhseJnlLineOnAfterWhseEntrySetFilters(ItemJnlLine: Record "Item Journal Line"; SourceType: Integer; SourceSubType: Integer; SourceNo: Code[20]; SourceLineNo: Integer; RefDoc: Integer; var WhseEntry: Record "Warehouse Entry")(integration)OnInsertTempWhseJnlLineOnAfterTempWhseJnlLineInit(var ItemJnlLine: Record "Item Journal Line"; var WarehouseEntry: Record "Warehouse Entry"; var WarehouseJournalLine: Record "Warehouse Journal Line")(integration)OnPostTempWhseJnlLineCacheOnBeforeRegisterWhseJnlLine(var TempWarehouseJournalLine: Record "Warehouse Journal Line" temporary)(integration)OnBeforeUpdateWhseRcptLine(PostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; var IsHandled: Boolean)(integration)OnBeforeUpdateWhseShptLine(PostedWhseShipmentLine: Record "Posted Whse. Shipment Line"; var IsHandled: Boolean)(integration)OnAfterIsShipmentLine(UndoType: Integer; var IsShipment: Boolean)+ BC25 (integration)- subscribers: Codeunit 5995 “Service Warehouse Mgt.” OnAfterIsSalesShipmentLine
OnInsertTempWhseJnlLineOnBeforeCreateWhseJnlLine(var ItemJournalLine: Record "Item Journal Line")+ BC27 (integration)
Procedures
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)PostTempWhseJnlLine(var TempWhseJnlLine: Record "Warehouse Journal Line" temporary)PostTempWhseJnlLineCache(var TempWhseJnlLine: Record "Warehouse Journal Line" temporary; var WhseJnlRegLine: Codeunit "Whse. Jnl.-Register Line")UndoPostedWhseRcptLine(var PostedWhseRcptLine: Record "Posted Whse. Receipt Line")UndoPostedWhseShptLine(var PostedWhseShptLine: Record "Posted Whse. Shipment Line")UpdateRcptSourceDocLines(var PostedWhseRcptLine: Record "Posted Whse. Receipt Line")UpdateShptSourceDocLines(var PostedWhseShptLine: Record "Posted Whse. Shipment Line")FindPostedWhseRcptLine(var PostedWhseRcptLine: Record "Posted Whse. Receipt Line"; UndoType: Integer; UndoID: Code[20]; SourceType: Integer; SourceSubtype: Integer; SourceID: Code[20]; SourceRefNo: Integer): BooleanFindPostedWhseShptLine(var PostedWhseShptLine: Record "Posted Whse. Shipment Line"; UndoType: Integer; UndoID: Code[20]; SourceType: Integer; SourceSubtype: Integer; SourceID: Code[20]; SourceRefNo: Integer): BooleanInsertPostedWhseShptLine(OldPostedWhseShptLine: Record "Posted Whse. Shipment Line")
Plus 15 local procedures.
Triggers
OnRun
Relations
- runs on Table 83 “Item Journal Line”
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 5775 “Whse. Management” (4 calls:
FindPostedWhseRcptLine → SetSourceFilterForPostedWhseRcptLine,FindPostedWhseShptLine → SetSourceFilterForPostedWhseShptLine,InsertTempWhseJnlLine → GetWhseJnlSourceDocument, …) - Codeunit 7301 “Whse. Jnl.-Register Line” (1 call:
PostTempWhseJnlLineCache → RegisterWhseJnlLine) - Codeunit 7302 “WMS Management” (1 call:
InsertTempWhseJnlLine → CreateWhseJnlLine)
Called by
- Codeunit 5813 “Undo Purchase Receipt Line” (5 calls:
Code → FindPostedWhseRcptLine,Code → PostTempWhseJnlLine,Code → UndoPostedWhseRcptLine, …) - Codeunit 5814 “Undo Return Shipment Line” (5 calls:
Code → FindPostedWhseShptLine,Code → PostTempWhseJnlLine,Code → UndoPostedWhseShptLine, …) - Codeunit 5815 “Undo Sales Shipment Line” (5 calls:
Code → FindPostedWhseShptLine,Code → PostTempWhseJnlLineCache,Code → UndoPostedWhseShptLine, …) - Codeunit 5816 “Undo Return Receipt Line” (5 calls:
Code → FindPostedWhseRcptLine,Code → PostTempWhseJnlLine,Code → UndoPostedWhseRcptLine, …) - Codeunit 5818 “Undo Service Shipment Line” (5 calls:
Code → FindPostedWhseShptLine,Code → PostTempWhseJnlLine,Code → UndoPostedWhseShptLine, …) - Codeunit 9030 “Undo Transfer Shipment” (5 calls:
Code → FindPostedWhseShptLine,Code → PostTempWhseJnlLineCache,Code → UndoPostedWhseShptLine, …) - Codeunit 5819 “Undo Service Consumption Line” (2 calls:
Code → PostTempWhseJnlLine,PostItemJnlLine → InsertTempWhseJnlLine) - Codeunit 5817 “Undo Posting Management” (1 call:
TestPostedWhseReceiptLine → FindPostedWhseRcptLine)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Whse. Undo Quantity"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.