{"title":"Codeunit 7320 Whse. Undo Quantity, events","url":"https://jonas-paprotka.de/ref/codeunit/7320-whse-undo-quantity/events/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":7320,"name":"Whse. Undo Quantity","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/7320-whse-undo-quantity/","json":"https://jonas-paprotka.de/ref/codeunit/7320-whse-undo-quantity.json"},"aspect":"events","total":29,"rows":[{"name":"OnAfterUndoPostedWhseRcptLine","sig":"(var Record Posted Whse. Receipt Line)","named":"(var PostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterUndoPostedWhseShptLine","sig":"(var Record Posted Whse. Shipment Line)","named":"(var PostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterUpdateWhseRequestRcpt","sig":"(var Record Posted Whse. Receipt Line)","named":"(var PostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterUpdateWhseRequestShpt","sig":"(var Record Posted Whse. Shipment Line)","named":"(var PostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeOldPostedWhseRcptLineModify","sig":"(var Record Posted Whse. Receipt Line)","named":"(var PostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforePostTempWhseJnlLine","sig":"(var Record Warehouse Journal Line)","named":"(var TempWhseJnlLine: Record \"Warehouse Journal Line\" temporary)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var TempWhseJnlLine: Record \"Warehouse Journal Line\" temporary)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforePostedWhseRcptLineInsert","sig":"(var Record Posted Whse. Receipt Line, Record Posted Whse. Receipt Line)","named":"(var NewPostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\"; OldPostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-18","first":17,"last":18,"obsoleteSince":null,"spans":[{"from":17,"to":18,"named":"(var NewPostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\"; OldPostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforePostedWhseShptLineInsert","sig":"(var Record Posted Whse. Shipment Line, Record Posted Whse. Shipment Line)","named":"(var NewPostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\"; OldPostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17","first":17,"last":17,"obsoleteSince":null,"spans":[{"from":17,"to":17,"named":"(var NewPostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\"; OldPostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeTempWhseJnlLineInsert","sig":"(var Record Warehouse Journal Line, Record Warehouse Entry, Record Item Journal Line)","named":"(var WarehouseJournalLine: Record \"Warehouse Journal Line\"; WarehouseEntry: Record \"Warehouse Entry\"; ItemJournalLine: Record \"Item Journal Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var WarehouseJournalLine: Record \"Warehouse Journal Line\"; WarehouseEntry: Record \"Warehouse Entry\"; ItemJournalLine: Record \"Item Journal Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeUpdateWhseRequestShpt","sig":"(var Record Posted Whse. Shipment Line, var Boolean)","named":"(var PostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeWhseRcptLineModify","sig":"(var Record Warehouse Receipt Line, var Record Posted Whse. Receipt Line)","named":"(var WarehouseReceiptLine: Record \"Warehouse Receipt Line\"; var PostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var WarehouseReceiptLine: Record \"Warehouse Receipt Line\"; var PostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeWhseShptLineModify","sig":"(var Record Warehouse Shipment Line, var Record Posted Whse. Shipment Line)","named":"(var WarehouseShipmentLine: Record \"Warehouse Shipment Line\"; var PostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var WarehouseShipmentLine: Record \"Warehouse Shipment Line\"; var PostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnFindPostedWhseRcptLineOnAfterSetFilters","sig":"(var Record Posted Whse. Receipt Line)","named":"(var PostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnFindPostedWhseShptLineOnAfterSetFilters","sig":"(var Record Posted Whse. Shipment Line)","named":"(var PostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterUpdateWhseRcptLine","sig":"(var Record Posted Whse. Receipt Line, var Record Warehouse Receipt Line)","named":"(var PostedWhseRcptLine: Record \"Posted Whse. Receipt Line\"; var WhseRcptLine: Record \"Warehouse Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PostedWhseRcptLine: Record \"Posted Whse. Receipt Line\"; var WhseRcptLine: Record \"Warehouse Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnInsertTempWhseJnlLineOnAfterWhseEntrySetFilters","sig":"(Record Item Journal Line, Integer, Integer, Code[20], Integer, Integer, var Record Warehouse Entry)","named":"(ItemJnlLine: Record \"Item Journal Line\"; SourceType: Integer; SourceSubType: Integer; SourceNo: Code[20]; SourceLineNo: Integer; RefDoc: Integer; var WhseEntry: Record \"Warehouse Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(ItemJnlLine: Record \"Item Journal Line\"; SourceType: Integer; SourceSubType: Integer; SourceNo: Code[20]; SourceLineNo: Integer; RefDoc: Integer; var WhseEntry: Record \"Warehouse Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeGetWhseShptLineSpacing","sig":"(Record Posted Whse. Shipment Line, var Record Posted Whse. Shipment Line, var Integer, var Boolean)","named":"(OldPostedWhseShptLine: Record \"Posted Whse. Shipment Line\"; var NewPostedWhseShptLine: Record \"Posted Whse. Shipment Line\"; var LineSpacing: Integer; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(OldPostedWhseShptLine: Record \"Posted Whse. Shipment Line\"; var NewPostedWhseShptLine: Record \"Posted Whse. Shipment Line\"; var LineSpacing: Integer; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforePostedWhseShptLineInsert","sig":"(var Record Posted Whse. Shipment Line, Record Posted Whse. Shipment Line, Integer)","named":"(var NewPostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\"; OldPostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\"; LineSpacing: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var NewPostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\"; OldPostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\"; LineSpacing: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnInsertTempWhseJnlLineOnAfterTempWhseJnlLineInit","sig":"(var Record Item Journal Line, var Record Warehouse Entry, var Record Warehouse Journal Line)","named":"(var ItemJnlLine: Record \"Item Journal Line\"; var WarehouseEntry: Record \"Warehouse Entry\"; var WarehouseJournalLine: Record \"Warehouse Journal Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var ItemJnlLine: Record \"Item Journal Line\"; var WarehouseEntry: Record \"Warehouse Entry\"; var WarehouseJournalLine: Record \"Warehouse Journal Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeUpdateWhseRcptLine","sig":"(Record Posted Whse. Receipt Line, var Boolean)","named":"(PostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(PostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeUpdateWhseShptLine","sig":"(Record Posted Whse. Shipment Line, var Boolean)","named":"(PostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(PostedWhseShipmentLine: Record \"Posted Whse. Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterPostTempWhseJnlLineCache","sig":"(var Record Warehouse Journal Line)","named":"(var TempWhseJnlLine: Record \"Warehouse Journal Line\" temporary)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"19-29","first":19,"last":29,"obsoleteSince":null,"spans":[{"from":19,"to":29,"named":"(var TempWhseJnlLine: Record \"Warehouse Journal Line\" temporary)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeGetWhseRcptLineSpacing","sig":"(Record Posted Whse. Receipt Line, var Record Posted Whse. Receipt Line, var Integer, var Boolean)","named":"(OldPostedWhseRcptLine: Record \"Posted Whse. Receipt Line\"; var NewPostedWhseRcptLine: Record \"Posted Whse. Receipt Line\"; var LineSpacing: Integer; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"19-29","first":19,"last":29,"obsoleteSince":null,"spans":[{"from":19,"to":29,"named":"(OldPostedWhseRcptLine: Record \"Posted Whse. Receipt Line\"; var NewPostedWhseRcptLine: Record \"Posted Whse. Receipt Line\"; var LineSpacing: Integer; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforePostedWhseRcptLineInsert","sig":"(var Record Posted Whse. Receipt Line, Record Posted Whse. Receipt Line, Integer)","named":"(var NewPostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\"; OldPostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\"; LineSpacing: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"19-29","first":19,"last":29,"obsoleteSince":null,"spans":[{"from":19,"to":29,"named":"(var NewPostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\"; OldPostedWhseReceiptLine: Record \"Posted Whse. Receipt Line\"; LineSpacing: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnPostTempWhseJnlLineCacheOnBeforeRegisterWhseJnlLine","sig":"(var Record Warehouse Journal Line)","named":"(var TempWarehouseJournalLine: Record \"Warehouse Journal Line\" temporary)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"19-29","first":19,"last":29,"obsoleteSince":null,"spans":[{"from":19,"to":29,"named":"(var TempWarehouseJournalLine: Record \"Warehouse Journal Line\" temporary)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeFindPostedWhseRcptLine","sig":"(var Record Posted Whse. Receipt Line, Integer, Code[20], Integer, Integer, Code[20], Integer, var Boolean, var Boolean)","named":"(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)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(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)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeFindPostedWhseShptLine","sig":"(var Record Posted Whse. Shipment Line, Integer, Code[20], Integer, Integer, Code[20], Integer, var Boolean, var Boolean)","named":"(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)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(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)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterIsShipmentLine","sig":"(Integer, var Boolean)","named":"(UndoType: Integer; var IsShipment: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(UndoType: Integer; var IsShipment: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnInsertTempWhseJnlLineOnBeforeCreateWhseJnlLine","sig":"(var Record Item Journal Line)","named":"(var ItemJournalLine: Record \"Item Journal Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"27-29","first":27,"last":29,"obsoleteSince":null,"spans":[{"from":27,"to":29,"named":"(var ItemJournalLine: Record \"Item Journal Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}