Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=currentRecord.get() for more information.
N/currentRecord Module
currentRecord.get()
Method Description:
Retrieves a currentRecord object that represents the record active on the current page.
Returns:
currentRecord.CurrentRecord
Supported Script Types:
Client scripts
For more information, see SuiteScript 2.0 Client Script Type.
Governance:
None
Module:
N/currentRecord Module
Since:
2016.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=currentRecord.get()
Example:
// Code Example 1
//Add additional code
//...
var record = currentRecord.get();
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4637729624.html