Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=CurrentRecord.id for more information.
N/currentRecord Module
CurrentRecord.id
Property Description:
The internal ID of a specific record.
Type:
number (read-only)
Supported Script Types:
Client scripts
For more information, see SuiteScript 2.0 Client Script Type.
Module:
N/currentRecord Module
Since:
2016.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=CurrentRecord.id
Example:
// Code Example 1
//Add additional code
//...
var recordid = record.id;
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4637576907.html