Codeunit 5819 Undo Service Consumption Line
src/Layers/W1/BaseApp/Service/History/UndoServiceConsumptionLine.Codeunit.al16 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
OnRun line 36, trigger
- 42raisesOnBeforeOnRunIsHandled
- 50callsCodeunit 27 Confirm Management GetResponseOrDefault
- 55callsCode
Code line 96, local
- 110callsCheckServShptLine
- 113callsCodeunit 5912 ServLedgEntries-Post InitServiceRegister
- 119writesTable 32 Item Ledger Entry DeleteAll
- 122writesTable 6507 Item Entry Relation DeleteAll
- 128callsCollectItemLedgerEntries
- 129callsPostItemJnlLine
- 135callsPostResourceJnlLine
- 136callsInsertCorrectiveShipmentLine
- 138callsCodeunit 5912 ServLedgEntries-Post ReverseCnsmServLedgEntries
- 140callsCodeunit 5912 ServLedgEntries-Post ReverseWarrantyEntry
- 142callsUpdateOrderLine
- 143callsUpdateServShptLine
- 144raisesOnCodeOnAfterUpdateServShptLine
- 147callsCodeunit 5912 ServLedgEntries-Post FinishServiceRegister
- 149callsMakeInventoryAdjustment
- 151callsCodeunit 7320 Whse. Undo Quantity PostTempWhseJnlLine
- 153raisesOnAfterCode
CheckServShptLine line 156, local
- 164raisesOnBeforeCheckServShptLineIsHandled
- 183callsCodeunit 6484 Serv. Undo Posting Mgt. TestServShptLine
- 185callsCodeunit 5817 Undo Posting Management CollectItemLedgEntries
- 187callsCodeunit 5817 Undo Posting Management CheckItemLedgEntries
CollectItemLedgerEntries line 191, local
- 196callsTable 5991 Service Shipment Line FilterPstdDocLnItemLedgEntries
- 197callsCodeunit 6503 Item Tracking Doc. Management CopyItemLedgerEntriesToTemp
- 198callsCodeunit 6503 Item Tracking Doc. Management RetrieveDocumentItemTracking
PostItemJnlLine line 203, local
- 215callsGetCorrectiveShptLineNoStep
- 217callsTable 83 Item Journal Line CopyDocumentFields
- 219callsTable 5990 Service Shipment Header CopyToItemJnlLine
- 220callsTable 5991 Service Shipment Line CopyToItemJnlLineUndo
- 227validatesTable 83 Item Journal Line Applies-from Entry
- 229raisesOnAfterCopyItemJnlLineFromServShpt
- 231callsCodeunit 7320 Whse. Undo Quantity InsertTempWhseJnlLine
- 236callsCodeunit 22 Item Jnl.-Post Line SetServUndoConsumption
- 237callsCodeunit 22 Item Jnl.-Post Line RunWithCheck
- 238raisesOnItemJnlPostLineOnAfteItemJnlPostLineOnBeforeExit
- 245writesTable 32 Item Ledger Entry DeleteAll
- 250writesTable 32 Item Ledger Entry Insert
- 252callsInsertNewReservationEntries
- 253callsPostItemJnlLineWithIT
PostResourceJnlLine line 258, local
- 265raisesOnBeforePostResourceJnlLineIsHandled
- 273callsTable 207 Res. Journal Line CopyDocumentFields
- 275callsTable 5990 Service Shipment Header CopyToResJournalLine
- 276callsTable 5991 Service Shipment Line CopyToResJournalLine
- 286raisesOnPostResourceJnlLineOnBeforeResJnlPostLine
- 287callsCodeunit 212 Res. Jnl.-Post Line RunWithCheck
PostItemJnlLineWithIT line 290, local
- 298callsGetCorrectiveShptLineNoStep
- 300callsTable 83 Item Journal Line CopyDocumentFields
- 303callsTable 5990 Service Shipment Header CopyToItemJnlLine
- 304callsTable 5991 Service Shipment Line CopyToItemJnlLineUndo
- 319callsCodeunit 6500 Item Tracking Management AdjustQuantityRounding
- 328raisesOnBeforePostItemJnlLineWithIT
- 330callsCodeunit 5817 Undo Posting Management CollectItemLedgEntries
- 333callsCodeunit 5817 Undo Posting Management PostItemJnlLineAppliedToList
InsertNewReservationEntries line 337, local
- 350callsTable 337 Reservation Entry CopyTrackingFromItemLedgEntry
- 362validatesTable 337 Reservation Entry Quantity (Base)
- 374callsTable 337 Reservation Entry UpdateItemTracking
- 376raisesOnBeforeReservEntryInsert
- 377writesTable 337 Reservation Entry Insert
- 379writesTable 337 Reservation Entry Insert
- 381callsCodeunit 99000831 Reservation Engine Mgt. UpdateOrderTracking
InsertNewTrackSpecifications line 384, local
- 392writesTable 32 Item Ledger Entry DeleteAll
- 393callsCollectItemLedgerEntries
- 396callsInsertOneNewTrackSpec
- 400callsTable 6507 Item Entry Relation CopyTrackingFromItemledgEntry
- 401raisesOnBeforeTempGlobalItemEntryRelationInsert
- 402writesTable 6507 Item Entry Relation Insert
InsertOneNewTrackSpec line 409, local
- 437validatesTable 336 Tracking Specification Quantity (Base)
- 438writesTable 336 Tracking Specification Insert
InsertCorrectiveShipmentLine line 459, local
- 464raisesOnBeforeInsertCorrectiveShipmentLine
- 466callsGetCorrectiveShptLineNoStep
- 481raisesOnInsertCorrectiveShipmentLineOnBeforeInsert
- 482writesTable 5991 Service Shipment Line Insert
- 484callsUpdateItemJnlLine
- 486callsInsertNewTrackSpecifications
- 487callsInsertItemEntryRelation
UpdateOrderLine line 491, local
- 496callsCodeunit 6484 Serv. Undo Posting Mgt. UpdateServLineCnsm
- 497raisesOnAfterUpdateOrderLine
UpdateServShptLine line 500, local
- 507writesTable 5991 Service Shipment Line Modify
InsertItemEntryRelation line 510, local
- 517callsTable 5991 Service Shipment Line TransferToItemEntryRelation
- 518writesTable 6507 Item Entry Relation Insert
- 520writesTable 6507 Item Entry Relation DeleteAll
UpdateItemJnlLine line 523, local
- 529writesTable 32 Item Ledger Entry Modify
MakeInventoryAdjustment line 533, local
- 539callsTable 313 Inventory Setup AutomaticCostAdjmtRequired
- 540callsCodeunit 5894 Inventory Adjustment Handler MakeInventoryAdjustment