Event ainsert_rollback
This event is called when a rollback of the transaction is done after an unsuccessful database insertion.
The local variable [L]ASTATUS
gives the error code found during the previous operations. The error code can be [V]CST_AINFO
for information, [V]CST_AWARNING
for warning, or [V]CST_AERROR
for errors. This value can be changed, but the most severe error code will always be considered at return time.
The following variables or properties are available in the context:
this
refers to the current class. All properties can be found using the this.PROPERTY
syntax.CURPTH
describes the child class path if the method is called on a child class. If the method is called on the main class, CURPTH is empty.AEVENT
is equal to AINSERT_ROLLBACK.