Codeunit 1327 Adjust Item Inventory

Base Application, Microsoft.Inventory.Item

src/Layers/W1/BaseApp/Inventory/Item/AdjustItemInventory.Codeunit.al8 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

PostAdjustmentToItemLedger line 22

  1. 31callsSelectItemTemplateForAdjustment
  2. 32callsCreateItemJnlLine
  3. 32callsCreateItemBatch
  4. 33writesTable 83 Item Journal Line Insert(true)
  5. 35callsPostItemJnlLines

PostMultipleAdjustmentsToItemLedger line 38

  1. 48callsSelectItemTemplateForAdjustment
  2. 49callsCreateItemBatch
  3. 54raisesOnPostMultipleAdjustmentsToItemLedgerOnAfterItemSetFilters
  4. 57callsCreateItemJnlLine
  5. 58validatesTable 83 Item Journal Line Line No.
  6. 59validatesTable 83 Item Journal Line Location Code
  7. 60raisesOnPostMultipleAdjustmentsToItemLedgerOnBeforeInsertItemJnlLine
  8. 61writesTable 83 Item Journal Line Insert(true)
  9. 68callsDeleteItemBatch
  10. 72callsPostItemJnlLines

CreateItemJnlLine line 75

  1. 78validatesTable 83 Item Journal Line Journal Template Name
  2. 79validatesTable 83 Item Journal Line Journal Batch Name
  3. 80validatesTable 83 Item Journal Line Posting Date
  4. 84validatesTable 83 Item Journal Line Entry Type
  5. 86validatesTable 83 Item Journal Line Entry Type
  6. 88validatesTable 83 Item Journal Line Item No.
  7. 89validatesTable 83 Item Journal Line Description
  8. 90validatesTable 83 Item Journal Line Quantity

PostItemJnlLines line 93

  1. 99runsCodeunit 23 Item Jnl.-Post Batch
  2. 101callsDeleteItemBatch

SelectItemTemplateForAdjustment line 109

  1. 116callsCodeunit 240 ItemJnlManagement TemplateSelection

CreateItemBatch line 127, local

  1. 133callsCreateBatchName
  2. 135writesTable 233 Item Journal Batch Insert

FindOrCreateItemBatchWithCustomNameDesc line 140

  1. 150callsTable 233 Item Journal Batch SetupNewBatch
  2. 151writesTable 233 Item Journal Batch Insert

DeleteItemBatch line 164, local

  1. 169writesTable 233 Item Journal Batch Delete(true)