Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Certificate.subsidiaries for more information.
N/certificateControl Module
Certificate.subsidiaries
Property Description:
The internal IDs of the subsidiaries associated with the certificate record.
Subsidiary selections associate a certificate to one or more subsidiaries but do not affect access.
Type:
number[]
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.subsidiaries
Example:
// Code Example 1
// Add additional code
//...
//load the certificate record object
var loadedCertificate = cc.loadCertificate({
scriptId : 'custcertificate_testid'
});
//set the subsidiaries to those with the internal IDs of 3 and 5
loadedCertificate.subsidiaries = [3,5];
//save the certificate record object
loadedCertificate.save();
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_156269250571.html