PCRuntimeLibrary::validateConstraintFocused Method [AX 2012]
Validates the constraint definition by using the solver and XML schema validations.
client server public static boolean validateConstraintFocused(
PCProductConfigurationModel _productModel,
PCConstraint _constraint,
Set _outErrorMessages,
[boolean _throwOnError])
Run On
CalledParameters
- _productModel
- Type: PCProductConfigurationModel Table
The product model that contains the constraint.
- _constraint
- Type: PCConstraint Table
The specified constraint to validate.
- _outErrorMessages
- Type: Set Class
The string set that receives the error message string if the validation fails.
- _throwOnError
- Type: boolean
A Boolean value that indicates whether the method throws an exception if an error is found; optional.
Show: