Recently I was asked a question in my blog on how to achieve below scenario in plug-in.
- User try to save Account record by providing data in multiple fields.
- Create Plug-in should check whether any other Account already exists in CRM with provided data.
- If match found...
Continued on Source: Complete a transaction and throw exception in CRM Plug-in | Rajeev Pentyala - Dynamics CRM Blog