GlideRecord - newRecord()

Creates a GlideRecord, set the default values for the fields and assign a unique id to the record.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
void

Scoped equivalent

To use the newRecord() method in a scoped application, use the corresponding scoped method: Scoped GlideRecord - newRecord().