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!
Help on E-mail Template Merge in 2014.2
Previous versions of NS allowed the merge of information from a suitescript. This is no longer supported in 2014.2 and I am at a loss in achieving the proper syntax to accomplish this.
Previously I was able to create an html string for a table in SuiteSciript, merge it and send the e-mail using the following code where NLTR030 was the html table and <NLTR030> was in the e-mail template.
var subject = "Urgent - Notification of XYZ";
var mergearr = new Array();
mergearr['NLTR030'] = mergeobjectoftables.NLTR030;
var emailBody = nlapiMergeRecord(81, 'customer', customerid, null, null, mergearr).getValue();
nlapiSendEmail(3, "xyz@xyz.com
0