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 :
Finance | Project Operations, Human Resources, ...
Suggested answer

Parameter CountryRegionISOCode does not exist on this report

(0) ShareShare
ReportReport
Posted on by 625

Hi I created a new report (copy from SalesInvoice) with Controller, Contract, DP

When I rund the report I get the above error.

Can someone advice?

Thanks in advance

(using AX2012)

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,243 Super User 2025 Season 2 on at
    RE: Parameter CountryRegionISOCode does not exist on this report

    Hi CRSW,

    Can you provide some more details? What is the contents of the Controller, Contract and DP now? How did you start the report? Did you also change the lay-out?

  • CRSW Profile Picture
    625 on at
    RE: Parameter CountryRegionISOCode does not exist on this report

    what do you mean is the content of controller contract and DP

    I tried to replace the invoice. I used my on SalesInvoiceTMP table which is an InMemory table. The classes are extended the same way the SalesInvoice classes are.

  • CRSW Profile Picture
    625 on at
    RE: Parameter CountryRegionISOCode does not exist on this report

    Hi

    After refreshing ReportServer and create a full CIL 5 times now my report has DocumentTitle as missing parameter.

    looks really strange to me

  • CRSW Profile Picture
    625 on at
    RE: Parameter CountryRegionISOCode does not exist on this report

    Some more ideas? I do not know what I did wrong

    Here my parm-Method for DocumentTitle:

    [DataMemberAttribute('DocumentTitle')]

    public String255 parmDocumentTitle(String255 _documentTitle = documentTitle)

    {

    documentTitle = _documentTitle;

    return documentTitle;

    }

    I call it in the Pre-run Modify Contract method.

  • André Arnaud de Calavon Profile Picture
    299,243 Super User 2025 Season 2 on at
    RE: Parameter CountryRegionISOCode does not exist on this report

    Hi CRSW,

    Can you provide information about what exactly has been customized and changed? That is what I wanted to know when I asked for "contents".

  • CRSW Profile Picture
    625 on at
    RE: Parameter CountryRegionISOCode does not exist on this report

    Oh I am sorry for the misunderstanding

    I created complete new controller contract and DP classes and a new report.

  • André Arnaud de Calavon Profile Picture
    299,243 Super User 2025 Season 2 on at
    RE: Parameter CountryRegionISOCode does not exist on this report

    Hi CRSW,

    Can you provide some more technical details? Without information, I'm not able to understand what you did and why it is not working as expected.

  • CRSW Profile Picture
    625 on at
    RE: Parameter CountryRegionISOCode does not exist on this report

    ok

    What I did is that I created a new Report with new contract, Controller and DP

    The contract class declaration look like this:

    [DataContractAttribute]

    public class MYSalesInvoiceContract

    and contains a lot of parm-methods containing the "prefix"Datamember Attribute"

    Than there is a Controller class Extended from GiroPrintMgmtFormLetterController like the Standard salesinvoice Report is as well

  • André Arnaud de Calavon Profile Picture
    299,243 Super User 2025 Season 2 on at
    RE: Parameter CountryRegionISOCode does not exist on this report

    HI,

    I'm not able to fully understand what had been done in relation with the error. Did you use the printing setup to set this report as required lay-out for sales invoices or did you try to start the report in another way?

  • Suggested answer
    SouravDam Profile Picture
    11,730 on at
    RE: Parameter CountryRegionISOCode does not exist on this report

    Hi CRSW,

    Can you please check in AX if any such form called "Address setup" is available or not under "Global address book"?

    If yes; then check in that form if all the country / region codes are available! Below screen shot is taken from D365.

    44857.Capture.JPG

    Best regards,
    Sourav Dam

    Kindly mark this thread 'Yes' if this is answered your query which may help other community members in this forum.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,157

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 883 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 674 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans