Codeunit 5816 Undo Return Receipt Line

Base Application, Microsoft.Sales.History

src/Layers/W1/BaseApp/Sales/History/UndoReturnReceiptLine.Codeunit.al11 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 33, trigger

  1. 40raisesOnBeforeOnRunIsHandled
  2. 49callsCode

Code line 84, local

  1. 95raisesOnBeforeCodeIsHandled
  2. 107raisesOnCodeOnBeforeCallCheckReturnRcptLine
  3. 108callsCheckReturnRcptLine
  4. 116writesTable 32 Item Ledger Entry DeleteAll
  5. 119writesTable 6507 Item Entry Relation DeleteAll
  6. 126callsCodeunit 7320 Whse. Undo Quantity FindPostedWhseRcptLine
  7. 131callsPostItemJnlLine
  8. 133callsGetCorrectionLineNo
  9. 135callsInsertNewReceiptLine
  10. 138raisesOnAfterInsertNewReceiptLineIsHandled
  11. 145writesTable 37 Sales Line Modify
  12. 149callsCodeunit 7320 Whse. Undo Quantity UndoPostedWhseRcptLine
  13. 151callsUpdateOrderLine
  14. 152callsUpdateItemTrkgApplFromEntry
  15. 156callsCodeunit 7320 Whse. Undo Quantity UpdateRcptSourceDocLines
  16. 163raisesOnBeforeReturnRcptLineModify
  17. 164writesTable 6661 Return Receipt Line Modify
  18. 165raisesOnAfterReturnRcptLineModify
  19. 169callsMakeInventoryAdjustment
  20. 171callsCodeunit 7320 Whse. Undo Quantity PostTempWhseJnlLine
  21. 174raisesOnAfterCode

CheckReturnRcptLine line 177, local

  1. 183raisesOnBeforeCheckReturnRcptLineIsHandled
  2. 191raisesOnCheckReturnRcptLineOnBeforeCheckReturnQtyRcdNotInvdIsHandled
  3. 197callsCodeunit 5817 Undo Posting Management TestReturnRcptLine
  4. 199raisesOnCheckReturnRcptLineOnBeforeCollectItemLedgEntriesIsHandled
  5. 201callsCodeunit 5817 Undo Posting Management CollectItemLedgEntries
  6. 203callsCodeunit 5817 Undo Posting Management CheckItemLedgEntries

GetCorrectionLineNo line 208, local

  1. 215raisesOnBeforeGetCorrectionLineNoIsHandled

PostItemJnlLine line 234, local

  1. 245raisesOnBeforePostItemJnlLineIsHandled
  2. 249callsGetCorrectionLineNo
  3. 274raisesOnAfterCopyItemJnlLineFromReturnRcptIsHandled
  4. 280callsCodeunit 7320 Whse. Undo Quantity InsertTempWhseJnlLine
  5. 286runsCodeunit 22 Item Jnl.-Post Line
  6. 287raisesOnPostItemJnlLineOnAfterRunItemJnlPostLine
  7. 291callsCodeunit 5817 Undo Posting Management CollectItemLedgEntries
  8. 294callsCodeunit 5817 Undo Posting Management PostItemJnlLineAppliedToList

InsertNewReceiptLine line 300, local

  1. 316raisesOnBeforeNewReturnRcptLineInsert
  2. 317writesTable 6661 Return Receipt Line Insert
  3. 318raisesOnAfterNewReturnRcptLineInsert
  4. 320callsInsertItemEntryRelation

UpdateOrderLine line 327

  1. 333raisesOnBeforeUpdateOrderLineIsHandled
  2. 338raisesOnUpdateOrderLineOnBeforeUpdateSalesLine
  3. 339callsCodeunit 5817 Undo Posting Management UpdateSalesLine
  4. 340raisesOnAfterUpdateSalesLine

InsertItemEntryRelation line 343, local

  1. 350callsTable 6507 Item Entry Relation TransferFieldsReturnRcptLine
  2. 351writesTable 6507 Item Entry Relation Insert

UpdateItemTrkgApplFromEntry line 355, local

  1. 360callsTable 37 Sales Line SetReservationFilters
  2. 364callsTable 339 Item Application Entry AppliedOutbndEntryExists
  3. 366writesTable 337 Reservation Entry Modify

MakeInventoryAdjustment line 371, local

  1. 375callsCodeunit 5894 Inventory Adjustment Handler SetJobUpdateProperties
  2. 376callsCodeunit 5894 Inventory Adjustment Handler MakeAutomaticInventoryAdjustment

OnSetItemAdjmtPropertiesOnBeforeCheckModifyItem line 380, local

  1. 384callsTable 313 Inventory Setup UseLegacyPosting