Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Certificate.scriptId for more information.
N/certificateControl Module
Certificate.scriptId
Property Description:
The ID of the certificate record.
The script ID for certificate records begins with “custcertificate.”
Type:
string
Module:
N/certificateControl Module
Parent Object:
certificateControl.Certificate
Sibling Object Members:
Certificate Object Members
Since:
2019.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Certificate.scriptId
Example:
// Code Example 1
// Add additional code
//...
//load the certificate record object
var loadedCertificate = cc.loadCertificate({
scriptId : 'custcertificate_testid'
});
//update the text for script ID
loadedCertificate.scriptId = '_ChinaCert';
loadedCertificate.save();
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_156269109525.html