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.
Replacing the system generated emails...any way to use freemarker?
I am a little confused on the best way to handle creating my own system generated emails when a Sales Order is approved. I have it working correctly in script by controlling the "To Be Emailed", however I would like to pull the email body from a custom email template. This is easy using NL Tags but those are no longer supported. Any freemarker tags I use in the template itself are not read using the template renderer...I only get the formatted HTML.
Is there any way for me to dynamically pull information specific to the record using freemarker script in the email template? My code is virtually identical to that found here:
0