web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

RetrieveExchangeRate plugin

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I've met one issue with the plugin for handling exchange rates. So it is possible to override the exchange rate used for calculation of base currency fields. To do this you need create a custom plugin that handles RetrieveExchangeRate message and sets ExchangeRate output parameter. 

This works fine when action is initiated by user. But if create or update is initiated by another plugin (thus we have plugin execution context depth equals 2 or more) the exchange rate plugin is even not executed. I've tried register it at different stages but still no success. 

In the tracing logs there is some odd message:

MessageProcessorCacheLoader.LoadCacheData(): MainOperation Stage not added for SdkMessage:[RetrieveExchangeRate], SdkFilter:[FilterId: {BB434168-894C-430F-9B40-60E4035C2D1D}, IsSystem: [True]], PrimaryOTC:[9105]. MainOperation Stage stepIds from Db:[]

I'm not sure what is wrong here. I've checked some database tables, what I can see there are two records for RetrieveExchangeRate in SdkMessageProcessingStep table and both are created for 10 stage. Of course this is not main stage which number is 30, but again is it possible to do something here?

So if anyone has good idea, please welcome.

Regards

  • Community Member Profile Picture
    on at

    Hi There,

    I have the same problem, have you found a workaround?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 91 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 71

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans