Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

in case of multiple invoices for sales order, then how will get exchange rate

(0) ShareShare
ReportReport
Posted on by 2

hi

as continue with the previous thread

https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/397584/how-will-get-exchange-rate-for-sales-order-line-in-ax-2012-r3?pifragment-109373=1#responses

As Nikoloas said, the Sales order may conatin multiples invoices. So, which date i can consider to get Exchange rate?

Please give me more shed on this.

Thanks!

  • Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: in case of multiple invoices for sales order, then how will get exchange rate

    Hello @rp@n,

    What's the business requirement for showing the FX rate in a report and what FX rate do you want to use?

    (The historical one valid at the time of transaction, the FX rate as of the date you run the report because that would be the one you would use for translating customer balance amounts or the average FX rate of the last months because that would be the one you would use to translate your sales)?

    Best regards,

    Ludwig

  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: in case of multiple invoices for sales order, then how will get exchange rate

    Please still remember that you can have many invoices for one order. Therefore there can be many exchange rates for this order. If your report contains only one row per order, you can't show the exchange rate correctly in all situations.

    And yes, if you want the exchange rate of the invoice, you must use the field in the invoice journal. That's the real exchange rate used on the invoice.

    I think you should discuss with your customer and decide with them how to handle situations where there are many exchange rates associated with an order.

  • @rp@n Profile Picture
    @rp@n 2 on at
    RE: in case of multiple invoices for sales order, then how will get exchange rate

    Sergei,

    Actually my report  may contain all sales  order status. So, based on the sales order status I need to show the exchange rate in to FX-Rate column in report.

    As you said, CustInvoiceJour already having field ExchRate. Can I show directly value from Custinvoicejour instead of calling Currency::exchrate() for specifically  INVOICE order?

    Kindly confirm

  • Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,091 on at
    RE: in case of multiple invoices for sales order, then how will get exchange rate

    Hi @rp@n,

    What is the purpose of your report? If it's the list if invoices, you need to take a look at exchange rate stored in CustInvocieJour.ExchRate field. Exchange rate for invoice can depend on date of invoice, or it can be also fixed in sales order. During the invoice posting exchage rate used for invoice will be stored in CustInvocieJour.ExchRate.

  • @rp@n Profile Picture
    @rp@n 2 on at
    RE: in case of multiple invoices for sales order, then how will get exchange rate

    no actually, the title is something wrong. it's based on the sales order only

  • nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: in case of multiple invoices for sales order, then how will get exchange rate

    In the other discussion you said that you want "exchange rate for sales line". What does this mean? What is your business requirement?

    What is this exchange rate used for?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February 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... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans