Referencing the Customer’s Shipping Country on Statement Advanced PDF/HTML Template
I am trying to display some country-specific information on a Multi-Currency Statement template. Based on this SuiteAnswers article:
https://suiteanswers.custhelp.com/app/answers/detail/a_id/73935/loc/en_US
I see that the field available for this is ${customer.shipping_country}. I am debugging the issue by having my draft template display it directly, and I am finding odd behavior here. I have a Saved Search on the Customer record that displays these three fields:
- Country
- Billing Country
- Shipping Country
I am finding that even if I identify a customer that has “Canada” or “Japan” as the result in all of the fields above in a Saved Search, the Advanced PDF/HTML Template for the Statement still displays “United States” for the shipping_country field. Is there some field that I am missing on the customer record that is being sourced for ${customer.shipping_country}?
Success! A 3rd party advisor found a hidden field that’s not in the documentation by trial and error: ${customer.shipcountry} correctly returns the ISO country code (US, CA, etc.) of the default shipping address on the customer record.