> For the complete documentation index, see [llms.txt](https://brixxbox.gitbook.io/brixxbox-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/events/onrecordnew.md).

# 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.

```javascript
   eventArgs.details.additionalValues.sesTrackId = app.getFieldValue("eveTrack");
   eventArgs.details.additionalValues.sesTrackConfigId = app.getFieldValue("eveTrackConfig");
```
