Codeunit 5896 Calc. Inventory Adjmt. - Order

Base Application, Microsoft.Inventory.Costing

src/Layers/W1/BaseApp/Inventory/Costing/CalcInventoryAdjmtOrder.Codeunit.al16 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

Calculate line 23

  1. 31raisesOnCalculateOnAfterGetItem
  2. 33callsCalcOutputQty
  3. 34callsCalcActualUsageCosts
  4. 35callsCalcActualVariances
  5. 36callsCalcOutputEntryCostAdjmts

CalcActualUsageCosts line 39

  1. 42callsTable 5896 Inventory Adjmt. Entry (Order) RoundCosts
  2. 44callsCalcActualMaterialCosts
  3. 45callsCalcActualCapacityCosts
  4. 46callsTable 5896 Inventory Adjmt. Entry (Order) RoundCosts
  5. 48callsTable 5896 Inventory Adjmt. Entry (Order) CalcOvhdCost
  6. 49callsTable 5896 Inventory Adjmt. Entry (Order) RoundCosts
  7. 51callsTable 5896 Inventory Adjmt. Entry (Order) CalcDirectCostFromCostShares
  8. 52callsTable 5896 Inventory Adjmt. Entry (Order) CalcIndirectCostFromCostShares
  9. 53callsTable 5896 Inventory Adjmt. Entry (Order) CalcUnitCost

CalcActualVariances line 56, local

  1. 63callsCalcStandardCost
  2. 64callsTable 5896 Inventory Adjmt. Entry (Order) CalcDiff
  3. 66callsTable 5896 Inventory Adjmt. Entry (Order) CalcDiff

CalcOutputEntryCostAdjmts line 69, local

  1. 84callsOutputItemLedgEntryExist
  2. 85callsCalcOutputQty
  3. 89callsTable 5896 Inventory Adjmt. Entry (Order) RoundCosts
  4. 91callsTable 5896 Inventory Adjmt. Entry (Order) RoundCosts
  5. 109callsCalcExactCostReversingQty
  6. 112callsCalcActualOutputCosts
  7. 116raisesOnCalcOutputEntryCostAdjmtsOnBeforeCalculateCostForGrossOutput
  8. 120callsTable 5896 Inventory Adjmt. Entry (Order) RoundCosts
  9. 123callsTable 5896 Inventory Adjmt. Entry (Order) CalcDiff
  10. 124callsTable 5896 Inventory Adjmt. Entry (Order) RoundCosts
  11. 126callsTable 5896 Inventory Adjmt. Entry (Order) RoundCosts
  12. 131callsTable 5896 Inventory Adjmt. Entry (Order) RoundCosts
  13. 134callsTable 5896 Inventory Adjmt. Entry (Order) CalcDiff
  14. 135callsTable 5896 Inventory Adjmt. Entry (Order) RoundCosts
  15. 137callsTable 5896 Inventory Adjmt. Entry (Order) CalcDiff
  16. 138callsTable 5896 Inventory Adjmt. Entry (Order) RoundCosts
  17. 141callsTable 5896 Inventory Adjmt. Entry (Order) CalcDiff
  18. 142callsTable 5896 Inventory Adjmt. Entry (Order) RoundCosts
  19. 144callsUpdateOutputAdjmtBuf
  20. 145writesTable 32 Item Ledger Entry Delete

UpdateOutputAdjmtBuf line 151, local

  1. 153raisesOnBeforeUpdateOutputAdjmtBuf
  2. 155callsHasNewCost
  3. 156callsTable 5895 Inventory Adjustment Buffer AddCost
  4. 158callsHasNewCost
  5. 159callsTable 5895 Inventory Adjustment Buffer AddCost
  6. 163callsCodeunit 5836 Cost Calculation Management CanIncNonInvCostIntoProductionItem
  7. 164callsHasNewCost
  8. 165callsTable 5895 Inventory Adjustment Buffer AddCost
  9. 171callsHasNewCost
  10. 172callsTable 5895 Inventory Adjustment Buffer AddCost
  11. 177callsCodeunit 5836 Cost Calculation Management CanIncNonInvCostIntoProductionItem
  12. 178callsHasNewCost
  13. 179callsTable 5895 Inventory Adjustment Buffer AddCost
  14. 183callsHasNewCost
  15. 184callsTable 5895 Inventory Adjustment Buffer AddCost
  16. 188callsHasNewCost
  17. 189callsTable 5895 Inventory Adjustment Buffer AddCost
  18. 193callsHasNewCost
  19. 194callsTable 5895 Inventory Adjustment Buffer AddCost
  20. 198callsHasNewCost
  21. 199callsTable 5895 Inventory Adjustment Buffer AddCost
  22. 203raisesOnAfterUpdateOutputAdjmtBuf

CalcStandardCost line 206, local

  1. 211raisesOnBeforeCalcStandardCost
  2. 216callsTable 5896 Inventory Adjmt. Entry (Order) GetCostsFromItem
  3. 218callsTable 5896 Inventory Adjmt. Entry (Order) RoundCosts
  4. 219callsTable 5896 Inventory Adjmt. Entry (Order) CalcDirectCostFromCostShares
  5. 220callsTable 5896 Inventory Adjmt. Entry (Order) CalcIndirectCostFromCostShares
  6. 221callsTable 5896 Inventory Adjmt. Entry (Order) CalcUnitCost
  7. 225callsTable 5896 Inventory Adjmt. Entry (Order) CalcOvhdCost
  8. 226callsTable 5896 Inventory Adjmt. Entry (Order) RoundCosts
  9. 227callsTable 5896 Inventory Adjmt. Entry (Order) CalcIndirectCostFromCostShares
  10. 228callsTable 5896 Inventory Adjmt. Entry (Order) CalcUnitCost

CalcActualOutputCosts line 232, local

  1. 238raisesOnBeforeAddCosts
  2. 249callsTable 5896 Inventory Adjmt. Entry (Order) AddDirectCost
  3. 251callsTable 5896 Inventory Adjmt. Entry (Order) AddIndirectCost
  4. 253callsCodeunit 5836 Cost Calculation Management CanIncNonInvCostIntoProductionItem
  5. 254callsTable 5896 Inventory Adjmt. Entry (Order) AddDirectCostNonInv
  6. 258callsTable 5896 Inventory Adjmt. Entry (Order) AddSingleLvlMaterialCost
  7. 260callsCodeunit 5836 Cost Calculation Management CanIncNonInvCostIntoProductionItem
  8. 261callsTable 5896 Inventory Adjmt. Entry (Order) AddSingleLvlNonInvMaterialCost
  9. 263callsTable 5896 Inventory Adjmt. Entry (Order) AddSingleLvlCapacityCost
  10. 265callsTable 5896 Inventory Adjmt. Entry (Order) AddSingleLvlCapOvhdCost
  11. 267callsTable 5896 Inventory Adjmt. Entry (Order) AddSingleLvlMfgOvhdCost
  12. 269callsTable 5896 Inventory Adjmt. Entry (Order) AddSingleLvlSubcontrdCost

CalcActualMaterialCosts line 275, local

  1. 282raisesOnBeforeCalcActualMaterialCosts
  2. 293callsCodeunit 5836 Cost Calculation Management CanIncNonInvCostIntoProductionItem
  3. 298raisesOnCalcActualMaterialCostsOnAfterSetFilters
  4. 304callsTable 5896 Inventory Adjmt. Entry (Order) AddSingleLvlMaterialCost
  5. 308callsCodeunit 5836 Cost Calculation Management CanIncNonInvCostIntoProductionItem
  6. 309callsTable 5896 Inventory Adjmt. Entry (Order) AddSingleLvlMaterialCost
  7. 314callsTable 5896 Inventory Adjmt. Entry (Order) AddDirectCostNonInv
  8. 319callsTable 5896 Inventory Adjmt. Entry (Order) AddSingleLvlNonInvMaterialCost
  9. 326callsAdjustForRevNegCon

AdjustForRevNegCon line 330

  1. 338callsTable 5896 Inventory Adjmt. Entry (Order) AddSingleLvlMaterialCost

CalcActualCapacityCosts line 341, local

  1. 346raisesOnBeforeCalcActualCapacityCosts
  2. 350raisesOnCalcActualCapacityCostsInternal

CalcOutputQty line 353

  1. 367raisesOnCalcOutputQtyOnAfterSetFilters

CopyILEToILE line 372, local

  1. 375writesTable 32 Item Ledger Entry DeleteAll
  2. 379writesTable 32 Item Ledger Entry Insert

OutputItemLedgEntryExist line 383, local

  1. 393raisesOnOutputItemLedgEntryExistOnAfterSetFilters
  2. 394callsCopyILEToILE

CalcExactCostReversingQty line 397, local

  1. 413callsTable 339 Item Application Entry GetVisitedEntries
  2. 423raisesOnAfterCalcExactCostReversingQty

RunOnCalcActualCapacityCostsOnAfterSetFilters line 457, internal

  1. 459raisesOnCalcActualCapacityCostsOnAfterSetFilters

RunOnBeforeCalcShareOfCapCost line 500, internal

  1. 502raisesOnBeforeCalcShareOfCapCost