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!
How to use nlapiMergeEmail in scheduled script
Hi,
We are currently trying to develop a script that will automatically send an email reminder to customers who are overdue paying their invoices. To do this we have a scheduled script that runs once a day and uses a saved search to grab the invoice details. We also have an email template set up that we would like to slot said details into before forwarding to the customer.
Presently what happens is that when the email is received the HTML tags are visible and the CRMSDK tags in the template have not been substituted for values from the invoice transaction record.
0