currentRecord.get()
Method Description |
Retrieves a currentRecord object that represents the record active on the current page. |
Returns |
|
Supported Script Types |
Client scripts For more information, see SuiteScript 2.x Script Types. |
Governance |
None |
Module |
|
Since |
2016.2 |
Errors
Error Code |
Thrown If |
---|---|
|
The current record page is not scriptable or an error occurred when creating the record object. |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/currentRecord Module Script Samples.
//Add additional code
...
var record = currentRecord.get();
...
//Add additional code