Table "Avg. Cost Adjmt. Entry Point"

ID 5804
Namespace: Microsoft.Inventory.Costing

Properties

Name Value
Caption Avg. Cost Adjmt. Entry Point
LookupPageId Page Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Points"
DataClassification CustomerContent

Fields

Name Type Description
"Item No." Code[20]
"Variant Code" Code[10]
"Location Code" Code[10]
"Valuation Date" Date
"Cost Is Adjusted" Boolean
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

ValuationExists

procedure ValuationExists(ValueEntry: Record "Value Entry"): Boolean

Parameters

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

Returns

Type Description
Boolean

PrevValuationAdjusted

procedure PrevValuationAdjusted(ValueEntry: Record "Value Entry"): Boolean

Parameters

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

Returns

Type Description
Boolean

UpdateValuationDate

procedure UpdateValuationDate(ValueEntry: Record "Value Entry")

Parameters

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

AvgCostCalcTypeIsChanged

procedure AvgCostCalcTypeIsChanged(FromDate: Date): Boolean

Parameters

Name Type Description
FromDate Date

Returns

Type Description
Boolean

GetAvgCostCalcTypeIsChgPeriod

procedure GetAvgCostCalcTypeIsChgPeriod(var NextFiscalYearAccPeriod: Record "Accounting Period", FromDate: Date)

Parameters

Name Type Description
NextFiscalYearAccPeriod Table Microsoft.Foundation.Period."Accounting Period"
FromDate Date

GetValuationPeriod

procedure GetValuationPeriod(var CalendarPeriod: Record Date)

Parameters

Name Type Description
CalendarPeriod Table System.Utilities.Date

IsAvgCostCalcTypeItem

procedure IsAvgCostCalcTypeItem(ValuationDate: Date): Boolean

Parameters

Name Type Description
ValuationDate Date

Returns

Type Description
Boolean

SetAvgCostAjmtFilter

procedure SetAvgCostAjmtFilter(var AvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point")

Parameters

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

RunCostAdjustmentUntilValuationDate

procedure RunCostAdjustmentUntilValuationDate()

Events

OnAfterSetAvgCostAjmtFilter

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

Parameters

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

OnValuationExistsOnAfterGetItem

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

Parameters

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

See also