Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds the current active calculation factor for a set of parameters.
Syntax
client server public static CostSheetCalculationFactor findCurrent(
CostSheetNodeId _calculationNodeId,
TableGroupAll _itemCode,
CostItemRelation _itemRelation,
InventSiteId _inventSiteId,
CostSheetCalculationFactor _tmpCostSheetCalculationFactor,
[boolean _forUpdate,
CostSheetId _costSheetId])
Run On
Called
Parameters
- _calculationNodeId
Type: CostSheetNodeId Extended Data Type
The ID of the calculation node.
- _itemCode
Type: TableGroupAll Enumeration
A TableGroupAll value: All, Group, or Item.
- _itemRelation
Type: CostItemRelation Extended Data Type
A CostItemRelation value: item ID, item group ID, or empty.
- _inventSiteId
Type: InventSiteId Extended Data Type
The name of the site.
- _tmpCostSheetCalculationFactor
Type: CostSheetCalculationFactor Table
The record that will be used in the select statement if it is temporary.
- _forUpdate
Type: boolean
A Boolean value that indicates whether the found record should be selected for update; optional.
- _costSheetId
Type: CostSheetId Extended Data Type
Reserved for future releases, where multiple costing sheets will be used; optional.
Return Value
Type: CostSheetCalculationFactor Table
The record with the current active calculation factor.