PCRuntimeConfiguratorValidate.validateCalculation Method [AX 2012]

Validates the calculation definition by using the solver and XML schema validations.

public void validateCalculation(PCProductConfigurationModel _productConfigurationModel, PCCalculation _calculation)

Run On

Client

Parameters

_productConfigurationModel
Type: PCProductConfigurationModel Table
The product configuration model that contains the calculation.
_calculation
Type: PCCalculation Table
The specified calculation to validate.

ExceptionCondition
Error

The _productConfigurationModel and _calculation parameters are null or undefined.

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

Community Additions

ADD
Show: