Share via


Codeunit "Inventory Adjustment"

ID 5895
Namespace: Microsoft.Inventory.Costing

Implements

Properties

Name Value
Permissions TableData Item = rm, TableData "Item Ledger Entry" = rm, TableData "Item Application Entry" = rimd, TableData "Value Entry" = rim, TableData "Avg. Cost Adjmt. Entry Point" = rimd, TableData "Inventory Adjmt. Entry (Order)" = rm

Methods

SetProperties

procedure SetProperties(NewIsOnlineAdjmt: Boolean, NewPostToGL: Boolean)

Parameters

Name Type Description
NewIsOnlineAdjmt Boolean
NewPostToGL Boolean

SetFilterItem

procedure SetFilterItem(var NewItem: Record Item)

Parameters

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

MakeMultiLevelAdjmt

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

Parameters

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

MakeMultiLevelAdjmt

procedure MakeMultiLevelAdjmt()

IncludedInCostCalculation

procedure IncludedInCostCalculation(InbndValueEntry: Record "Value Entry", OutbndItemLedgEntryNo: Integer): Boolean

Parameters

Name Type Description
InbndValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
OutbndItemLedgEntryNo Integer

Returns

Type Description
Boolean

ExpCostIsCompletelyInvoiced

procedure ExpCostIsCompletelyInvoiced(ItemLedgEntry: Record "Item Ledger Entry", ValueEntry: Record "Value Entry"): Boolean

Parameters

Name Type Description
ItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"

Returns

Type Description
Boolean

SetJobUpdateProperties

procedure SetJobUpdateProperties(SkipJobUpdate: Boolean)

Parameters

Name Type Description
SkipJobUpdate Boolean

CallInitializeAdjmt

procedure CallInitializeAdjmt()

CallFinalizeAdjmt

procedure CallFinalizeAdjmt()

CallInvtToAdjustExist

procedure CallInvtToAdjustExist(var ToItem: Record Item): Boolean

Parameters

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

Returns

Type Description
Boolean

CallMakeSingleLevelAdjmt

procedure CallMakeSingleLevelAdjmt(var TheItem: Record Item, var TempAvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point" temporary)

Parameters

Name Type Description
TheItem Table Microsoft.Inventory.Item.Item
TempAvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"

CallWIPToAdjustExist

procedure CallWIPToAdjustExist(var ToInventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"): Boolean

Parameters

Name Type Description
ToInventoryAdjmtEntryOrder Table Microsoft.Inventory.Costing."Inventory Adjmt. Entry (Order)"

Returns

Type Description
Boolean

CallMakeWIPAdjmt

procedure CallMakeWIPAdjmt(var SourceInvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)", var TempAvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point" temporary)

Parameters

Name Type Description
SourceInvtAdjmtEntryOrder Table Microsoft.Inventory.Costing."Inventory Adjmt. Entry (Order)"
TempAvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"

CallAssemblyToAdjustExists

procedure CallAssemblyToAdjustExists(var ToInventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"): Boolean

Parameters

Name Type Description
ToInventoryAdjmtEntryOrder Table Microsoft.Inventory.Costing."Inventory Adjmt. Entry (Order)"

Returns

Type Description
Boolean

CallMakeAssemblyAdjmt

procedure CallMakeAssemblyAdjmt(var SourceInvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)", var TempAvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point" temporary)

Parameters

Name Type Description
SourceInvtAdjmtEntryOrder Table Microsoft.Inventory.Costing."Inventory Adjmt. Entry (Order)"
TempAvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"

CallUpdateAdjmtBuf

procedure CallUpdateAdjmtBuf(OrigValueEntry: Record "Value Entry", NewAdjustedCost: Decimal, NewAdjustedCostACY: Decimal, ItemLedgEntryPostingDate: Date, EntryType: Enum "Cost Entry Type"): Boolean

Parameters

Name Type Description
OrigValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
NewAdjustedCost Decimal
NewAdjustedCostACY Decimal
ItemLedgEntryPostingDate Date
EntryType Enum Microsoft.Inventory.Costing."Cost Entry Type"

Returns

Type Description
Boolean

CallPostAdjmtBuf

procedure CallPostAdjmtBuf(var TempAvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point" temporary)

Parameters

Name Type Description
TempAvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"

CallPostOutputAdjmtBuf

procedure CallPostOutputAdjmtBuf(var TempAvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point" temporary)

Parameters

Name Type Description
TempAvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"

CallSetAppliedEntryToAdjustFromBuf

procedure CallSetAppliedEntryToAdjustFromBuf(ItemNo: Code[20])

Parameters

Name Type Description
ItemNo Code[20]

CallAppliedEntryToAdjustBufExists

procedure CallAppliedEntryToAdjustBufExists(ItemNo: Code[20]): Boolean

Parameters

Name Type Description
ItemNo Code[20]

Returns

Type Description
Boolean

CallUpdateJobItemCost

procedure CallUpdateJobItemCost()

Events

OnAfterCalcInbndEntryAdjustedCost

[IntegrationEvent(True,False)]
local procedure OnAfterCalcInbndEntryAdjustedCost(var AdjustedCostElementBuf: Record "Cost Element Buffer", var InbndValueEntry: Record "Value Entry", InbndItemLedgEntry: Record "Item Ledger Entry", ItemApplnEntry: Record "Item Application Entry", OutbndItemLedgEntryNo: Integer, var CompletelyInvoiced: Boolean)

Parameters

Name Type Description
AdjustedCostElementBuf Table Microsoft.Inventory.Costing."Cost Element Buffer"
InbndValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
InbndItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
ItemApplnEntry Table Microsoft.Inventory.Ledger."Item Application Entry"
OutbndItemLedgEntryNo Integer
CompletelyInvoiced Boolean

OnAdjustOutbndAvgEntryOnBeforeForwardAvgCostToInbndEntries

[IntegrationEvent(False,False)]
local procedure OnAdjustOutbndAvgEntryOnBeforeForwardAvgCostToInbndEntries(var OutbndItemLedgEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
OutbndItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnAdjustItemAvgCostOnAfterLastTempAvgCostAdjmtEntryPoint

[IntegrationEvent(False,False)]
local procedure OnAdjustItemAvgCostOnAfterLastTempAvgCostAdjmtEntryPoint(var TempAvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point" temporary, var Restart: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
TempAvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"
Restart Boolean
IsHandled Boolean

OnAdjustItemAvgCostOnAfterCalcRestart

[IntegrationEvent(False,False)]
local procedure OnAdjustItemAvgCostOnAfterCalcRestart(var TempExcludedValueEntry: Record "Value Entry" temporary, var Restart: Boolean)

Parameters

Name Type Description
TempExcludedValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
Restart Boolean

OnAvgValueEntriesToAdjustExistOnAfterSetAvgValueEntryFilters

[IntegrationEvent(False,False)]
local procedure OnAvgValueEntriesToAdjustExistOnAfterSetAvgValueEntryFilters(var ValueEntry: Record "Value Entry")

Parameters

Name Type Description
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"

OnAvgValueEntriesToAdjustExistOnAfterSetChildValueEntryFilters

[IntegrationEvent(False,False)]
local procedure OnAvgValueEntriesToAdjustExistOnAfterSetChildValueEntryFilters(var ValueEntry: Record "Value Entry")

Parameters

Name Type Description
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"

OnAvgValueEntriesToAdjustExistOnFindNextRangeOnBeforeAvgValueEntriesToAdjustExist

[IntegrationEvent(False,False)]
local procedure OnAvgValueEntriesToAdjustExistOnFindNextRangeOnBeforeAvgValueEntriesToAdjustExist(var OutbndValueEntry: Record "Value Entry", var ExcludedValueEntry: Record "Value Entry", var AvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point")

Parameters

Name Type Description
OutbndValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
ExcludedValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
AvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"

OnAfterGetValuationPeriod

[IntegrationEvent(False,False)]
local procedure OnAfterGetValuationPeriod(var CalendarPeriod: Record Date, Item: Record Item)

Parameters

Name Type Description
CalendarPeriod Table System.Utilities.Date
Item Table Microsoft.Inventory.Item.Item

OnAfterGetVisitedEntries

Obsolete

This element will become obsolete from version 26.0. Replaced by OnExcludeAvgCostOnValuationDateOnAfterGetItemApplicationTrace event

[Obsolete(Replaced by OnExcludeAvgCostOnValuationDateOnAfterGetItemApplicationTrace event,26.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterGetVisitedEntries(var ExcludedValueEntry: Record "Value Entry", OutbndValueEntry: Record "Value Entry", var ItemLedgEntryInChain: Record "Item Ledger Entry")

Parameters

Name Type Description
ExcludedValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
OutbndValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
ItemLedgEntryInChain Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnAfterIsAvgCostItem

[IntegrationEvent(False,False)]
local procedure OnAfterIsAvgCostItem(var Item: Record Item, var AvgCostItem: Boolean)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
AvgCostItem Boolean

OnAfterMakeMultiLevelAdjmt

[IntegrationEvent(False,False)]
local procedure OnAfterMakeMultiLevelAdjmt(var Item: Record Item, IsOnlineAdjmt: Boolean, PostToGL: Boolean, var FilterItem: Record Item)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
IsOnlineAdjmt Boolean
PostToGL Boolean
FilterItem Table Microsoft.Inventory.Item.Item

OnBeforeCalcInbndEntryAdjustedCost

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcInbndEntryAdjustedCost(var AdjustedCostElementBuf: Record "Cost Element Buffer", ItemApplnEntry: Record "Item Application Entry", OutbndItemLedgEntryNo: Integer, InbndItemLedgEntryNo: Integer, ExactCostReversing: Boolean, Recursion: Boolean, var CompletelyInvoiced: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
AdjustedCostElementBuf Table Microsoft.Inventory.Costing."Cost Element Buffer"
ItemApplnEntry Table Microsoft.Inventory.Ledger."Item Application Entry"
OutbndItemLedgEntryNo Integer
InbndItemLedgEntryNo Integer
ExactCostReversing Boolean
Recursion Boolean
CompletelyInvoiced Boolean
IsHandled Boolean

OnBeforeCopyILEToILE

[IntegrationEvent(False,False)]
local procedure OnBeforeCopyILEToILE(var Item: Record Item, ItemLedgEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
ItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnBeforeCopyItemToItem

[IntegrationEvent(False,False)]
local procedure OnBeforeCopyItemToItem(var FromItem: Record Item, var ToItem: Record Item, var IsHandled: Boolean)

Parameters

Name Type Description
FromItem Table Microsoft.Inventory.Item.Item
ToItem Table Microsoft.Inventory.Item.Item
IsHandled Boolean

OnBeforeIsUpdateCompletelyInvoiced

[IntegrationEvent(False,False)]
local procedure OnBeforeIsUpdateCompletelyInvoiced(ItemLedgEntry: Record "Item Ledger Entry", CompletelyInvoiced: Boolean, var Result: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
CompletelyInvoiced Boolean
Result Boolean
IsHandled Boolean

OnBeforeMakeMultiLevelAdjmt

[IntegrationEvent(False,False)]
local procedure OnBeforeMakeMultiLevelAdjmt(var Item: Record Item, IsOnlineAdjmt: Boolean, var PostToGL: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
IsOnlineAdjmt Boolean
PostToGL Boolean
IsHandled Boolean

OnBeforeMakeMultiLevejAdjmtOnAfterGetParameters

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

Parameters

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

OnBeforePostItemJnlLine

[IntegrationEvent(False,False)]
local procedure OnBeforePostItemJnlLine(var ItemJournalLine: Record "Item Journal Line", OrigValueEntry: Record "Value Entry", NewAdjustedCost: Decimal, NewAdjustedCostACY: Decimal, SkipUpdateJobItemCost: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
OrigValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
NewAdjustedCost Decimal
NewAdjustedCostACY Decimal
SkipUpdateJobItemCost Boolean
IsHandled Boolean

OnBeforeOpenWindow

[IntegrationEvent(False,False)]
local procedure OnBeforeOpenWindow(var IsHandled: Boolean, var WindowDialog: Dialog, var WindowIsOpen: Boolean)

Parameters

Name Type Description
IsHandled Boolean
WindowDialog Dialog
WindowIsOpen Boolean

OnBeforeUpdateAdjmtBuf

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateAdjmtBuf(OrigValueEntry: Record "Value Entry", NewAdjustedCost: Decimal, NewAdjustedCostACY: Decimal, ItemLedgEntryPostingDate: Date, EntryType: Enum "Cost Entry Type", var Result: Boolean, var IsHandled: Boolean, var Item: Record Item)

Parameters

Name Type Description
OrigValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
NewAdjustedCost Decimal
NewAdjustedCostACY Decimal
ItemLedgEntryPostingDate Date
EntryType Enum Microsoft.Inventory.Costing."Cost Entry Type"
Result Boolean
IsHandled Boolean
Item Table Microsoft.Inventory.Item.Item

OnBeforeUpdateWindow

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateWindow(var IsHandled: Boolean)

Parameters

Name Type Description
IsHandled Boolean

OnBeforeUpdateItemUnitCost

Obsolete

This element will become obsolete from version 26.0. Record parameter TempItemLedgerEntry is replaced with dictionary parameter ItemLedgEntryToAdjust

[Obsolete(Record parameter TempItemLedgerEntry is replaced with dictionary parameter ItemLedgEntryToAdjust,26.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateItemUnitCost(var TempAvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point" temporary, var IsHandled: Boolean, var Item: Record Item, var TempItemLedgerEntry: Record "Item Ledger Entry" temporary)

Parameters

Name Type Description
TempAvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"
IsHandled Boolean
Item Table Microsoft.Inventory.Item.Item
TempItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnBeforeUpdateItemUnitCost2

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateItemUnitCost2(var TempAvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point" temporary, var IsHandled: Boolean, var Item: Record Item, var ItemLedgEntryToAdjust: Dictionary of [Code[20], List of [Integer]])

Parameters

Name Type Description
TempAvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"
IsHandled Boolean
Item Table Microsoft.Inventory.Item.Item
ItemLedgEntryToAdjust Dictionary of [Code[20], List of [Integer]]

OnBeforeUpdateConsumpAvgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateConsumpAvgEntry(ValueEntry: Record "Value Entry", var IsHandled: Boolean)

Parameters

Name Type Description
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
IsHandled Boolean

OnCopyAvgCostAdjmtToAvgCostAdjmtOnAfterInsert

[IntegrationEvent(False,False)]
local procedure OnCopyAvgCostAdjmtToAvgCostAdjmtOnAfterInsert(var AvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point")

Parameters

Name Type Description
AvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"

OnCopyCostElementBufToValueEntryBufOnBeforeValueEntryBufInsert

[IntegrationEvent(False,False)]
local procedure OnCopyCostElementBufToValueEntryBufOnBeforeValueEntryBufInsert(var ValueEntryBuf: Record "Value Entry", CostElementBuffer: Record "Cost Element Buffer")

Parameters

Name Type Description
ValueEntryBuf Table Microsoft.Inventory.Ledger."Value Entry"
CostElementBuffer Table Microsoft.Inventory.Costing."Cost Element Buffer"

OnCopyValueEntryBufToCostElementBufOnBeforeCostElementBufferInsert

[IntegrationEvent(False,False)]
local procedure OnCopyValueEntryBufToCostElementBufOnBeforeCostElementBufferInsert(var CostElementBuffer: Record "Cost Element Buffer", ValueEntryBuf: Record "Value Entry")

Parameters

Name Type Description
CostElementBuffer Table Microsoft.Inventory.Costing."Cost Element Buffer"
ValueEntryBuf Table Microsoft.Inventory.Ledger."Value Entry"

OnExcludeAvgCostOnValuationDateOnAfterSetItemLedgEntryInChainFilters

Obsolete

This element will become obsolete from version 26.0. Use OnExcludeAvgCostOnValuationDateOnAfterGetItemApplicationTrace instead.

[Obsolete(Use OnExcludeAvgCostOnValuationDateOnAfterGetItemApplicationTrace instead.,26.0)]
[IntegrationEvent(False,False)]
local procedure OnExcludeAvgCostOnValuationDateOnAfterSetItemLedgEntryInChainFilters(var ItemLedgerEntryInChain: Record "Item Ledger Entry" temporary)

Parameters

Name Type Description
ItemLedgerEntryInChain Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnForwardAppliedCostOnAfterSetAppliedQty

[IntegrationEvent(False,False)]
local procedure OnForwardAppliedCostOnAfterSetAppliedQty(ItemLedgerEntry: Record "Item Ledger Entry", var AppliedQty: Decimal)

Parameters

Name Type Description
ItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
AppliedQty Decimal

OnGetOrigValueEntryOnAfterOrigValueEntryFound

[IntegrationEvent(False,False)]
local procedure OnGetOrigValueEntryOnAfterOrigValueEntryFound(var OrigValueEntry: Record "Value Entry", ValueEntry: Record "Value Entry")

Parameters

Name Type Description
OrigValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"

OnIsOutputWithSelfConsumptionOnAfterSetTempItemLedgEntryFilter

Obsolete

This element will become obsolete from version 26.0. Replaced by OnIsOutputWithSelfConsumptionOnAfterGetItemApplicationTrace

[Obsolete(Replaced by OnIsOutputWithSelfConsumptionOnAfterGetItemApplicationTrace,26.0)]
[IntegrationEvent(False,False)]
local procedure OnIsOutputWithSelfConsumptionOnAfterSetTempItemLedgEntryFilter(var TempItemLedgerEntry: Record "Item Ledger Entry" temporary)

Parameters

Name Type Description
TempItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnIsOutputWithSelfConsumptionOnAfterSetConsumpValueEntryFilters

[IntegrationEvent(False,False)]
local procedure OnIsOutputWithSelfConsumptionOnAfterSetConsumpValueEntryFilters(var ConsumpValueEntry: Record "Value Entry")

Parameters

Name Type Description
ConsumpValueEntry Table Microsoft.Inventory.Ledger."Value Entry"

OnOpenOutbndItemLedgEntriesExistOnAfterSetOpenItemLedgEntryFilters

[IntegrationEvent(False,False)]
local procedure OnOpenOutbndItemLedgEntriesExistOnAfterSetOpenItemLedgEntryFilters(var OpenItemLedgerEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
OpenItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnPostItemJnlLineCopyFromValueEntry

[IntegrationEvent(False,False)]
local procedure OnPostItemJnlLineCopyFromValueEntry(var ItemJournalLine: Record "Item Journal Line", ValueEntry: Record "Value Entry")

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"

OnPostItemJnlLineOnAfterItemJnlPostLineRunWithCheck

[IntegrationEvent(False,False)]
local procedure OnPostItemJnlLineOnAfterItemJnlPostLineRunWithCheck(var ItemJournalLine: Record "Item Journal Line", ValueEntry: Record "Value Entry")

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"

OnPostItemJnlLineOnAfterSetPostingDate

[IntegrationEvent(False,False)]
local procedure OnPostItemJnlLineOnAfterSetPostingDate(var ItemJournalLine: Record "Item Journal Line", ValueEntry: Record "Value Entry", PostingDateForClosedPeriod: Date, var Item: Record Item)

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
PostingDateForClosedPeriod Date
Item Table Microsoft.Inventory.Item.Item

OnMakeMultiLevelAdjmtOnAfterMakeAdjmt

[IntegrationEvent(False,False)]
local procedure OnMakeMultiLevelAdjmtOnAfterMakeAdjmt(var TempAvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point" temporary, var FilterItem: Record Item, var RndgResidualBuf: Record "Rounding Residual Buffer", IsOnlineAdjmt: Boolean, PostToGL: Boolean, var ItemJnlPostLine: Codeunit "Item Jnl.-Post Line")

Parameters

Name Type Description
TempAvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"
FilterItem Table Microsoft.Inventory.Item.Item
RndgResidualBuf Table Microsoft.Inventory.Costing."Rounding Residual Buffer"
IsOnlineAdjmt Boolean
PostToGL Boolean
ItemJnlPostLine Codeunit Microsoft.Inventory.Posting."Item Jnl.-Post Line"

OnMakeSingleLevelAdjmtOnAfterUpdateItemUnitCost

[IntegrationEvent(False,False)]
local procedure OnMakeSingleLevelAdjmtOnAfterUpdateItemUnitCost(var TheItem: Record Item, var TempAvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point" temporary, var LevelExceeded: Boolean, IsOnlineAdjmt: Boolean, var ItemJnlPostLine: Codeunit "Item Jnl.-Post Line")

Parameters

Name Type Description
TheItem Table Microsoft.Inventory.Item.Item
TempAvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"
LevelExceeded Boolean
IsOnlineAdjmt Boolean
ItemJnlPostLine Codeunit Microsoft.Inventory.Posting."Item Jnl.-Post Line"

OnInvtToAdjustExistOnBeforeCopyItemToItem

[IntegrationEvent(False,False)]
local procedure OnInvtToAdjustExistOnBeforeCopyItemToItem(var Item: Record Item)

Parameters

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

OnBeforeUpdateJobItemCost

Obsolete

This element will become obsolete from version 26.0. Record parameter Job is replaced with list parameter JobsToAdjust

[Obsolete(Record parameter Job is replaced with list parameter JobsToAdjust,26.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateJobItemCost(var Job: Record Job)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job

OnBeforeRunUpdateJobItemCost

[IntegrationEvent(False,False)]
local procedure OnBeforeRunUpdateJobItemCost(var JobsToAdjust: List of [Code[20]])

Parameters

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

OnUpdateItemUnitCostOnAfterItemGet

[IntegrationEvent(False,False)]
local procedure OnUpdateItemUnitCostOnAfterItemGet(var Item: Record Item)

Parameters

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

OnUpdateItemUnitCostOnAfterModifyItemNotStandardCostingMethod

[IntegrationEvent(False,False)]
local procedure OnUpdateItemUnitCostOnAfterModifyItemNotStandardCostingMethod(var Item: Record Item)

Parameters

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

OnUpdateItemUnitCostOnBeforeModifyItemNotStandardCostingMethod

[IntegrationEvent(False,False)]
local procedure OnUpdateItemUnitCostOnBeforeModifyItemNotStandardCostingMethod(var Item: Record Item)

Parameters

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

OnUpdateConsumpAvgEntryOnAfterSetItemLedgEntryFilters

[IntegrationEvent(False,False)]
local procedure OnUpdateConsumpAvgEntryOnAfterSetItemLedgEntryFilters(var ItemLedgerEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
ItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnPostOutputOnBeforePostItemJnlLine

[IntegrationEvent(False,False)]
local procedure OnPostOutputOnBeforePostItemJnlLine(var ItemJnlLine: Record "Item Journal Line", OrigValueEntry: Record "Value Entry", var InvtAdjmtBuf: Record "Inventory Adjustment Buffer", var GLSetup: Record "General Ledger Setup", var IsHandled: Boolean)

Parameters

Name Type Description
ItemJnlLine Table Microsoft.Inventory.Journal."Item Journal Line"
OrigValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
InvtAdjmtBuf Table Microsoft.Inventory.Costing."Inventory Adjustment Buffer"
GLSetup Table Microsoft.Finance.GeneralLedger.Setup."General Ledger Setup"
IsHandled Boolean

OnAfterInitAdjmtJnlLine

[IntegrationEvent(False,False)]
local procedure OnAfterInitAdjmtJnlLine(var ItemJnlLine: Record "Item Journal Line", OrigValueEntry: Record "Value Entry", EntryType: Enum "Cost Entry Type", VarianceType: Enum "Cost Variance Type", InvoicedQty: Decimal)

Parameters

Name Type Description
ItemJnlLine Table Microsoft.Inventory.Journal."Item Journal Line"
OrigValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
EntryType Enum Microsoft.Inventory.Costing."Cost Entry Type"
VarianceType Enum Microsoft.Inventory.Costing."Cost Variance Type"
InvoicedQty Decimal

OnWIPToAdjustExistOnAfterInventoryAdjmtEntryOrderSetFilters

[IntegrationEvent(False,False)]
local procedure OnWIPToAdjustExistOnAfterInventoryAdjmtEntryOrderSetFilters(var InventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)")

Parameters

Name Type Description
InventoryAdjmtEntryOrder Table Microsoft.Inventory.Costing."Inventory Adjmt. Entry (Order)"

OnBeforeMakeSingleLevelAdjmt

[IntegrationEvent(False,False)]
local procedure OnBeforeMakeSingleLevelAdjmt(var TheItem: Record Item, var TempAvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point" temporary, var IsHandled: Boolean)

Parameters

Name Type Description
TheItem Table Microsoft.Inventory.Item.Item
TempAvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"
IsHandled Boolean

OnAdjustItemAvgCostOnBeforeAdjustValueEntries

[IntegrationEvent(False,False)]
local procedure OnAdjustItemAvgCostOnBeforeAdjustValueEntries()

OnAvgValueEntriesToAdjustExistOnBeforeIsNotAdjustment

[IntegrationEvent(False,False)]
local procedure OnAvgValueEntriesToAdjustExistOnBeforeIsNotAdjustment(var ValueEntry: Record "Value Entry", var OutbndValueEntry: Record "Value Entry")

Parameters

Name Type Description
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
OutbndValueEntry Table Microsoft.Inventory.Ledger."Value Entry"

OnMakeSingleLevelAdjmtOnBeforeCollectAvgCostAdjmtEntryPointToUpdate

[IntegrationEvent(False,False)]
local procedure OnMakeSingleLevelAdjmtOnBeforeCollectAvgCostAdjmtEntryPointToUpdate(var TheItem: Record Item)

Parameters

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

OnInitializeAdjmtOnAfterGetPostingDate

[IntegrationEvent(False,False)]
local procedure OnInitializeAdjmtOnAfterGetPostingDate(var PostingDateForClosedPeriod: Date)

Parameters

Name Type Description
PostingDateForClosedPeriod Date

OnAdjustAppliedInbndEntriesOnAfterSetFilter

[IntegrationEvent(False,False)]
local procedure OnAdjustAppliedInbndEntriesOnAfterSetFilter(var InbndValueEntry: Record "Value Entry")

Parameters

Name Type Description
InbndValueEntry Table Microsoft.Inventory.Ledger."Value Entry"

OnCreateIndirectCostAdjmtOnAfterPostItemJnlLine

[IntegrationEvent(False,False)]
local procedure OnCreateIndirectCostAdjmtOnAfterPostItemJnlLine(ValueEntry: Record "Value Entry", NewAdjustedCost: Decimal, NewAdjustedCostACY: Decimal)

Parameters

Name Type Description
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
NewAdjustedCost Decimal
NewAdjustedCostACY Decimal

OnPostAdjmtBufOnAfterPostExpectedCost

[IntegrationEvent(False,False)]
local procedure OnPostAdjmtBufOnAfterPostExpectedCost(ValueEntry: Record "Value Entry", TempInventoryAdjustmentBuffer: Record "Inventory Adjustment Buffer" temporary)

Parameters

Name Type Description
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
TempInventoryAdjustmentBuffer Table Microsoft.Inventory.Costing."Inventory Adjustment Buffer"

OnPostAdjmtBufOnAfterPostNewCost

[IntegrationEvent(False,False)]
local procedure OnPostAdjmtBufOnAfterPostNewCost(ValueEntry: Record "Value Entry", TempInventoryAdjustmentBuffer: Record "Inventory Adjustment Buffer" temporary)

Parameters

Name Type Description
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
TempInventoryAdjustmentBuffer Table Microsoft.Inventory.Costing."Inventory Adjustment Buffer"

OnMakeSingleLevelAdjmtOnAfterLevelExceeded

[IntegrationEvent(False,False)]
local procedure OnMakeSingleLevelAdjmtOnAfterLevelExceeded(var Item: Record Item)

Parameters

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

OnMakeSingleLevelAdjmtOnBeforePostAdjmtBuf

Obsolete

This element will become obsolete from version 26.0. Record parameter TempJobToAdjustBuf is replaced with list parameter JobsToAdjust

[Obsolete(Record parameter TempJobToAdjustBuf is replaced with list parameter JobsToAdjust,26.0)]
[IntegrationEvent(False,False)]
local procedure OnMakeSingleLevelAdjmtOnBeforePostAdjmtBuf(var Item: Record Item, var TempAvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point" temporary, var TempInventoryAdjustmentBuffer: Record "Inventory Adjustment Buffer" temporary, var TempRoundingResidualBuffer: Record "Rounding Residual Buffer" temporary, PostingDateForClosedPeriod: Date, Currency: Record Currency, SkipUpdateJobItemCost: Boolean, var TempJobToAdjustBuf: Record Job temporary, ItemJnlPostLine: Codeunit "Item Jnl.-Post Line", var IsHandled: Boolean)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
TempAvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"
TempInventoryAdjustmentBuffer Table Microsoft.Inventory.Costing."Inventory Adjustment Buffer"
TempRoundingResidualBuffer Table Microsoft.Inventory.Costing."Rounding Residual Buffer"
PostingDateForClosedPeriod Date
Currency Table Microsoft.Finance.Currency.Currency
SkipUpdateJobItemCost Boolean
TempJobToAdjustBuf Table Microsoft.Projects.Project.Job.Job
ItemJnlPostLine Codeunit Microsoft.Inventory.Posting."Item Jnl.-Post Line"
IsHandled Boolean

OnMakeSingleLevelAdjmtOnBeforePostAdjmtBuf2

[IntegrationEvent(False,False)]
local procedure OnMakeSingleLevelAdjmtOnBeforePostAdjmtBuf2(var Item: Record Item, var TempAvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point" temporary, var TempInventoryAdjustmentBuffer: Record "Inventory Adjustment Buffer" temporary, var TempRoundingResidualBuffer: Record "Rounding Residual Buffer" temporary, PostingDateForClosedPeriod: Date, Currency: Record Currency, SkipUpdateJobItemCost: Boolean, var JobsToAdjust: List of [Code[20]], ItemJnlPostLine: Codeunit "Item Jnl.-Post Line", var IsHandled: Boolean)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
TempAvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"
TempInventoryAdjustmentBuffer Table Microsoft.Inventory.Costing."Inventory Adjustment Buffer"
TempRoundingResidualBuffer Table Microsoft.Inventory.Costing."Rounding Residual Buffer"
PostingDateForClosedPeriod Date
Currency Table Microsoft.Finance.Currency.Currency
SkipUpdateJobItemCost Boolean
JobsToAdjust List of [Code[20]]
ItemJnlPostLine Codeunit Microsoft.Inventory.Posting."Item Jnl.-Post Line"
IsHandled Boolean

OnForwardAppliedCostOnBeforeUpdateWindow

[IntegrationEvent(False,False)]
local procedure OnForwardAppliedCostOnBeforeUpdateWindow(var ItemLedgerEntry: Record "Item Ledger Entry", var Item: Record Item)

Parameters

Name Type Description
ItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
Item Table Microsoft.Inventory.Item.Item

OnAdjustAppliedOutbndEntriesOnBeforeCheckExpectedCost

[IntegrationEvent(False,False)]
local procedure OnAdjustAppliedOutbndEntriesOnBeforeCheckExpectedCost(var Item: Record Item, var OutbndValueEntry: Record "Value Entry")

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
OutbndValueEntry Table Microsoft.Inventory.Ledger."Value Entry"

OnCalcInbndEntryAdjustedCostOnBeforeAddCost

[IntegrationEvent(False,False)]
local procedure OnCalcInbndEntryAdjustedCostOnBeforeAddCost(var Item: Record Item, var InbndValueEntry: Record "Value Entry")

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
InbndValueEntry Table Microsoft.Inventory.Ledger."Value Entry"

OnAdjustItemAvgCostOnBeforeUpdateWindow

[IntegrationEvent(False,False)]
local procedure OnAdjustItemAvgCostOnBeforeUpdateWindow(var Item: Record Item)

Parameters

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

OnUpdateAdjmtBufOnBeforeHasNewCost

[IntegrationEvent(False,False)]
local procedure OnUpdateAdjmtBufOnBeforeHasNewCost(OrigValueEntry: Record "Value Entry", NewAdjustedCost: Decimal, NewAdjustedCostACY: Decimal, ItemLedgEntryPostingDate: Date, EntryType: Enum "Cost Entry Type", var IsHandled: Boolean, var TempInvtAdjmtBuf: Record "Inventory Adjustment Buffer" temporary, var Item: Record Item)

Parameters

Name Type Description
OrigValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
NewAdjustedCost Decimal
NewAdjustedCostACY Decimal
ItemLedgEntryPostingDate Date
EntryType Enum Microsoft.Inventory.Costing."Cost Entry Type"
IsHandled Boolean
TempInvtAdjmtBuf Table Microsoft.Inventory.Costing."Inventory Adjustment Buffer"
Item Table Microsoft.Inventory.Item.Item

OnUpdateWindowOnAfterOpenWindow

[IntegrationEvent(False,False)]
local procedure OnUpdateWindowOnAfterOpenWindow(var IsHandled: Boolean)

Parameters

Name Type Description
IsHandled Boolean

OnCalcAvgCostOnAfterAssignRoundingError

[IntegrationEvent(False,False)]
local procedure OnCalcAvgCostOnAfterAssignRoundingError(var RoundingError: Decimal, var RoundingErrorACY: Decimal, var CostElementBuffer: Record "Cost Element Buffer")

Parameters

Name Type Description
RoundingError Decimal
RoundingErrorACY Decimal
CostElementBuffer Table Microsoft.Inventory.Costing."Cost Element Buffer"

OnAdjustOutbndAvgEntryOnNewCostElementBuf

[IntegrationEvent(False,False)]
local procedure OnAdjustOutbndAvgEntryOnNewCostElementBuf(var OutbndValueEntry: Record "Value Entry")

Parameters

Name Type Description
OutbndValueEntry Table Microsoft.Inventory.Ledger."Value Entry"

OnUpdateAdjmtBufOnAfterAddActualCostBuf

[IntegrationEvent(False,False)]
local procedure OnUpdateAdjmtBufOnAfterAddActualCostBuf(OrigValueEntry: Record "Value Entry", NewAdjustedCost: Decimal, NewAdjustedCostACY: Decimal, ItemLedgEntryPostingDate: Date, TempInventoryAdjustmentBuffer: Record "Inventory Adjustment Buffer" temporary)

Parameters

Name Type Description
OrigValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
NewAdjustedCost Decimal
NewAdjustedCostACY Decimal
ItemLedgEntryPostingDate Date
TempInventoryAdjustmentBuffer Table Microsoft.Inventory.Costing."Inventory Adjustment Buffer"

OnEliminateRndgResidualOnBeforeCheckHasNewCost

[IntegrationEvent(False,False)]
local procedure OnEliminateRndgResidualOnBeforeCheckHasNewCost(InbndItemLedgerEntry: Record "Item Ledger Entry", ValueEntry: Record "Value Entry", RndgCost: Decimal, RndgCostACY: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
InbndItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
RndgCost Decimal
RndgCostACY Decimal
IsHandled Boolean

OnBeforeAdjustItem

[IntegrationEvent(False,False)]
local procedure OnBeforeAdjustItem(var TheItem: Record Item)

Parameters

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

OnAfterAdjustItem

[IntegrationEvent(False,False)]
local procedure OnAfterAdjustItem(var TheItem: Record Item)

Parameters

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

OnEliminateRndgResidualOnAfterCalcInboundCost

[IntegrationEvent(False,False)]
local procedure OnEliminateRndgResidualOnAfterCalcInboundCost(var ValueEntry: Record "Value Entry", InbndItemLedgEntryNo: Integer)

Parameters

Name Type Description
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
InbndItemLedgEntryNo Integer

OnBeforeCollectItemLedgerEntryTypesUsed

[IntegrationEvent(False,False)]
local procedure OnBeforeCollectItemLedgerEntryTypesUsed(var Item: Record Item, var IsHandled: Boolean)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
IsHandled Boolean

OnAdjustItemAppliedCostForItemLedgerEntry

[IntegrationEvent(False,False)]
local procedure OnAdjustItemAppliedCostForItemLedgerEntry(var ItemLedgEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
ItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnAdjustAppliedOutbndEntry

[IntegrationEvent(False,False)]
local procedure OnAdjustAppliedOutbndEntry(var OutbndItemLedgEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
OutbndItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnAdjustAppliedInbndEntry

[IntegrationEvent(False,False)]
local procedure OnAdjustAppliedInbndEntry(var InbndItemLedgEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
InbndItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnAdjustAppliedInbndTransEntry

[IntegrationEvent(False,False)]
local procedure OnAdjustAppliedInbndTransEntry(var TransItemLedgEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
TransItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnBeforeAvgCostAdjmtEntryPoint

[IntegrationEvent(False,False)]
local procedure OnBeforeAvgCostAdjmtEntryPoint(var AvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point")

Parameters

Name Type Description
AvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"

OnBeforeIteratingOverOutbndAvgEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeIteratingOverOutbndAvgEntries(var OutbndValueEntry: Record "Value Entry", var AvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point", RemainingOutbnd: Integer)

Parameters

Name Type Description
OutbndValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
AvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"
RemainingOutbnd Integer

OnAdjustOutbndAvgEntry

[IntegrationEvent(False,False)]
local procedure OnAdjustOutbndAvgEntry(var OutbndValueEntry: Record "Value Entry")

Parameters

Name Type Description
OutbndValueEntry Table Microsoft.Inventory.Ledger."Value Entry"

OnExcludeAvgCostOnValuationDate

[IntegrationEvent(False,False)]
local procedure OnExcludeAvgCostOnValuationDate(var ExcludedValueEntry: Record "Value Entry")

Parameters

Name Type Description
ExcludedValueEntry Table Microsoft.Inventory.Ledger."Value Entry"

OnBeforeIsExcludeFromAvgCostForRevalPoint

[IntegrationEvent(False,False)]
local procedure OnBeforeIsExcludeFromAvgCostForRevalPoint(var RevaluationPoint: Record Integer, var RevaluationCheckValueEntry: Record "Value Entry", var OutbndValueEntry: Record "Value Entry")

Parameters

Name Type Description
RevaluationPoint Table System.Utilities.Integer
RevaluationCheckValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
OutbndValueEntry Table Microsoft.Inventory.Ledger."Value Entry"

OnMakeWIPAdjmt

[IntegrationEvent(False,False)]
local procedure OnMakeWIPAdjmt(var SourceInvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)")

Parameters

Name Type Description
SourceInvtAdjmtEntryOrder Table Microsoft.Inventory.Costing."Inventory Adjmt. Entry (Order)"

OnMakeAssemblyAdjmt

[IntegrationEvent(False,False)]
local procedure OnMakeAssemblyAdjmt(var SourceInvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)")

Parameters

Name Type Description
SourceInvtAdjmtEntryOrder Table Microsoft.Inventory.Costing."Inventory Adjmt. Entry (Order)"

OnAfterSetParameters

Obsolete

This element will become obsolete from version 27.0. This event is never raised.

[Obsolete(This event is never raised.,27.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterSetParameters(var CostAdjustmentParameter: Record "Cost Adjustment Parameter" temporary)

Parameters

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

OnExcludeAvgCostOnValuationDateOnAfterGetItemApplicationTrace

[IntegrationEvent(False,False)]
local procedure OnExcludeAvgCostOnValuationDateOnAfterGetItemApplicationTrace(var OutbndValueEntry: Record "Value Entry", var OutbndEntryItemApplicationTrace: Record "Item Application Trace" temporary)

Parameters

Name Type Description
OutbndValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
OutbndEntryItemApplicationTrace Table Microsoft.Inventory.Costing."Item Application Trace"

OnIsOutputWithSelfConsumptionOnAfterGetItemApplicationTrace

[IntegrationEvent(False,False)]
local procedure OnIsOutputWithSelfConsumptionOnAfterGetItemApplicationTrace(var ItemApplicationTrace: Record "Item Application Trace" temporary)

Parameters

Name Type Description
ItemApplicationTrace Table Microsoft.Inventory.Costing."Item Application Trace"

OnCalcInbndEntryAdjustedCostOnBeforeCalcNewAdjustedCost

[IntegrationEvent(True,False)]
local procedure OnCalcInbndEntryAdjustedCostOnBeforeCalcNewAdjustedCost(var CostElementBuffer: Record "Cost Element Buffer", ItemApplicationEntry: Record "Item Application Entry", ItemLedgerEntry: Record "Item Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
CostElementBuffer Table Microsoft.Inventory.Costing."Cost Element Buffer"
ItemApplicationEntry Table Microsoft.Inventory.Ledger."Item Application Entry"
ItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
IsHandled Boolean

See also