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:

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}?

Rookie Asked on September 15, 2023 in SuiteBuilder.
Add Comment
1 Answer(s)

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.

Rookie Answered on September 15, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor