OnDeleteRecord (Page) Trigger
Version: Available or changed with runtime version 1.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.
See Also
Get Started with AL
Developing Extensions
OnDeleteRecord (Request Page) Trigger
OnDeleteRecord (Request Page Extension) Trigger
OnDeleteRecord (Page Extension) Trigger