On the Statement PDF/HTML Template there is a field named ${statement.billaddress}.
We don't want that field to show the State & Country. So we tried to create a Custom Transaction Body Field which sources the address lines from the customer.
But when we try to call those fields on the Statement PDF we get errors. Things we tried were
- ${record.custbody_prac_customeraddress1}
- ${custbody_prac_customeraddress1}
- ${line.custbody_prac_customeraddress1}
- ${transaction.custbody_prac_customeraddress1}
All of them gave an error.
How can we add custom transaction body records to the Satement advanced PDF template?