The Delete_Main_File event performs the actual delete of the record. Delete_Main_File is intended for augmentation.
Normally, you will always want to forward-send this message. If the message is not forwarded, the delete to the database will not occur.
This message is always called in a locked state. Do not perform user input in this event.
If an Error is declared, the transaction will be rolled back. Errors must be generated using the UserError message or the Error command. See Error Handling in Transactions for more information.
When accessing table values you should always access the global file buffers and not the DDO buffers (i.e., use “Move File.Field to var” syntax). See Understanding File Buffers and DDO Field Buffers for more information.
Defining Data Dictionary Events