web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Country/Region error while Opening Purchase Documents list

(2) ShareShare
ReportReport
Posted on by 140
Hi community,
 
I'm facing an error when I try to open purchase documents (Purchase invoice, purchase order etc) I just checked all country region codes on sales documents and purchase documents and found that each document have assigned coutry region code. 
 
I have the same question (0)
  • Suggested answer
    Aman Kakkar Profile Picture
    1,347 on at
    Country/Region error while Opening Purchase Documents list
    Hi,
     
    It seems like a custom code that's throwing error. You can either use debugger to find the root cause, or you can click on Show Details -> Copy Error Details, and paste the error here in the reply post.
     
    Hope this helps,
    Aman K
  • DynamicsBC Profile Picture
    140 on at
    Country/Region error while Opening Purchase Documents list
    Please find the error detail.

    If requesting support, please provide the following details to help troubleshooting:

    Error message:
    You must specify a country or region.

    Internal session ID:
    8773ac20-f07d-4567-ab32-54db1b7188ec

    Application Insights session ID:
    a43e1a4c-0c46-4cd8-abd3-0321a75a0c67

    Client activity id:
    97c24b57-9f3a-4b8a-9c83-98ddce72d32d

    Time stamp on error:
    2025-11-13T06:24:23.0288322Z

    User telemetry id:
    a2ab4977-fdea-486e-b3c6-bc1754327244

    AL call stack:
    "Country/Region"(Table 9).IsEUCountry line 8 - Base Application by Microsoft version 27.0.38460.42006
    "Sust. CaptionClass Mgt"(CodeUnit 6278).IsEUCountry line 7 - Sustainability by Microsoft version 27.0.38460.41512
    "Sust. CaptionClass Mgt"(CodeUnit 6278).CurCaptionClassTranslate line 83 - Sustainability by Microsoft version 27.0.38460.41512
    "Sust. CaptionClass Mgt"(CodeUnit 6278).ResolveCaptionClass line 3 - Sustainability by Microsoft version 27.0.38460.41512
    "Caption Class"(CodeUnit 42).OnResolveCaptionClass(Event) line 2 - System Application by Microsoft version 27.0.38460.41085
    "Caption Class Impl."(CodeUnit 55).ResolveCaptionClass line 11 - System Application by Microsoft version 27.0.38460.41085
    "Caption Class Impl."(CodeUnit 55).DoResolveCaptionClass line 2 - System Application by Microsoft version 27.0.38460.41085
    "UI Helper Triggers"(CodeUnit 2000000004).CaptionClassTranslate(Event) line 2
     

  • Suggested answer
    OussamaSabbouh Profile Picture
    2,417 on at
    Country/Region error while Opening Purchase Documents list
    Hello,
     
    This error usually means the Country/Region Code is missing somewhere in the related master data, not on the purchase document itself.
    Here are the most common places where it’s missing:
    1. Vendor Card
    Check: Vendor → Address → Country/Region Code
    2. Company Information
    Check: Company Information → Country/Region Code
    (very common cause)
    3. Ship-to Address
    If using a custom ship-to:
    Ship-to Address → Country/Region Code
    4. Customer/Vendor Templates
    If the document was created from a template missing the country code, BC throws this error.
    5. VAT / Tax Setup Extensions
    Some localizations also require country/region fields in tax-related tables.
    Fixing one of these almost always resolves the issue.
     
    Regards,
    Oussama Sabbouh

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,705

#2
Sumit Singh Profile Picture

Sumit Singh 2,015

#3
YUN ZHU Profile Picture

YUN ZHU 2,004 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans