CostSheetCalculationFactor::findCostingVersion Method
Returns the most appropriate calculation factor for a set of parameters.
Syntax
client server public static CostSheetCalculationFactor findCostingVersion(
CostSheetNodeId _calculationNodeId,
ItemId _itemId,
ItemGroupId _itemGroupId,
InventSiteId _inventSiteId,
CostingVersionId _versionId,
FromDate _fromDate,
CostSheetCalculationFactor _tmpCostSheetCalculationFactor,
[boolean _forUpdate,
CostSheetId _costSheetId])
Run On
Called
Parameters
- _calculationNodeId
Type: CostSheetNodeId Extended Data Type
The ID of the calculation node.
- _itemId
Type: ItemId Extended Data Type
The Item ID.
- _itemGroupId
Type: ItemGroupId Extended Data Type
The Item group ID.
- _inventSiteId
Type: InventSiteId Extended Data Type
The Site name.
- _versionId
Type: CostingVersionId Extended Data Type
The Costing version ID.
- _fromDate
Type: FromDate Extended Data Type
The date for which the nearest previous record should be found.
- _tmpCostSheetCalculationFactor
Type: CostSheetCalculationFactor Table
A record that will be used in the select statement if it is temporary.
- _forUpdate
Type: boolean
A Boolean value that determines whether the record should be selected for update; optional.
- _costSheetId
Type: CostSheetId Extended Data Type
A costSheetId, reserved for future releases, where multiple costing sheets will be used; optional.
Return Value
Type: CostSheetCalculationFactor Table
The most appropriate record for the specified version ID.