on_before_delete(item)
domain: client
language: javascript
class Item class
Occurs before an application deletes a record.
The item
parameter is an item that triggered the event.
Write an on_before_delete event handler to take specific action immediately before an application deletes the active record in an item. on_before_delete is called by delete method before it deletes the record.