Team, I am trying to use render.mergeEmail in a su...
# advancedpdf
a
Team, I am trying to use render.mergeEmail in a suitescript to send a dunning email to a customer. The email dunning template I use contains a table showing a list of invoices. There is a section on the template to list the invoices: <#list invoicelist as invoice> Of course when I run my script, there is no invoices on the list. My question is how do I pass the “invoicelist” variable to the email template? I have tried to pass a custom record, using the customRecord of the “render.mergeEmail” and then refer to it on the template, but it’s not working. Thanks. Slack Conversation