Codeunit 5894 Inventory Adjustment Handler

Base Application, Microsoft.Inventory.Costing

Source AL, 143 lines

src/Layers/W1/BaseApp/Inventory/Costing/InventoryAdjustmentHandler.Codeunit.allines 10 to 25 of 143, Copyright (c) Microsoft Corporation. MIT

codeunit 5894 "Inventory Adjustment Handler"{    var        Item: Record Item;        SkipJobUpdate: Boolean;        IsItemFiltered: Boolean;    procedure MakeInventoryAdjustment(var CostAdjustmentParamsMgt: Codeunit "Cost Adjustment Params Mgt.")    var        CostAdjustmentParameter: Record "Cost Adjustment Parameter";        InventoryAdjustment: Interface "Inventory Adjustment";        CostAdjustmentWithParams: Interface "Cost Adjustment With Params";        IsHandled: Boolean;    begin        IsHandled := false;        OnBeforeMakeInventoryAdjustment(InventoryAdjustment, IsHandled);

All 143 lines

Events 4 in 29

[IntegrationEvent] OnBeforeMakeInventoryAdjustment(var InventoryAdjustment: Interface "Inventory Adjustment"; var IsHandled: Boolean)new in 19
[InternalEvent] OnAfterMakeInventoryAdjustment(var CostAdjustmentParamsMgt: Codeunit "Cost Adjustment Params Mgt.")new in 26
[IntegrationEvent] OnMakeInventoryAdjustmentOnBeforeSetParameters(var CostAdjustmentParameter: Record "Cost Adjustment Parameter")new in 26
[IntegrationEvent] OnMakeInventoryAdjustmentOnAfterSetParameters(var CostAdjustmentParamsMgt: Codeunit "Cost Adjustment Params Mgt.")new in 26

Public procedures 6 in 29

MakeInventoryAdjustment(IsOnlineAdjmt: Boolean; PostToGL: Boolean)new in 19
SetJobUpdateProperties(SkipJobUpdate: Boolean)new in 19
SetFilterItem(var NewItem: Record Item)new in 19
MakeInventoryAdjustment(var CostAdjustmentParamsMgt: Codeunit "Cost Adjustment Params Mgt.")new in 26
MakeAutomaticInventoryAdjustment(var ItemsToAdjust: List of [Code[20]])new in 26
MakeAutomaticInventoryAdjustment(var ItemsToAdjust: List of [Code[20]]; var InventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)")new in 26

Changes 6 in 26

List17181920212223242526272829
Procedures3
Events3
MakeInventoryAdjustment(var CostAdjustmentParamsMgt: Codeunit "Cost Adjustment Params Mgt.")new in 26
added
MakeAutomaticInventoryAdjustment(var ItemsToAdjust: List of [Code[20]])new in 26
added
MakeAutomaticInventoryAdjustment(var ItemsToAdjust: List of [Code[20]]; var InventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)")new in 26
added
[InternalEvent] OnAfterMakeInventoryAdjustment(var CostAdjustmentParamsMgt: Codeunit "Cost Adjustment Params Mgt.")new in 26
added
[IntegrationEvent] OnMakeInventoryAdjustmentOnBeforeSetParameters(var CostAdjustmentParameter: Record "Cost Adjustment Parameter")new in 26
added
[IntegrationEvent] OnMakeInventoryAdjustmentOnAfterSetParameters(var CostAdjustmentParamsMgt: Codeunit "Cost Adjustment Params Mgt.")new in 26
added

All 6 changes in 19-29