Stages

You can set up plug-ins in the pre-stages (either pre-validation or pre-operation) or post-stages (post-operation):

Image Pre-Stage—Sends control to the plug-in before the real event is executed in the core system. For example, you might attach a plug-in to the Create event of the Account entity; your code would execute before the Account was actually created in the CRM system. With this method, you could prevent the Account or the entity record from being created.

Image Post-Stage—Executed after the real event has executed in the core system. So, following ...

Get Microsoft Dynamics CRM 2013 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.