PCRuntimeConfiguratorValidate.validateExpressionModified Method [AX 2012]
Validates a modified expression using the solver and XML schema validations.
public void validateExpressionModified(
PCProductConfigurationModel _productConfigurationModel,
Common _record,
FieldId _fieldId,
RefRecId _xmlId,
PCConstraintExpression _expression,
str _expressionFocus,
PCPriceMethod _priceMethod,
[PCRuntimePriceModelInstance _runtimePriceModelInstance])
Run On
ClientParameters
- _productConfigurationModel
- Type: PCProductConfigurationModel Table
The product configuration model that contains the constraint.
- _record
- Type: Common Table
The specified price calculation to validate.
- _fieldId
- Type: FieldId Extended Data Type
The Id of the field in the record that contains the expression
- _xmlId
- Type: RefRecId Extended Data Type
The Id with which the expression is identified in the XML file
- _expression
- Type: PCConstraintExpression Extended Data Type
The new expression to validate
- _expressionFocus
- Type: str
A string (format) that is used when telling the solver what expression in the complete model to validate
- _priceMethod
- Type: PCPriceMethod Enumeration
The price calculation method to use
- _runtimePriceModelInstance
- Type: PCRuntimePriceModelInstance Class
Which of the price models for the constraint model should be used.
Community Additions
ADD
Show: