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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Email Merge Old Record
Hi,
I am trying to email merge a nlapiOldRecord() and a nlapiGetNewRecord() in an after submit script. I currently have logic put in place that will check to see if my sales order has changed, but I am struggling to render the template with the nlapiOldRecord() values. Since it's the same record ID, it just brings in the new values in my email. Is there a way to merge them into the template or an I going to have to build a table in the SuiteScript to get it to do what I want?
Thanks,
Zack
0