Codeunit "Avg. Cost Entry Point Mgt."

ID 5848
Namespace: Microsoft.Inventory.Costing

Implements

Properties

Name Value
Permissions TableData "Avg. Cost Adjmt. Entry Point" = rimd

Methods

GetMaxValuationDate

procedure GetMaxValuationDate(ItemLedgEntry: Record "Item Ledger Entry", ValueEntry: Record "Value Entry"): Date

Parameters

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

Returns

Type Description
Date

LockBuffer

procedure LockBuffer()

UpdateValuationDate

procedure UpdateValuationDate(ValueEntry: Record "Value Entry")

Parameters

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

IsEntriesAdjusted

procedure IsEntriesAdjusted(ItemNo: Code[20], EndingDate: Date): Boolean

Parameters

Name Type Description
ItemNo Code[20]
EndingDate Date

Returns

Type Description
Boolean

GetValuationPeriod

procedure GetValuationPeriod(var CalendarPeriod: Record Date, PostingDate: Date)

Parameters

Name Type Description
CalendarPeriod Table System.Utilities.Date
PostingDate Date

DeleteBuffer

procedure DeleteBuffer(ItemNo: Code[20], FromValuationDate: Date)

Parameters

Name Type Description
ItemNo Code[20]
FromValuationDate Date

See also