Record.id

Property Description

The internal ID of a specific record.

This property is not available to subrecords.

(dynamic and standard mode — see SuiteScript 2.x Standard and Dynamic Modes)

Type

number (read-only)

Supported Script Types

Client and server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/record Module

Sibling Object Members

Record Object Members

Since

2015.2

Syntax
Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/record Module Script Samples.

          // Add additional code
...
    var myNewRecord = record.create({
        type: record.Type.CUSTOMER,
        isDynamic: true
    });
    var myNewRecord_id = myNewRecord.id;
...
// Add additional code 

        

Related Topics

General Notices