web
You’re offline. This is a read only version of the page.
close
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 30

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!

I have the same question (0)
  • nmaenpaa Profile Picture
    101,160 Moderator on at

    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?

  • @rp@n Profile Picture
    30 on at

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

  • Sergei Minozhenko Profile Picture
    23,093 on at

    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
    30 on at

    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

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    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.

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    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

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 584 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 254 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans