Adam Weaver
11/17/2024, 10:12 PMCeligo AI
11/17/2024, 10:12 PMAI generated answer (using internal Slack threads):To set up a dedicated email for notifications in NetSuite, you can follow these steps: 1. Create a new field in the employee record to store the second email. This can be done by navigating to
Customization > Lists, Records, & Fields > Entity Fields > New
. Set the label as 'Notification Email' or something similar, and select 'Email' as the type. Make sure to apply it to the 'Employee' record type.
2. Depending on how you control the notification (either through workflow or SuiteScript), you can assign this new email field for the notification of bills or other events.
- If you're using SuiteScript, you can get the value of this new field from the employee record and put it as the recipient in the email.send
function. Here's a sample code snippet:
javascript
var employeeRecord = nlapiLoadRecord('employee', employeeId);
var notificationEmail = employeeRecord.getFieldValue('custentity_notification_email');
email.send({
author: authorId,
recipients: notificationEmail,
subject: 'Your Subject',
body: 'Your Email Body'
});
- If you're using a workflow, you can create a new action to send an email and use the new field as the recipient.
3. If you want to change the 'from' email address, you might need to create an independent notification via workflow. The system-generated message will still go out, but you can at least let the users know to look for it and provide instructions in case it gets blocked by their filters.
4. For administrative notifications such as Sandbox refreshes, updates, planned maintenance, etc., you can navigate to Setup > Company > Company Management > Administrative Notifications
and add the desired email addresses there.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
11/17/2024, 10:12 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.812752783
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.807934105
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.800739884
Celigo AI
11/17/2024, 10:12 PM