FieldRef.FieldError([Text]) Method
Version: Available or changed with runtime version 1.0.
Stops the execution of the code, causing a run-time error, and creates an error message for a field.
Syntax
FieldRef.FieldError([Text: Text])
Parameters
FieldRef
Type: FieldRef
An instance of the FieldRef data type.
[Optional] Text
Type: Text
Use this optional parameter to include the text of the error message. If this parameter is not present, default text will be used.
See Also
FieldRef Data Type
Get Started with AL
Developing Extensions
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for