Hi! Has anybody experienced issues when emailing t...
# general
f
Hi! Has anybody experienced issues when emailing transaction and the pdf template is not printing the same info in the pdf sent in the mail even tho the same pdf template works correctly when printing from the record in NetSuite?
đź‘€ 1
a
@Frida Pramer edit the form. There is a template for print and a separate template for email.
f
I have the same pdf temple for both print and email. When printing from NetSuite it is correct but when emailing the transaction with the pdf attached it is not showing the right content. I have a bunch of different if statements in the pdf and they do not seam to work for the emailed transactions @AK47
e
Are you using a custom email template? When using IF statements for the pdf to render, this only occurs on the client side, the IF statements won't run on the attachment. You could switch to building a custom email template where the data elements for your IF statements are sourced into the email body as html
f
@Eric Holzer The odd thing is that some one the if statements seems to be working but some not. From what I can tell it seams like it’s attaching the pdf “in customers locale” instead of not by default. But I can’t find anywhere where it is possible to specify that.