Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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.
Refer a Member to the Community | Earn the Answer Accepter Badge | Vote for the contents you'd like to see