TestPart.GetValidationError([Integer]) Method
Version: Available or changed with runtime version 1.0.
Gets the list of all validation error that occurred on a test page as a string.
Syntax
Error := TestPart.GetValidationError([Index: Integer])
Parameters
TestPart
Type: TestPart
An instance of the TestPart data type.
[Optional] Index
Type: Integer
The index of the validation error that occurred on the test page.
Return Value
Error
Type: Text
A string where each line represents a validation error that occured on the test page.
Related information
TestPart Data Type
Get Started with AL
Developing Extensions