InventCostTrans::find Method
Finds a record in the inventCostTrans Table
Syntax
client server public static InventCostTrans find(
TransDate _transDate,
ItemId _itemId,
InventDimId _financialInventDimId,
InventTransId _inventTransId,
Voucher _voucher,
InventCostTransState _costTransState,
InventCostTransRefType _costTransRefType,
InventCostTransType _costTransType,
[boolean _forUpdate])
Run On
Called
Parameters
- _transDate
Type: TransDate Extended Data Type
The transaction date for which the record should be looked up.
- _itemId
Type: ItemId Extended Data Type
The itemId value for which the record should be looked up.
- _financialInventDimId
Type: InventDimId Extended Data Type
The inventDimId value for which the record should be looked up.
- _inventTransId
Type: InventTransId Extended Data Type
The inventTransId value for which the record should be looked up.
- _voucher
Type: Voucher Extended Data Type
The voucher for which the record should be looked up.
- _costTransState
Type: InventCostTransState Enumeration
The costTransState value for which the record should be looked up.
- _costTransRefType
Type: InventCostTransRefType Enumeration
The costTransRefType for which the record should be looked up.
- _costTransType
Type: InventCostTransType Enumeration
The costTransType value for which the record should be looked up.
- _forUpdate
Type: boolean
A Boolean value that determines whether the record should be selected for update; optional.
Return Value
Type: InventCostTrans Table
An inventCostTrans record.
Remarks
This method uses the primary key to find the record. Use this method if the full key is available.
To look up a record that belongs to a revaluation, use the itemPriceRefRecId to distinguish between the records.