Sets an error to the record that is currently being edited.
Used for editing or adding records. When you set an error to a record, an error message appears at the top of the screen, as shown.
When used together with Before a record is saved or deleted., you can cancel saving and deleting records.
Set the “Error Message”.
Enter the error message.