PCRuntimeLibrary::validateProductModelXML Method [AX 2012]
Validates the XML representation of a product model with the solver and schema validations.
client public static boolean validateProductModelXML(
str _xmlModel,
Set _outErrorMessages,
[boolean _throwOnError,
str _xmlFocus])
Run On
ClientParameters
- _xmlModel
- Type: str
The XML representation of a product model 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 specifies whether the method should throw an exception if an error is found; optional.
- _xmlFocus
- Type: str
The focus for the check.
Return Value
Type: booleantrue if for the specified focus the XML representation of the product model is valid and the solver reported no contradiction; otherwise, false.
Show: