Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Serves as a callback that is called by the kernel when a record in a table is inserted, provided that the kernel has been set up to monitor records in that table.
Syntax
public void eventInsert(Common recordInserted)
Run On
Server
Parameters
- recordInserted
Type: Common Table
The inserted record.
Remarks
A developer can set up the kernel to call back on inserts for a given table. This is accomplished by inserting a record into the DatabaseLog kernel table with all fields set to relevant values, which includes setting the field logType to EventInsert.
This is very similar to how logInsert method is called and set up.
The call of this method will be in the transaction in which the record is inserted.
See Also
xApplication.eventDelete Method
xApplication.eventRenameKey Method