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
Table 2. Returns
Type Description

Scoped equivalent

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