brixxbox Wiki
Ask or search…
K

onRecordNew

The event occurs on app level as well as on a grid control.

App Level

On app level, this event is mostly used to initialize certain fields.

Grid Control

eventArgs.details gives you the startBrixxbox parameters befor the brixxbox for the new record is started. You could add additional values to the start object or change the app to use.
eventArgs.details.additionalValues.sesTrackId = app.getFieldValue("eveTrack");
eventArgs.details.additionalValues.sesTrackConfigId = app.getFieldValue("eveTrackConfig");