Any documentation regarding the Sequence of Control Application Events?
There’s a youtube movie regarding events on the website of Scriptcase.
In general
onapplicationinit (only once)
onscriptinit (on every entry of the script)
onrecord (when showing record)
From the help docs, its not really in sequence but the description should help in getting an idea of their order (bold are control events):
onApplicationInit - This event runs when the application is loading just for the first time.
onNavigate - This event runs when navigating from one record to another one.
onScriptInit - This event runs when the application is loading.
onRefresh - This event runs to reload the page of the application.
onLoadRecord - This event occurs when the page is loaded before printing each record.
onValidate - This event runs by clicking on the validation (OK, Update, Insert, Delete, Filter) depending on application.
onValidateFailure - This event runs if the validation is failured. With errors.
onValidateSuccess - This event runs if the validation is successfully. Without errors.
onBeforeInsert - This event runs before insert a record.
onAfterInsert - This event runs after insert a record.
onBeforeUpdate - This event runs before updating a record.
onAfterUpdate - This event runs after updating a record.
onBeforeInsertAll - This event runs before inserting any record.
onAfterInsertAll - This event runs after inserting all records.
onBeforeDelete - This event is executed before the deletion.
onAfterDelete - This event runs after the deletion.
onBeforeUpdateAll - This event runs before updating all records.
onAterUpdateAll - This event runs after updating all records.
onBeforeDeleteAll - This event is executed before the removal of all records.
onAfterDeleteAll - This event runs after the elimination of all records.
onLoad - This event occurs when the page is loaded, ie when navigating from one record to another one, clicking on the buttons (new, insert, etc. earlier.).
Hope this help.