PCRuntimeConfiguratorValidate.validatePriceCalculation Method [AX 2012]

Validates one specific price expression.

public void validatePriceCalculation(
    PCProductConfigurationModel _productConfigurationModel, 
    PCPriceExpressionRule _priceExpression, 
   [PCRuntimePriceModelInstance _runtimePriceModelInstance])

Run On

Client

Parameters

_productConfigurationModel
Type: PCProductConfigurationModel Table
null or undefined
_priceExpression
Type: PCPriceExpressionRule Table
The price expression to validate
_runtimePriceModelInstance
Type: PCRuntimePriceModelInstance Class
Which of the price models for the constraint model should be used.

Since the validation will focus on the specified calculation, validation will not fail because of other invalid calculations.

Community Additions

ADD
Show: