Version: Available or changed with runtime version 8.1.
Stops the execution of the code, causing a run-time error, and creates an error message for a field.
Syntax
 FieldRef.FieldError(ErrorInfo: ErrorInfo)
Parameters
FieldRef
 Type: FieldRef
An instance of the FieldRef data type.
ErrorInfo
 Type: ErrorInfo
Additional information to include in the error if the test fails.
Related information
FieldRef Data Type
Get Started with AL
Developing Extensions