Record.primaryKey

Note:

The content in this help topic applies to SuiteScript 2.x.

Property Description

The primary key of the record.

Type

number

Module

N/workbook Module

Parent Object

workbook.Record

Sibling Object Members

Record Object Members

Since

2021.2

Errors

Error Code

Thrown If

READ_ONLY_PROPERTY

You try to set the value of this property after the workbook.Record object has been created.

Related Topics

N/workbook Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices