Codeunit 5857 Copy Invt. Document Mgt.

Base Application, Microsoft.Inventory.Document

src/Layers/W1/BaseApp/Inventory/Document/CopyInvtDocumentMgt.Codeunit.al9 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

CopyItemDoc line 58

  1. 78callsCodeunit 379 Transfer Old Ext. Text Lines ClearLineNumbers
  2. 104callsCheckItemAvailable
  3. 126callsCheckItemAvailable
  4. 148callsCheckItemAvailable
  5. 159writesTable 5850 Invt. Document Header Insert(true)
  6. 170writesTable 5851 Invt. Document Line DeleteAll(true)
  7. 206writesTable 5850 Invt. Document Header Modify(true)
  8. 208writesTable 5850 Invt. Document Header Modify
  9. 220raisesOnCopyItemDocOnBeforeLoopFromInventoryDocumentLine
  10. 223callsCopyInvtDocLine
  11. 231raisesOnCopyItemDocOnBeforeLoopFromInventoryReceiptLine
  12. 235callsCopyInvtDocLine
  13. 246raisesOnCopyItemDocOnBeforeLoopFromInventoryShipmentLine
  14. 250callsCopyInvtDocLine

CopyInvtDocLine line 262, local

  1. 284validatesTable 5851 Invt. Document Line Description
  2. 286validatesTable 5851 Invt. Document Line Item No.
  3. 287validatesTable 5851 Invt. Document Line Variant Code
  4. 288validatesTable 5851 Invt. Document Line Location Code
  5. 289validatesTable 5851 Invt. Document Line Unit of Measure Code
  6. 290validatesTable 5851 Invt. Document Line Quantity
  7. 305writesTable 32 Item Ledger Entry DeleteAll
  8. 308raisesOnCopyInvtDocLineOnBeforeCopyItemTrackingAndAppliesValuesIsHandled
  9. 312callsGetItemLedgEntries
  10. 314callsGetItemLedgEntries
  11. 317callsUpdateInvtDocumentLineWithTrackingAndAppliesValue
  12. 322writesTable 5851 Invt. Document Line Insert
  13. 326raisesOnAfterCopyInvtDocLine

CheckItemAvailable line 329

  1. 340validatesTable 5851 Invt. Document Line Document Date
  2. 342validatesTable 5851 Invt. Document Line Document Date
  3. 344callsCodeunit 311 Item-Check Avail. InvtDocCheckLine

GetItemDocLedgerEntryNo line 347

  1. 357callsTable 32 Item Ledger Entry TrackingExists

UpdateInvtDocumentLineWithTrackingAndAppliesValue line 363, local

  1. 380callsTable 32 Item Ledger Entry TrackingExists
  2. 381callsCopyItemLedgEntryTrkgToInvtDocumentLine
  3. 386validatesTable 5851 Invt. Document Line Applies-from Entry
  4. 388validatesTable 5851 Invt. Document Line Applies-to Entry

CopyItemLedgEntryTrkgToInvtDocumentLine line 395, local

  1. 401callsGetSignFactor
  2. 410callsInsertReservEntryForInvtDocumentLine

InsertReservEntryForInvtDocumentLine line 467, local

  1. 471callsTable 32 Item Ledger Entry TrackingExists
  2. 475callsInitReservEntry
  3. 476callsTable 337 Reservation Entry SetSource
  4. 487callsTable 337 Reservation Entry UpdateItemTracking
  5. 488writesTable 337 Reservation Entry Insert

InitReservEntry line 491, local

  1. 498callsTable 337 Reservation Entry CopyTrackingFromItemLedgEntry
  2. 500validatesTable 337 Reservation Entry Quantity (Base)
  3. 505callsCodeunit 6500 Item Tracking Management ExistingExpirationDate

GetItemLedgEntries line 513, local

  1. 520writesTable 32 Item Ledger Entry DeleteAll
  2. 523callsFilterPstdDocLineValueEntries
  3. 540writesTable 32 Item Ledger Entry Insert