Codeunit 5814 Undo Return Shipment Line

Base Application, Microsoft.Purchases.History

src/Layers/W1/BaseApp/Purchases/History/UndoReturnShipmentLine.Codeunit.al10 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 28, trigger

  1. 35raisesOnBeforeOnRunIsHandled
  2. 44callsCode

Code line 76, local

  1. 85raisesOnBeforeCode
  2. 97callsCheckReturnShptLine
  3. 105writesTable 32 Item Ledger Entry DeleteAll
  4. 108writesTable 6507 Item Entry Relation DeleteAll
  5. 115callsCodeunit 7320 Whse. Undo Quantity FindPostedWhseShptLine
  6. 119callsPostItemJnlLine
  7. 121callsGetCorrectionLineNo
  8. 123callsInsertNewReturnShptLine
  9. 124raisesOnAfterInsertNewReturnShptLine
  10. 127callsCodeunit 7320 Whse. Undo Quantity UndoPostedWhseShptLine
  11. 129callsUpdateOrderLine
  12. 131callsCodeunit 7320 Whse. Undo Quantity UpdateShptSourceDocLines
  13. 138raisesOnBeforeReturnShptLineModify
  14. 139writesTable 6651 Return Shipment Line Modify
  15. 140raisesOnAfterReturnShptLineModify
  16. 147callsMakeInventoryAdjustment
  17. 149callsCodeunit 7320 Whse. Undo Quantity PostTempWhseJnlLine
  18. 151raisesOnAfterCode

CheckReturnShptLine line 154, local

  1. 160raisesOnBeforeCheckReturnShptLineIsHandled
  2. 170callsTable 6651 Return Shipment Line TestProdOrder
  3. 172callsCodeunit 5817 Undo Posting Management TestReturnShptLine
  4. 174raisesOnCheckReturnShptLineOnBeforeCollectItemLedgEntriesIsHandled
  5. 176callsCodeunit 5817 Undo Posting Management CollectItemLedgEntries
  6. 178callsCodeunit 5817 Undo Posting Management CheckItemLedgEntries

GetCorrectionLineNo line 183, local

  1. 190raisesOnBeforeGetCorrectionLineNoIsHandled

PostItemJnlLine line 209, local

  1. 220raisesOnBeforePostItemJnlLineIsHandled
  2. 224callsGetCorrectionLineNo
  3. 259raisesOnAfterCopyItemJnlLineFromReturnShptIsHandled
  4. 263callsCodeunit 7320 Whse. Undo Quantity InsertTempWhseJnlLine
  5. 270callsCodeunit 5817 Undo Posting Management TransferSourceValues
  6. 271callsCodeunit 5817 Undo Posting Management PostItemJnlLine
  7. 274callsCodeunit 5817 Undo Posting Management CollectItemLedgEntries
  8. 277callsCodeunit 5817 Undo Posting Management PostItemJnlLineAppliedToList

InsertNewReturnShptLine line 283, local

  1. 299raisesOnBeforeNewReturnShptLineInsert
  2. 300writesTable 6651 Return Shipment Line Insert
  3. 301raisesOnAfterNewReturnShptLineInsert
  4. 303callsInsertItemEntryRelation

UpdateOrderLine line 306

  1. 312raisesOnBeforeUpdateOrderLineIsHandled
  2. 317raisesOnUpdateOrderLineOnBeforeUpdatePurchLine
  3. 318callsCodeunit 5817 Undo Posting Management UpdatePurchLine
  4. 319raisesOnAfterUpdatePurchLine

InsertItemEntryRelation line 322, local

  1. 329callsTable 6507 Item Entry Relation TransferFieldsReturnShptLine
  2. 330writesTable 6507 Item Entry Relation Insert

MakeInventoryAdjustment line 334, local

  1. 338callsCodeunit 5894 Inventory Adjustment Handler SetJobUpdateProperties
  2. 339callsCodeunit 5894 Inventory Adjustment Handler MakeAutomaticInventoryAdjustment

OnSetItemAdjmtPropertiesOnBeforeCheckModifyItem line 343, local

  1. 347callsTable 313 Inventory Setup UseLegacyPosting