Hi, I am creating dunning email template. I want t...
# advancedpdf
t
Hi, I am creating dunning email template. I want to give subject in email template like Invoice L1: [INVOICE #] . need to access invoice number. But using ${transaction.tranid} ..it is not working
r
${transaction.tranID} works in our instance, may be a long shot, but ID may need to be capitalised
n
Couple things to check (may be obvious). 1. transaction is your record object? 2. The record you're looking at definitely has a tranid? I'm afraid I'm not able to offer anything else right now, maybe someone else will know better.
t
@ryanhowson In case of dunning xml email template I am not able to access it using transaction object. as in case of dunning email templates used for custom records
n
are you saying you do not have the transaction object? If not, which object represents your record?
a
dunning has limitations on what fields it makes available and its own naming conventions for what they are called. mine has "invoice.tranid", though that's for customer-level dunning; if you have invoice-level dunning, your syntax might be different.