Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Why my plugins are executed twice

$
0
0

Hello,

I have 3 plugins registred  to an entity with the following information :

 - entity : quote.

 - Pre operation : PreQuoteUpdate (Synchronous, filtering attributes => StateCode, statusCode)

 - Post operation : PostQuoteUpdate (Synchronous, filtering attributes => StateCode, statusCode)

 - Post operation : PostQuoteUpdate (ASynchronous, filtering attributes => StateCode, statusCode)

In a console application i execute the following code : 

en["statuscode"] = new OptionSetValue(Cancelled);
ServiceProxy.Update(en);

The plugings are fired twice. If i update another attribute in this application console beside StateCode, statusCode ... the plugins will not fired twice.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>