BOMCalcCost.setFallBackVersion Method [AX 2012]
Registers the costing version that was used as fallback.
Syntax
protected void setFallBackVersion(CostingVersionPriceType _priceType, CostingVersionId _costingVersionId)
Run On
Called
Parameters
- _priceType
Type: CostingVersionPriceType Enumeration
The type of the price that must be found.
- _costingVersionId
Type: CostingVersionId Extended Data Type
The ID of the costing version that was used as fallback.
Exceptions
Exception | Condition |
---|---|
Error | The price type is not valid. |