Share via


Codeunit "Inventory Adjustment Handler"

ID 5894
Namespace: Microsoft.Inventory.Costing

Methods

MakeInventoryAdjustment

procedure MakeInventoryAdjustment(var CostAdjustmentParamsMgt: Codeunit "Cost Adjustment Params Mgt.")

Parameters

Name Type Description
CostAdjustmentParamsMgt Codeunit Microsoft.Inventory.Costing."Cost Adjustment Params Mgt."

MakeInventoryAdjustment

procedure MakeInventoryAdjustment(IsOnlineAdjmt: Boolean, PostToGL: Boolean)

Parameters

Name Type Description
IsOnlineAdjmt Boolean
PostToGL Boolean

MakeAutomaticInventoryAdjustment

procedure MakeAutomaticInventoryAdjustment(var ItemsToAdjust: List of [Code[20]])

Parameters

Name Type Description
ItemsToAdjust List of [Code[20]]

MakeAutomaticInventoryAdjustment

procedure MakeAutomaticInventoryAdjustment(var ItemsToAdjust: List of [Code[20]], var InventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)")

Parameters

Name Type Description
ItemsToAdjust List of [Code[20]]
InventoryAdjmtEntryOrder Table Microsoft.Inventory.Costing."Inventory Adjmt. Entry (Order)"

SetJobUpdateProperties

procedure SetJobUpdateProperties(SkipJobUpdate: Boolean)

Parameters

Name Type Description
SkipJobUpdate Boolean

SetFilterItem

procedure SetFilterItem(var NewItem: Record Item)

Parameters

Name Type Description
NewItem Table Microsoft.Inventory.Item.Item

Events

OnBeforeMakeInventoryAdjustment

[IntegrationEvent(False,False)]
local procedure OnBeforeMakeInventoryAdjustment(var InventoryAdjustment: Interface "Inventory Adjustment", var IsHandled: Boolean)

Parameters

Name Type Description
InventoryAdjustment Interface Microsoft.Inventory.Costing."Inventory Adjustment"
IsHandled Boolean

OnMakeInventoryAdjustmentOnBeforeSetParameters

[IntegrationEvent(False,False)]
local procedure OnMakeInventoryAdjustmentOnBeforeSetParameters(var CostAdjustmentParameter: Record "Cost Adjustment Parameter" temporary)

Parameters

Name Type Description
CostAdjustmentParameter Table Microsoft.Inventory.Costing."Cost Adjustment Parameter"

OnMakeInventoryAdjustmentOnAfterSetParameters

[IntegrationEvent(False,False)]
local procedure OnMakeInventoryAdjustmentOnAfterSetParameters(var CostAdjustmentParamsMgt: Codeunit "Cost Adjustment Params Mgt.")

Parameters

Name Type Description
CostAdjustmentParamsMgt Codeunit Microsoft.Inventory.Costing."Cost Adjustment Params Mgt."

See also