Hi All,
I have to detect or identify duplicates on create of activity, via plugin. in our current CRM application whenever any appointment gets created , it is automatically creating multiple duplicates of the same.
and there are some column based on that we can identify and detect duplicates.
I thought the approach to write a plugin on create of appointment and get all the columns from target entity.
and use these columns values in query (Linq or Queryexpression) to retrieve all the duplicates (via early bind or retrievemultiple)
But there are thousands of appointment gets created so it may be a performance issue.
I also explored about RetrieveDuplicateRequest but there are only five rules we can publish in CRM 2011
Can we use direct SQL query in plugin to identify duplicates on the fly (on create).
Please help
Regards
Abdul