The
onRecordInserted,
onRecordUpdated and
onRecordDeleted events can be used to trigger an server-side action after the database has been modified. In this example an e-mail notification is sent after a supplier record is added, updated or deleted using the utility
webMethod method to invoke a server-side
web method.