OnDeleted
event – This is a post-event handler that triggers when a record is deleted in the table. You could use this, for example, to display an Infolog message after a record is deleted.
[DataEventHandler(tableStr(CustTable), DataEventType::Deleted)]
public static void CustTable_onDeleted(Common sender, DataEventArgs e)
{}
OnInserting
event – This is triggered when data is being inserted. For example, this could trigger when you add a new customer to Finance and Operations apps.
[DataEventHandler(tableStr(CustTable), DataEventType::Inserting)]
public static void CustTable_onInserting(Common sender, DataEventArgs e)
{
}
OnValidatedWrite
event – This is a post-event handler that triggers after data is entered. This is used to validate data that is being written to a page, such as ensuring that a customer is at least 18 years old by verifying a birth date.
[DataEventHandler(tableStr(CustTable), DataEventType::ValidatedWrite)]
{
public static void CustTable_onValidatedWrite(Common sender, DataEventArgs e)}
ref