Currency information refresh, when updating table

SUGGESTED

Hello,

I am running a script that updates the currency table in my database daily with the new exchange rates. Via js-script I am performing a metadata update with "CRM.refreshMetadata()" to pass the information to the screens. Through the logs I can see that the metadata refresh has been detected and executed. Unfortunately the new values for currency are not passed everywhere in CRM.

When I open an opportunity, a "Total Contract Value" that is different from the base Currency, does also show the value in base currency. However at this point I do not get the correct exchange rate. Below picture shows the information in the opportunity where the currency exchange rate has not been updated. 

I think that there is some sort of other data behind the information that I miss to refresh. But by reading the log-files and google search results I did not come to an answer. Any sugesstions what I did miss?

Kind regards

Parents
  • 0

    Hi Flieger,

    I just tested this and I am not getting the same result as you. 
    Have you tested this by going into the Currency settings in CRM and changing it there and then going back to the oppo? That's how I'm testing it and it works fine for me.
    You can also inspect the SQL that gets executed if you are so inclined -> SELECT Curr_CurrencyId, Curr_Symbol, Curr_DecimalPrecision, Curr_Rate FROM vSearchListCurrencies. That's mostly my SQL. If the value is changed in SQL at the time the query is executed, then it should return the most current value in SQL. 

Reply
  • 0

    Hi Flieger,

    I just tested this and I am not getting the same result as you. 
    Have you tested this by going into the Currency settings in CRM and changing it there and then going back to the oppo? That's how I'm testing it and it works fine for me.
    You can also inspect the SQL that gets executed if you are so inclined -> SELECT Curr_CurrencyId, Curr_Symbol, Curr_DecimalPrecision, Curr_Rate FROM vSearchListCurrencies. That's mostly my SQL. If the value is changed in SQL at the time the query is executed, then it should return the most current value in SQL. 

Children