codeunitInventoryofficial - Microsoftderived - from the source, no model text

Codeunit 5896 "Calc. Inventory Adjmt. - Order"

Base Application · Microsoft.Inventory.Costing

Across versions

  1. BC23-24present
  2. BC253 events added
  3. BC261 procedures changed, 1 events added
  4. BC272 procedures added, 2 events changed
  5. BC28-29unchanged
  6. BC302 procedures removed, 2 events removed

Neighbourhood 7 connected objects and pages

Codeunit 99000776 "Mfg. InventoryAdjmtEntryOrder" (event subscribers)Mfg. InventoryAdjmtEntryOrderCodeunit 5836 "Cost Calculation Management" (calls, 3 links)Cost Calculation ManagementCodeunit 5895 "Inventory Adjustment" (calls, 2 links)Inventory AdjustmentCodeunit 99000758 "Mfg. Cost Calculation Mgt." (calls, 2 links)Mfg. Cost Calculation Mgt.Report 5848 "Cost Shares Breakdown" (calls, 2 links)Cost Shares BreakdownTable 900 "Assembly Header" (calls)Assembly HeaderTable 910 "Posted Assembly Header" (calls)Posted Assembly Header

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Inventory.Costing · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions TableData Microsoft.Manufacturing.Capacity.“Capacity Ledger Entry” = r, TableData “Inventory Adjmt. Entry (Order)” = rimd

Events published

  • OnAfterUpdateOutputAdjmtBuf(InventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; ItemLedgerEntry: Record "Item Ledger Entry"; var InventoryAdjustmentBuffer: Record "Inventory Adjustment Buffer") (integration)
  • OnBeforeUpdateOutputAdjmtBuf(InventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; ItemLedgerEntry: Record "Item Ledger Entry"; var InventoryAdjustmentBuffer: Record "Inventory Adjustment Buffer") (integration)
  • OnBeforeCalcActualCapacityCosts(var InventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; var IsHandled: Boolean) (integration)
  • OnBeforeAddCosts(var InvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; ItemLedgerEntryNo: Integer; var isHandled: Boolean) (integration)
  • OnBeforeCalcActualMaterialCosts(var InventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; var IsHandled: Boolean) (integration)
  • OnCalcActualCapacityCostsOnAfterSetFilters(var CapLedgEntry: Record Microsoft.Manufacturing.Capacity."Capacity Ledger Entry"; var InventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; var IsHandled: Boolean; ShareOfTotalCapCost: Decimal) + BC26 − BC26 Δ BC27 − BC30 (integration, obsolete 27.0)
  • OnCalcActualMaterialCostsOnAfterSetFilters(var ItemLedgEntry: Record "Item Ledger Entry"; var InventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; var CalculateActualMaterialCost: Query "Calculate Actual Material Cost"; var IsHandled: Boolean) (integration)
  • OnCalcOutputQtyOnAfterSetFilters(var ItemLedgEntry: Record "Item Ledger Entry"; var InvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)") (integration)
  • OnCalculateOnAfterGetItem(var Item: Record Item; var SourceInvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)") (integration)
  • OnOutputItemLedgEntryExistOnAfterSetFilters(var FromItemLedgEntry: Record "Item Ledger Entry"; var SourceInvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)") (integration)
  • OnCalcOutputEntryCostAdjmtsOnBeforeCalculateCostForGrossOutput(var NewActInvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; RemOutputQty: Decimal; OutputQty: Decimal) (integration)
  • OnBeforeCalcStandardCost(var InvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; OutputQty: Decimal; var IsHandled: Boolean) + BC25 (integration)
  • OnBeforeCalcShareOfCapCost(var InvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; var ShareOfCapCost: Decimal; var IsHandled: Boolean) + BC25 Δ BC27 − BC30 (integration, obsolete 27.0)
  • OnAfterCalcExactCostReversingQty(ItemLedgEntry: Record "Item Ledger Entry"; var Qty: Decimal) + BC25 (integration)
  • OnCalcActualCapacityCostsInternal(var InvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)") + BC27 (internal)

Procedures

  • Calculate(SourceInvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; var InvtAdjmtBuf: Record "Inventory Adjustment Buffer")
  • CalcActualUsageCosts(SourceInvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; OutputQty: Decimal; var InvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)")
  • AdjustForRevNegCon(var InvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; ItemLedgEntryNo: Integer) Δ BC26
  • CalcOutputQty(InvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; OnlyInbounds: Boolean): Decimal
  • RunOnCalcActualCapacityCostsOnAfterSetFilters(var CapLedgEntry: Record Microsoft.Manufacturing.Capacity."Capacity Ledger Entry"; var InventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; var IsHandled: Boolean; ShareOfTotalCapCost: Decimal) + BC27 − BC30 (internal)
  • RunOnBeforeCalcShareOfCapCost(var InvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; var ShareOfCapCost: Decimal; var IsHandled: Boolean) + BC27 − BC30 (internal)

Plus 11 local procedures.

Triggers

OnRun

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

  • Codeunit 5836 “Cost Calculation Management” (3 calls: CalcActualMaterialCosts → CanIncNonInvCostIntoProductionItem, CalcActualOutputCosts → CanIncNonInvCostIntoProductionItem, UpdateOutputAdjmtBuf → CanIncNonInvCostIntoProductionItem)

Called by

Recent changes

Deprecations

  • procedure RunOnBeforeCalcShareOfCapCost: guarded (#if not CLEAN27)
  • procedure RunOnCalcActualCapacityCostsOnAfterSetFilters: guarded (#if not CLEAN27)
  • procedure OnBeforeCalcShareOfCapCost: Pending 27.0 (#if not CLEAN27), “Moved to codeunit MfgInventoryAdjmtEntryOrder”
  • procedure OnCalcActualCapacityCostsOnAfterSetFilters: Pending 27.0 (#if not CLEAN27), “Moved to codeunit MfgInventoryAdjmtOrder”

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Calc. Inventory Adjmt. - Order"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources