Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

How to fetch base currency of a dynamics CRM org in C#

Posted on by 80

Hi All,

I need to fetch the base currency of a dynamics CRM org  in the C# console App. I am able to establish the connection with dynamics CRM and read org details using below.

 CrmServiceClient crmSvc = new CrmServiceClient(ConfigurationManager.ConnectionStrings["OnPremCRM"].ConnectionString);

please guide me on how to  fetch the base currency of the org. Thanks for the help.

Regards,

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: How to fetch base currency of a dynamics CRM org in C#

    Hi,

    Organization entity contains base currency.

    learn.microsoft.com/.../organization

    Use queryexpression OR fetchXml to retrieve records from c#

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: How to fetch base currency of a dynamics CRM org in C#

    Hello,

    Query organization entity - there will be only one record and the field you are looking for is basecurrencyid field.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans