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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
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