Modules

filter

 

Objects/Functions

module (N/keyControl)

SuiteScript 2.0

Key.scriptId

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Key.scriptId for more information.

N/keyControl Module
Key.scriptId
Property Description: The script ID of the key. Using Key.save() and keyControl.findKeys(options) returns the script ID.
Supported Script Types: All server-side scripts For additional information, see SuiteScript 2.0 Script Types.
Module: N/keyControl Module
Methods and Properties: Key Object Members
Since: 2019.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Key.scriptId

Example:

// Code Example 1
// Add additional code
//...
var key = keyControl.createKey();
key.scriptId = 'testid'
//...
// Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_1557418581.html