Modules

filter

 

Objects/Functions

module (N/certificateControl)

SuiteScript 2.0

Certificate.notifications

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

N/certificateControl Module
Certificate.notifications
Property Description: The internal IDs of the employees copied on expiration notification email. The values for this property are found in the Copy Employees field of the Audience tab on the certificate record. When you create or edit a certificate object with values for this property, you also check the Copy Employees box for the certificate record.
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.notifications

Example:

// Code Example 1
// Add additional code
//...
//create a variable to hold the properties of the certificate object
var options = {
name : 'testCertp12',
description : 'testDescription',
scriptId : '_testidp12',
//include the internal IDs for employees you want copied on expiration reminder email
notifications: [168,259]
};
//create the certificate record with the options variable
var newCertificate = cc.createCertificate(options);
//save the certificate object
newCertificate.save();
//...
// Add additional code

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