Share via


CostSheetCalculationFactor::findCurrentFlex Method

Returnes the most appropriate current active calculation factor for a set of parameters.

Syntax

client server public static CostSheetCalculationFactor findCurrentFlex(
    CostSheetNodeId _calculationNodeId, 
    ItemId _itemId, 
    ItemGroupId _itemGroupId, 
    InventSiteId _inventSiteId, 
    CostSheetCalculationFactor _tmpCostSheetCalculationFactor, 
   [boolean _forUpdate, 
    CostSheetId _costSheetId])

Run On

Called

Parameters

  • _forUpdate
    Type: boolean
    A Boolean value that determines whether the found record should be selected for update; optional.

Return Value

Type: CostSheetCalculationFactor Table
A record with the current active calculation factor.

Remarks

If there is no appropriate record for _inventSiteId, the same select statement, but with empty site name, will be used.

See Also

Reference

CostSheetCalculationFactor Table