I'm trying to use virtual entity in D365 CRM On-Premises using a custom data provider. I have created Update , Retrieve and Retrieve Multiple event handler in the data provider.
Out of this, Retrieve & Retrieve Multiple works fine.
But when I try to add the event for Update, the plugin registration tool throws an error as:
Message: Invalid plug-in registration stage. Steps can only be modified in stages BeforeMainOperationOutsideTransaction, BeforeMainOperationInsideTransaction, AfterMainOperationInsideTransaction and AfterMainOperationOutsideTransaction.
Any help is appreciated.
Thanks
CRM Version: