DBBaseContext :: doBeforeDelete - Before delete handler
The before delete handler is called before deleting a data instance ( DBP_Delete event). The before delete handler can deny deleting the data instance by returning an error ( any value >0 ).
The handler can be overloaded in specialized type context class.
Return value: Execution error ( int32 )
The value is usually returned from context functions or actions in order to report the result of execution. The variable may contain following values:
- -1: function/action not executed
- 0: function executed normally
- 1-9: Function executed with errors. Error codes depend on the function/action called.