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

Very strange behavior with a post create plugin: can create annotation with duplicate annotation ID

$
0
0

Hi,

I have a very strange behavior with a post create plugin registered on a custom entity.

This custom entity has a lookup field on a quote entity. Every time a user create an instance of this custom entity a post create plugin creates a new annotation entity for the related quote.

The plugin uses the QuoteId received in the InputParameters to set the ObjectId of the annotation.

But... if two users of the same BU creates "at the same exactly time" a new custom entity instance the plugin creates:

a) two annotations with the same annotationID (could be impossible) but with the correct subject (quotenumber of the related quote)

b) the objectid is set equal to one quoteid 

For debug purpose i set the NoteTExt with the GUID of the quote that i set in the ObjectId

Any idea ?


Viewing all articles
Browse latest Browse all 82002

Trending Articles