InventTable.checkPlanningItemCost Method
Specifies whether the cost allocation for a planning item is valid.
Syntax
public boolean checkPlanningItemCost([BOMVersion _bomVersion])
Run On
ClientOrServer
Parameters
- _bomVersion
Type: BOMVersion Table
The BOMVersion record to check the cost allocation for.
Return Value
Type: boolean
true if the cost allocation is valid; otherwise, false.
Remarks
The cost allocation of co-products associated with formula version for a planning item must add up to 100% as the planning item cannot have any cost allocated to it.