runtime.isNextActive()
|
Method Description |
Returns whether NetSuite Next is active for the user running the script.
Note:
For scheduled and map/reduce scripts, the return value depends on the user running the script. If NetSuite runs the script as the System user, this method returns |
|
Returns |
boolean |
|
Supported Script Types |
Client and server scripts For more information, see SuiteScript 2.1 Script Types. |
|
Governance |
None |
|
Module |
|
|
Since |
2026.1 |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/runtime Module Script Samples.
define(['N/runtime'], (runtime) => {
...
...
if (runtime.isNextActive()) {
// Additional code
}
...
...
});