Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
NetSuite Admin Tip | SuiteScript: Check “Send Notification Email” When "Give Access" Field is Ticked
Some customers have requested to expose the Send Email Notification checkbox field in Workflows through Enhancement ID: 238550 Workflow Manager > If "Give Access" checkbox in employee record is set to true, set "Send notification Email" checkbox to true. This is generally to make it easier for NetSuite Admins by reducing a step in the onboarding process.
While this feature is not yet available in NetSuite, a workaround is possible using SuiteScript. The sample code below can be deployed to achieve this functionality:
/**
* @NApiVersion 2.x
* @NScriptType ClientScript
* @NModuleScope SameAccount
*/
define(['N/currentRecord'],
/**
* @param{currentRecord} currentRecord
*/
function(currentRecord) {
/**
* Function to be executed when field is changed.
Expand your NetSuite knowledge by joining this month's Ask A Guru Live: PROCURE TO PAY. RSVP on this event now!
Refer a Member to the Community | Earn the Answer Accepter Badge | Vote for the contents you'd like to see
