OnDeleteRecord (Request Page Extension) trigger
Version: Available or changed with runtime version 7.0.
Runs before a record is deleted from the table.
Syntax
trigger OnDeleteRecord(): Ok
begin
...
end;
Return Value
Ok
Type: Boolean
true if the record was deleted, otherwise, false. The return value is checked after each call. The default value is true.
Remarks
The action is canceled but the page is not closed if an error occurs in the trigger code. You can use this trigger to write to the database.
Related information
Get Started with AL
Developing Extensions
OnDeleteRecord (Page) Trigger
OnDeleteRecord (Request Page) Trigger
OnDeleteRecord (Page Extension) Trigger