Düzenle

Aracılığıyla paylaş


TestPage.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 :=   TestPage.GetValidationError([Index: Integer])

Parameters

TestPage
 Type: TestPage
An instance of the TestPage 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.

TestPage Data Type
Get Started with AL
Developing Extensions