Codeunit 5818 Undo Service Shipment Line

Base Application, Microsoft.Service.History

src/Layers/W1/BaseApp/Service/History/UndoServiceShipmentLine.Codeunit.al12 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 35, trigger

  1. 42raisesOnBeforeOnRunIsHandled
  2. 51callsCheckComponentsAdjusted
  3. 57callsCodeunit 27 Confirm Management GetResponseOrDefault
  4. 62callsCode

CheckComponentsAdjusted line 91, local

  1. 99raisesOnCheckComponentsAdjustedOnAfterLocalServShptLineSetFilters

Code line 108, local

  1. 128callsCheckServShptLine
  2. 137callsCodeunit 27 Confirm Management GetResponseOrDefault
  3. 141callsCodeunit 5912 ServLedgEntries-Post InitServiceRegister
  4. 146writesTable 32 Item Ledger Entry DeleteAll
  5. 149writesTable 6507 Item Entry Relation DeleteAll
  6. 155callsCodeunit 7320 Whse. Undo Quantity FindPostedWhseShptLine
  7. 160callsPostItemJnlLine
  8. 162callsGetCorrectionLineNo
  9. 165callsPostResJnlLine
  10. 167callsInsertNewShipmentLine
  11. 168raisesOnAfterInsertNewShipmentLine
  12. 171callsCodeunit 7320 Whse. Undo Quantity UndoPostedWhseShptLine
  13. 173callsCodeunit 5912 ServLedgEntries-Post ReverseServLedgEntry
  14. 175callsCodeunit 5912 ServLedgEntries-Post ReverseWarrantyEntry
  15. 177callsUpdateOrderLine
  16. 179callsCodeunit 7320 Whse. Undo Quantity UpdateShptSourceDocLines
  17. 182callsDeleteServShptLineServItems
  18. 189raisesOnCodeOnBeforeServShptLineModify
  19. 190writesTable 5991 Service Shipment Line Modify
  20. 191raisesOnCodeOnAfterServShptLineModify
  21. 193callsCodeunit 5912 ServLedgEntries-Post FinishServiceRegister
  22. 195callsMakeInventoryAdjustment
  23. 197callsCodeunit 7320 Whse. Undo Quantity PostTempWhseJnlLine
  24. 199raisesOnAfterCode

CheckServShptLine line 219, local

  1. 225raisesOnBeforeCheckServShptLineIsHandled
  2. 233callsCodeunit 6484 Serv. Undo Posting Mgt. TestServShptLine
  3. 235callsCodeunit 5817 Undo Posting Management CollectItemLedgEntries
  4. 237callsCodeunit 5817 Undo Posting Management CheckItemLedgEntries

GetCorrectionLineNo line 241

  1. 248raisesOnBeforeGetCorrectionLineNoIsHandled
  2. 266raisesOnAfterGetCorrectionLineNo

PostItemJnlLine line 269, local

  1. 283callsGetCorrectiveShptLineNoStep
  2. 304raisesOnAfterCopyItemJnlLineFromServShpt
  3. 306callsCodeunit 7320 Whse. Undo Quantity InsertTempWhseJnlLine
  4. 312runsCodeunit 22 Item Jnl.-Post Line
  5. 313raisesOnItemJnlPostLineOnAfterItemShptEntryNoOnBeforeExit
  6. 316callsCodeunit 5817 Undo Posting Management CollectItemLedgEntries
  7. 319callsCodeunit 5817 Undo Posting Management PostItemJnlLineAppliedToList
  8. 322raisesOnAfterPostItemJnlLine

InsertNewShipmentLine line 326, local

  1. 332raisesOnBeforeInsertNewShipmentLineIsHandled
  2. 339callsGetCorrectiveShptLineNoStep
  3. 350raisesOnBeforeNewServiceShptLineInsert
  4. 351writesTable 5991 Service Shipment Line Insert
  5. 353callsInsertItemEntryRelation

UpdateOrderLine line 356, local

  1. 361callsCodeunit 6484 Serv. Undo Posting Mgt. UpdateServLine
  2. 362raisesOnAfterUpdateOrderLine

InsertItemEntryRelation line 365, local

  1. 372callsTable 5991 Service Shipment Line TransferToItemEntryRelation
  2. 373writesTable 6507 Item Entry Relation Insert

PostResJnlLine line 377, local

  1. 415raisesOnBeforePostResJnlLineIsHandled
  2. 417callsCodeunit 212 Res. Jnl.-Post Line RunWithCheck
  3. 418raisesOnPostResJnlLineOnAfterRunWithCheck
  4. 420callsCodeunit 6451 Serv. Time Sheet Mgt. CreateTSLineFromServiceShptLine

DeleteServShptLineServItems line 423, local

  1. 433callsTable 5940 Service Item CheckIfCanBeDeleted
  2. 434writesTable 5940 Service Item Delete(true)

MakeInventoryAdjustment line 438, local

  1. 444callsTable 313 Inventory Setup AutomaticCostAdjmtRequired
  2. 445callsCodeunit 5894 Inventory Adjustment Handler SetJobUpdateProperties
  3. 446callsCodeunit 5894 Inventory Adjustment Handler MakeInventoryAdjustment