Hi,
I am implementing Audit in MS CRM 4.0. Whenever user views record for entites like Account, Contact,Opportunity and etc, I am capturing accessed users information & storing it in Audit custom entity.
I have achived this using plugin. I have registered plugin for the above entites for message "Retrieve", stage ->PostState, Pipeline ->parentpipeline, Asynchronous.
It is working fine for opening existing records. But when I create new record for the above entities (onclick of save) the plugin is firing twice and result it is creating duplicate records in the Audit entity.
For save & close, it is firing once and the record is captured in audit entity.
Please advice me.
Regards,
Prabhu
*This post is locked for comments
I have the same question (0)