---
title: "Codeunit 5896 Calc. Inventory Adjmt. - Order, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/points/
object: https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 5896 Calc. Inventory Adjmt. - Order, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/points/

16 procedures and triggers with a step in src/Layers/W1/BaseApp/Inventory/Costing/CalcInventoryAdjmtOrder.Codeunit.al, in source order, read from the text, not from a run.

## Calculate

[Line 23](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L23).

- [31](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L31) raises `OnCalculateOnAfterGetItem`
- [33](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L33) calls `CalcOutputQty`
- [34](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L34) calls `CalcActualUsageCosts`
- [35](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L35) calls `CalcActualVariances`
- [36](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L36) calls `CalcOutputEntryCostAdjmts`

## CalcActualUsageCosts

[Line 39](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L39).

- [42](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L42) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `RoundCosts`
- [44](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L44) calls `CalcActualMaterialCosts`
- [45](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L45) calls `CalcActualCapacityCosts`
- [46](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L46) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `RoundCosts`
- [48](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L48) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcOvhdCost`
- [49](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L49) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `RoundCosts`
- [51](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L51) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcDirectCostFromCostShares`
- [52](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L52) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcIndirectCostFromCostShares`
- [53](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L53) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcUnitCost`

## CalcActualVariances

[Line 56](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L56), local.

- [63](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L63) calls `CalcStandardCost`
- [64](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L64) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcDiff`
- [66](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L66) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcDiff`

## CalcOutputEntryCostAdjmts

[Line 69](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L69), local.

- [84](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L84) calls `OutputItemLedgEntryExist`
- [85](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L85) calls `CalcOutputQty`
- [89](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L89) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `RoundCosts`
- [91](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L91) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `RoundCosts`
- [109](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L109) calls `CalcExactCostReversingQty`
- [112](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L112) calls `CalcActualOutputCosts`
- [116](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L116) raises `OnCalcOutputEntryCostAdjmtsOnBeforeCalculateCostForGrossOutput`
- [120](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L120) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `RoundCosts`
- [123](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L123) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcDiff`
- [124](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L124) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `RoundCosts`
- [126](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L126) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `RoundCosts`
- [131](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L131) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `RoundCosts`
- [134](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L134) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcDiff`
- [135](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L135) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `RoundCosts`
- [137](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L137) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcDiff`
- [138](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L138) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `RoundCosts`
- [141](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L141) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcDiff`
- [142](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L142) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `RoundCosts`
- [144](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L144) calls `UpdateOutputAdjmtBuf`
- [145](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L145) writes [Table 32 Item Ledger Entry](https://jonas-paprotka.de/ref/table/32-item-ledger-entry/) Delete

## UpdateOutputAdjmtBuf

[Line 151](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L151), local.

- [153](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L153) raises `OnBeforeUpdateOutputAdjmtBuf`
- [155](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L155) calls `HasNewCost`
- [156](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L156) calls [Table 5895 Inventory Adjustment Buffer](https://jonas-paprotka.de/ref/table/5895-inventory-adjustment-buffer/) `AddCost`
- [158](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L158) calls `HasNewCost`
- [159](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L159) calls [Table 5895 Inventory Adjustment Buffer](https://jonas-paprotka.de/ref/table/5895-inventory-adjustment-buffer/) `AddCost`
- [163](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L163) calls [Codeunit 5836 Cost Calculation Management](https://jonas-paprotka.de/ref/codeunit/5836-cost-calculation-management/) `CanIncNonInvCostIntoProductionItem`
- [164](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L164) calls `HasNewCost`
- [165](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L165) calls [Table 5895 Inventory Adjustment Buffer](https://jonas-paprotka.de/ref/table/5895-inventory-adjustment-buffer/) `AddCost`
- [171](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L171) calls `HasNewCost`
- [172](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L172) calls [Table 5895 Inventory Adjustment Buffer](https://jonas-paprotka.de/ref/table/5895-inventory-adjustment-buffer/) `AddCost`
- [177](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L177) calls [Codeunit 5836 Cost Calculation Management](https://jonas-paprotka.de/ref/codeunit/5836-cost-calculation-management/) `CanIncNonInvCostIntoProductionItem`
- [178](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L178) calls `HasNewCost`
- [179](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L179) calls [Table 5895 Inventory Adjustment Buffer](https://jonas-paprotka.de/ref/table/5895-inventory-adjustment-buffer/) `AddCost`
- [183](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L183) calls `HasNewCost`
- [184](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L184) calls [Table 5895 Inventory Adjustment Buffer](https://jonas-paprotka.de/ref/table/5895-inventory-adjustment-buffer/) `AddCost`
- [188](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L188) calls `HasNewCost`
- [189](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L189) calls [Table 5895 Inventory Adjustment Buffer](https://jonas-paprotka.de/ref/table/5895-inventory-adjustment-buffer/) `AddCost`
- [193](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L193) calls `HasNewCost`
- [194](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L194) calls [Table 5895 Inventory Adjustment Buffer](https://jonas-paprotka.de/ref/table/5895-inventory-adjustment-buffer/) `AddCost`
- [198](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L198) calls `HasNewCost`
- [199](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L199) calls [Table 5895 Inventory Adjustment Buffer](https://jonas-paprotka.de/ref/table/5895-inventory-adjustment-buffer/) `AddCost`
- [203](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L203) raises `OnAfterUpdateOutputAdjmtBuf`

## CalcStandardCost

[Line 206](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L206), local.

- [211](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L211) raises `OnBeforeCalcStandardCost`
- [216](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L216) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `GetCostsFromItem`
- [218](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L218) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `RoundCosts`
- [219](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L219) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcDirectCostFromCostShares`
- [220](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L220) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcIndirectCostFromCostShares`
- [221](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L221) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcUnitCost`
- [225](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L225) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcOvhdCost`
- [226](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L226) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `RoundCosts`
- [227](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L227) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcIndirectCostFromCostShares`
- [228](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L228) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `CalcUnitCost`

## CalcActualOutputCosts

[Line 232](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L232), local.

- [238](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L238) raises `OnBeforeAddCosts`
- [249](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L249) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `AddDirectCost`
- [251](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L251) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `AddIndirectCost`
- [253](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L253) calls [Codeunit 5836 Cost Calculation Management](https://jonas-paprotka.de/ref/codeunit/5836-cost-calculation-management/) `CanIncNonInvCostIntoProductionItem`
- [254](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L254) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `AddDirectCostNonInv`
- [258](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L258) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `AddSingleLvlMaterialCost`
- [260](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L260) calls [Codeunit 5836 Cost Calculation Management](https://jonas-paprotka.de/ref/codeunit/5836-cost-calculation-management/) `CanIncNonInvCostIntoProductionItem`
- [261](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L261) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `AddSingleLvlNonInvMaterialCost`
- [263](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L263) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `AddSingleLvlCapacityCost`
- [265](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L265) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `AddSingleLvlCapOvhdCost`
- [267](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L267) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `AddSingleLvlMfgOvhdCost`
- [269](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L269) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `AddSingleLvlSubcontrdCost`

## CalcActualMaterialCosts

[Line 275](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L275), local.

- [282](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L282) raises `OnBeforeCalcActualMaterialCosts`
- [293](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L293) calls [Codeunit 5836 Cost Calculation Management](https://jonas-paprotka.de/ref/codeunit/5836-cost-calculation-management/) `CanIncNonInvCostIntoProductionItem`
- [298](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L298) raises `OnCalcActualMaterialCostsOnAfterSetFilters`
- [304](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L304) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `AddSingleLvlMaterialCost`
- [308](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L308) calls [Codeunit 5836 Cost Calculation Management](https://jonas-paprotka.de/ref/codeunit/5836-cost-calculation-management/) `CanIncNonInvCostIntoProductionItem`
- [309](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L309) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `AddSingleLvlMaterialCost`
- [314](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L314) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `AddDirectCostNonInv`
- [319](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L319) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `AddSingleLvlNonInvMaterialCost`
- [326](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L326) calls `AdjustForRevNegCon`

## AdjustForRevNegCon

[Line 330](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L330).

- [338](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L338) calls [Table 5896 Inventory Adjmt. Entry (Order)](https://jonas-paprotka.de/ref/table/5896-inventory-adjmt-entry-order/) `AddSingleLvlMaterialCost`

## CalcActualCapacityCosts

[Line 341](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L341), local.

- [346](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L346) raises `OnBeforeCalcActualCapacityCosts`
- [350](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L350) raises `OnCalcActualCapacityCostsInternal`

## CalcOutputQty

[Line 353](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L353).

- [367](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L367) raises `OnCalcOutputQtyOnAfterSetFilters`

## CopyILEToILE

[Line 372](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L372), local.

- [375](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L375) writes [Table 32 Item Ledger Entry](https://jonas-paprotka.de/ref/table/32-item-ledger-entry/) DeleteAll
- [379](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L379) writes [Table 32 Item Ledger Entry](https://jonas-paprotka.de/ref/table/32-item-ledger-entry/) Insert

## OutputItemLedgEntryExist

[Line 383](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L383), local.

- [393](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L393) raises `OnOutputItemLedgEntryExistOnAfterSetFilters`
- [394](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L394) calls `CopyILEToILE`

## CalcExactCostReversingQty

[Line 397](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L397), local.

- [413](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L413) calls [Table 339 Item Application Entry](https://jonas-paprotka.de/ref/table/339-item-application-entry/) `GetVisitedEntries`
- [423](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L423) raises `OnAfterCalcExactCostReversingQty`

## RunOnCalcActualCapacityCostsOnAfterSetFilters

[Line 457](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L457), internal.

- [459](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L459) raises `OnCalcActualCapacityCostsOnAfterSetFilters`

## RunOnBeforeCalcShareOfCapCost

[Line 500](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L500), internal.

- [502](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/source/#L502) raises `OnBeforeCalcShareOfCapCost`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
