Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Need help attaching email from Scheduled Script to transaction or customer record.
Hi everyone,
I have a scheduled script to send notices to clients when their due dates on invoices are coming up. This script executes successfully via the debugger, but upon validating functionality I did notice that the record of the email sent is not attached to the invoice or client record. Below is a snip that contains the merge function and setting a custom field value on the transaction record. Can someone tell me how to get the sent email to show up in the communication tab of the transaction or client record?
var emailMerger = nlapiCreateEmailMerger('123');
emailMerger.setEntity('customer', customerID);
0