i have a plug-in registered on post_update state of an entity of CRM.
My requirement are to stop updation of the entity record if any open activity exist under that entity record.
and prompt user that "He cant update un-till any open activity exist"
My problem is, i can't find any solution for stopping updation
and the MOST IMPORTANT how to prompt user? from plug-in code.