Modules

filter

 

Objects/Functions

module (N/certificateControl)

SuiteScript 2.0

Certificate.weekReminder

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

N/certificateControl Module
Certificate.weekReminder
Property Description: Indicates the setting of the Week box for Expiration Reminders on the certificate record. This property is set to true if the Week box is checked. When set to true , email reminders are sent to account administrators one week before the certificate expires. If the Copy Employees box is also checked, selected employees are copied on the reminder emails.
Type: boolean true|false
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.weekReminder

Example:

// Code Example 1
// Add additional code
//...
//load the certificate record object
var loadedCertificate = cc.loadCertificate({
scriptId : 'custcertificate_testid'
});
//update the Expiration Reminder for Week to checked
loadedCertificate.weekReminder = true;
//save the certificate record object
loadedCertificate.save();
//...
// Add additional code

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