Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Use different exchange rate type for foreign currency revaluation in AR/AP

(0) ShareShare
ReportReport
Posted on by 577

As I know, foreign currency revaluation in AR/AP gets default exchange rate type from ledger. How can I get different exchange rate type for calculation by code?

  • Juergen Salaboeck Profile Picture
    10 on at
    RE: Use different exchange rate type for foreign currency revaluation in AR/AP

    Hi Tony,

    did you find a solution for your problem?

    BR

    Jürgen

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Use different exchange rate type for foreign currency revaluation in AR/AP

    Hi Tony,

    Do you know why your client wants to have this?

    You can of course make an adjustment for the exchange rate that is used when running foreign currency revaluations but you have to be careful with that because there are a number of related processes (e.g. payments) that will revert back to your adjustment.

    This can quickly get tricky and I wonder why this is needed and why the standard functionalities are not sufficient?

    Let's make a simplified example.

    If you convert an open foreign currency amount of let's say HUF1000 by the D365FO standard exchange rate of let's say 5HUF:1USD then you will get an unrealized exchange rate gain/loss of let's say 50 USD. If you make the payment in the next month, this amount will just be reversed / eliminated.

    In case your customer prefers a rate of 5.5HUF:1USD then you might get a unrealized gain/loss of let's say 60 USD. Also this amount gets eliminated when you make the payment in the next month.

    So the whole issue is basically about shifting unrealized profit / loss amounts from one month to the other, which does not make you richer or poorer overall because you just shift things from one month to another one.

    So, I really wonder for the underlying business requirement.

    Would be great if you could explain in more detail before spending a lot of time on an adjustment with a limited added value.

    Best regards,

    Ludwig

  • Tony Mok Profile Picture
    577 on at
    RE: Use different exchange rate type for foreign currency revaluation in AR/AP

    Hi Junaid Idrees,

    I mean if user A runs some finance processes involving DefaultExchangeRateType, and user B runs foreign currency revaluation which will change DefaultExchangeRateType, then user A will be affected.

  • Suggested answer
    Junaid Idrees Profile Picture
    on at
    RE: Use different exchange rate type for foreign currency revaluation in AR/AP

    This shouldn't be an issue. For example payable guy is booking new invoice/payment in foregin currency and the person who is running currency revaluation he will run on specific dates and also can select the criteria by Customer/Vendor groups.

    I usually suggest business users to run currency revaluation  end of the week or at month end.

  • Tony Mok Profile Picture
    577 on at
    RE: Use different exchange rate type for foreign currency revaluation in AR/AP

    Hi Junaid Idrees,

    I thought of changing DefaultExchangeRateType of ledger during runtime, but it will affect the user daily operation if someone is doing finance function and another is doing foreign currency revaluation.

  • Suggested answer
    Junaid Idrees Profile Picture
    on at
    RE: Use different exchange rate type for foreign currency revaluation in AR/AP

    Hi Tony Mok,

    In D365 FO. If an exchange rate type isn't defined on the main account level then system use exchange rate from Ledger screen during foreign currency revaluation. If you want to use different exchange rate type for currency revaluation then you have to do the customization and before you start any code modification think from all prespective as we have currency revaluation function in AP/AR/Bank/GL modules and it impacts accounting and reporting currencies.

  • Tony Mok Profile Picture
    577 on at
    RE: Use different exchange rate type for foreign currency revaluation in AR/AP

    Hi Ramit Paul,

    I am the developer and I can add 2 more field in ledger, but the main point is how to change the logic of choosing the newly added field exchange rate type in  foreign currency revaluation instead of original default exchange rate type.

  • Suggested answer
    Ramit Paul Profile Picture
    22,473 Most Valuable Professional on at
    RE: Use different exchange rate type for foreign currency revaluation in AR/AP

    Alright, so from the UI this is not in scope for selecting different exchange rate than the preset exchange rate in system, to meet this requirement, probably you need to talk to your developer for customization if feasible.

  • Tony Mok Profile Picture
    577 on at
    RE: Use different exchange rate type for foreign currency revaluation in AR/AP

    Hi Ramit Paul,

    For AP/AR, MAIN ACCOUNT is not related. Isn't it?

    For ledger, as my client still use default exchange rate type for daily, but for foreign currency revaluation, they will use another set of exchange rate type. So, I cannot change default exchange rate type in ledger. I need to change the logic of getting exchange rate type in foreign currency revaluation. But, i have no idea on this.

  • Ramit Paul Profile Picture
    22,473 Most Valuable Professional on at
    RE: Use different exchange rate type for foreign currency revaluation in AR/AP

    Okay, I am writing the possibilities where you can add currency exchange rate type

    1: You can add two different exchange rate type if your accounting currency and reporting type is different, see below.

    6505.PNG

    2: You can add exchange rate type per account level

    4135562.PNG

    3: You can add exchange rate type for financial reporting level form each main account 

    45711.PNG

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,145 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,917 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans