Codeunit 5894 "Inventory Adjustment Handler"
Base Application · Microsoft.Inventory.Costing
Across versions
- BC23-25present
- BC263 procedures added, 3 events added
- BC27-30unchanged
Neighbourhood 26 connected objects and pages
Base Application · Microsoft.Inventory.Costing · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeMakeInventoryAdjustment(var InventoryAdjustment: Interface "Inventory Adjustment"; var IsHandled: Boolean)(integration)OnAfterMakeInventoryAdjustment(var CostAdjustmentParamsMgt: Codeunit "Cost Adjustment Params Mgt.")+ BC26 (internal)- subscribers: Codeunit 5842 “Cost Adjmt. Signals” RaiseSignalOnAfterMakeInventoryAdjustment
OnMakeInventoryAdjustmentOnBeforeSetParameters(var CostAdjustmentParameter: Record "Cost Adjustment Parameter")+ BC26 (integration)OnMakeInventoryAdjustmentOnAfterSetParameters(var CostAdjustmentParamsMgt: Codeunit "Cost Adjustment Params Mgt.")+ BC26 (integration)
Procedures
MakeInventoryAdjustment(var CostAdjustmentParamsMgt: Codeunit "Cost Adjustment Params Mgt.")+ BC26MakeInventoryAdjustment(IsOnlineAdjmt: Boolean; PostToGL: Boolean)+ BC26MakeAutomaticInventoryAdjustment(var ItemsToAdjust: List of [Code[20]])+ BC26 + BC26MakeAutomaticInventoryAdjustment(var ItemsToAdjust: List of [Code[20]]; var InventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)")+ BC26 + BC26SetJobUpdateProperties(SkipJobUpdate: Boolean)SetFilterItem(var NewItem: Record Item)
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 5824 “Cost Adjustment Params Mgt.” (3 calls:
MakeAutomaticInventoryAdjustment → SetItemsToAdjust,MakeAutomaticInventoryAdjustment → SetParameters,MakeInventoryAdjustment → GetParameters)
Called by
- Codeunit 5813 “Undo Purchase Receipt Line” (2 calls:
MakeInventoryAdjustment → MakeAutomaticInventoryAdjustment,MakeInventoryAdjustment → SetJobUpdateProperties) - Codeunit 5814 “Undo Return Shipment Line” (2 calls:
MakeInventoryAdjustment → MakeAutomaticInventoryAdjustment,MakeInventoryAdjustment → SetJobUpdateProperties) - Codeunit 5815 “Undo Sales Shipment Line” (2 calls:
MakeInventoryAdjustment → MakeAutomaticInventoryAdjustment,MakeInventoryAdjustment → SetJobUpdateProperties) - Codeunit 5816 “Undo Return Receipt Line” (2 calls:
MakeInventoryAdjustment → MakeAutomaticInventoryAdjustment,MakeInventoryAdjustment → SetJobUpdateProperties) - Codeunit 5818 “Undo Service Shipment Line” (2 calls:
MakeInventoryAdjustment → MakeInventoryAdjustment,MakeInventoryAdjustment → SetJobUpdateProperties) - Codeunit 5822 “Cost Adjustment Bucket Runner” (2 calls:
OnRun → MakeInventoryAdjustment,OnRun → SetFilterItem) - Codeunit 5823 “Cost Adjustment Item Runner” (2 calls:
OnRun → MakeInventoryAdjustment,OnRun → SetFilterItem) - Codeunit 9030 “Undo Transfer Shipment” (2 calls:
MakeInventoryAdjustment → MakeInventoryAdjustment,MakeInventoryAdjustment → SetJobUpdateProperties) - Report 795 “Adjust Cost - Item Entries” (2 calls:
RunCostAdjustment → MakeInventoryAdjustment,RunCostAdjustment → SetFilterItem) - Codeunit 1013 “Job Jnl.-Post Batch” (1 call:
Code → MakeInventoryAdjustment) - Codeunit 22 “Item Jnl.-Post Line” (1 call:
CostAdjust → MakeInventoryAdjustment) - Codeunit 23 “Item Jnl.-Post Batch” (1 call:
MakeInventoryAdjustment → MakeAutomaticInventoryAdjustment) - Codeunit 5407 “Prod. Order Status Management” (1 call:
MakeMultiLevelAdjmt → MakeAutomaticInventoryAdjustment) - Codeunit 5704 “TransferOrder-Post Shipment” (1 call:
MakeInventoryAdjustment → MakeAutomaticInventoryAdjustment) - Codeunit 5705 “TransferOrder-Post Receipt” (1 call:
MakeInventoryAdjustment → MakeAutomaticInventoryAdjustment) - Codeunit 5819 “Undo Service Consumption Line” (1 call:
MakeInventoryAdjustment → MakeInventoryAdjustment) - Codeunit 5850 “Invt. Doc.-Post Receipt” (1 call:
OnRun → MakeAutomaticInventoryAdjustment) - Codeunit 5851 “Invt. Doc.-Post Shipment” (1 call:
OnRun → MakeAutomaticInventoryAdjustment) - Codeunit 5856 “TransferOrder-Post Transfer” (1 call:
MakeInventoryAdjustment → MakeAutomaticInventoryAdjustment) - Codeunit 5884 “Phys. Invt. Order-Post” (1 call:
MakeInventoryAdjustment → MakeInventoryAdjustment) - Codeunit 5988 “Serv-Documents Mgt.” (1 call:
MakeInvtAdjustment → MakeInventoryAdjustment) - Codeunit 80 “Sales-Post” (1 call:
MakeInventoryAdjustment → MakeAutomaticInventoryAdjustment) - Codeunit 90 “Purch.-Post” (1 call:
MakeInventoryAdjustment → MakeAutomaticInventoryAdjustment) - Codeunit 900 “Assembly-Post” (1 call:
MakeInventoryAdjustment → MakeAutomaticInventoryAdjustment)
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: "Inventory Adjustment Handler"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.