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 startApp parameters before the Gebra Suite 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");

Last updated