OnModifyRecord (Page) Trigger
Version: Available or changed with runtime version 1.0.
Runs before a record is modified in the table.
Syntax
trigger OnModifyRecord(): Ok
begin
...
end;
Return Value
Ok
Type: Boolean
true if the record was modified, otherwise false. The return value is checked after each call. The default value is true.
Remarks
If an error occurs in the trigger code, the action is canceled, but the page is not closed.
You can write to the database using this trigger.
See Also
Get Started with AL
Developing Extensions
OnModifyRecord (Request Page) Trigger
OnModifyRecord (Request Page Extension) Trigger
OnModifyRecord (Page Extension) Trigger
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