Codeunit 5818 Undo Service Shipment Line
src/Layers/W1/BaseApp/Service/History/UndoServiceShipmentLine.Codeunit.al12 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
OnRun line 35, trigger
- 42raisesOnBeforeOnRunIsHandled
- 51callsCheckComponentsAdjusted
- 57callsCodeunit 27 Confirm Management GetResponseOrDefault
- 62callsCode
CheckComponentsAdjusted line 91, local
Code line 108, local
- 128callsCheckServShptLine
- 137callsCodeunit 27 Confirm Management GetResponseOrDefault
- 141callsCodeunit 5912 ServLedgEntries-Post InitServiceRegister
- 146writesTable 32 Item Ledger Entry DeleteAll
- 149writesTable 6507 Item Entry Relation DeleteAll
- 155callsCodeunit 7320 Whse. Undo Quantity FindPostedWhseShptLine
- 160callsPostItemJnlLine
- 162callsGetCorrectionLineNo
- 165callsPostResJnlLine
- 167callsInsertNewShipmentLine
- 168raisesOnAfterInsertNewShipmentLine
- 171callsCodeunit 7320 Whse. Undo Quantity UndoPostedWhseShptLine
- 173callsCodeunit 5912 ServLedgEntries-Post ReverseServLedgEntry
- 175callsCodeunit 5912 ServLedgEntries-Post ReverseWarrantyEntry
- 177callsUpdateOrderLine
- 179callsCodeunit 7320 Whse. Undo Quantity UpdateShptSourceDocLines
- 182callsDeleteServShptLineServItems
- 189raisesOnCodeOnBeforeServShptLineModify
- 190writesTable 5991 Service Shipment Line Modify
- 191raisesOnCodeOnAfterServShptLineModify
- 193callsCodeunit 5912 ServLedgEntries-Post FinishServiceRegister
- 195callsMakeInventoryAdjustment
- 197callsCodeunit 7320 Whse. Undo Quantity PostTempWhseJnlLine
- 199raisesOnAfterCode
CheckServShptLine line 219, local
- 225raisesOnBeforeCheckServShptLineIsHandled
- 233callsCodeunit 6484 Serv. Undo Posting Mgt. TestServShptLine
- 235callsCodeunit 5817 Undo Posting Management CollectItemLedgEntries
- 237callsCodeunit 5817 Undo Posting Management CheckItemLedgEntries
GetCorrectionLineNo line 241
- 248raisesOnBeforeGetCorrectionLineNoIsHandled
- 266raisesOnAfterGetCorrectionLineNo
PostItemJnlLine line 269, local
- 283callsGetCorrectiveShptLineNoStep
- 304raisesOnAfterCopyItemJnlLineFromServShpt
- 306callsCodeunit 7320 Whse. Undo Quantity InsertTempWhseJnlLine
- 312runsCodeunit 22 Item Jnl.-Post Line
- 313raisesOnItemJnlPostLineOnAfterItemShptEntryNoOnBeforeExit
- 316callsCodeunit 5817 Undo Posting Management CollectItemLedgEntries
- 319callsCodeunit 5817 Undo Posting Management PostItemJnlLineAppliedToList
- 322raisesOnAfterPostItemJnlLine
InsertNewShipmentLine line 326, local
- 332raisesOnBeforeInsertNewShipmentLineIsHandled
- 339callsGetCorrectiveShptLineNoStep
- 350raisesOnBeforeNewServiceShptLineInsert
- 351writesTable 5991 Service Shipment Line Insert
- 353callsInsertItemEntryRelation
UpdateOrderLine line 356, local
- 361callsCodeunit 6484 Serv. Undo Posting Mgt. UpdateServLine
- 362raisesOnAfterUpdateOrderLine
InsertItemEntryRelation line 365, local
- 372callsTable 5991 Service Shipment Line TransferToItemEntryRelation
- 373writesTable 6507 Item Entry Relation Insert
PostResJnlLine line 377, local
- 415raisesOnBeforePostResJnlLineIsHandled
- 417callsCodeunit 212 Res. Jnl.-Post Line RunWithCheck
- 418raisesOnPostResJnlLineOnAfterRunWithCheck
- 420callsCodeunit 6451 Serv. Time Sheet Mgt. CreateTSLineFromServiceShptLine
DeleteServShptLineServItems line 423, local
- 433callsTable 5940 Service Item CheckIfCanBeDeleted
- 434writesTable 5940 Service Item Delete(true)
MakeInventoryAdjustment line 438, local
- 444callsTable 313 Inventory Setup AutomaticCostAdjmtRequired
- 445callsCodeunit 5894 Inventory Adjustment Handler SetJobUpdateProperties
- 446callsCodeunit 5894 Inventory Adjustment Handler MakeInventoryAdjustment