PCRuntimeConfiguratorValidate.validateModel Method [AX 2012]

Validates a product configuration model.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          public void validateModel(
            PCProductConfigurationModel _productConfigurationModel, 
           [str _xmlValidationFocus, 
            PCPriceMethod _priceMethod, 
            PCRuntimePriceModelInstance _runtimePriceModelInstance])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void validateModel(PCProductConfigurationModel _productConfigurationModel, [str _xmlValidationFocus])

Run On

Client

Parameters

_productConfigurationModel
Type: PCProductConfigurationModel Table
The product configuration model.
_xmlValidationFocus
Type: str
An XML string containing information about the focus of the validation, if empty the whole model will be validated.
_priceMethod
Type: PCPriceMethod Enumeration
_runtimePriceModelInstance
Type: PCRuntimePriceModelInstance Class

Checks the correctness of the generated XML, the model structure, the default value assignments as well as if there exists a valid solution to the model.

Community Additions

ADD
Show: