Answered by:
Audit in CRM 2011

Question
-
Hello Everybody,
How can i add new record within the Audit entity in CRM 2011 using web service?
Thanks in advance :)
Tuesday, March 20, 2012 11:08 AM
Answers
-
Hi there ,
As per my understanding goes its MS CRM platform to record the history of data changes to an entity
or attribute. One should should never directly create, update, or delete an instance of
this entity.if you refer to SDK there are only RetriveMessage or Method
and DeleteMessage to Delete a Partition Containing Data.
hth
dkay
if the response answered your question, please take a minute and mark the response as an answer.
- Marked as answer by lovelaughlive Tuesday, March 20, 2012 11:24 AM
Tuesday, March 20, 2012 11:21 AM
All replies
-
Hi there ,
As per my understanding goes its MS CRM platform to record the history of data changes to an entity
or attribute. One should should never directly create, update, or delete an instance of
this entity.if you refer to SDK there are only RetriveMessage or Method
and DeleteMessage to Delete a Partition Containing Data.
hth
dkay
if the response answered your question, please take a minute and mark the response as an answer.
- Marked as answer by lovelaughlive Tuesday, March 20, 2012 11:24 AM
Tuesday, March 20, 2012 11:21 AM -
Hi
Can you please explain, what are you trying to achieve?
Auditing records are meant to be created for the entities which have auditing enabled.
But I am not sure, if using code you can create an auditing record.
Looking at the following links, I think audit entity supports only Retrieve and Delete operations.
http://msdn.microsoft.com/en-us/library/microsoft.xrm.sdk.iorganizationservice.create.aspx
http://msdn.microsoft.com/en-us/library/microsoft.xrm.sdk.iorganizationservice.retrieve.aspx
http://msdn.microsoft.com/en-us/library/microsoft.xrm.sdk.iorganizationservice.update.aspx
http://msdn.microsoft.com/en-us/library/microsoft.xrm.sdk.iorganizationservice.delete.aspx
- Proposed as answer by CRMDevlpr Tuesday, March 20, 2012 12:32 PM
Tuesday, March 20, 2012 11:24 AM -
Hi,
Thanks for your reply.
Actually i just wanted to import data from old CRM to new CRM in the audit entity.
Thanks in advance :)
Tuesday, March 20, 2012 11:29 AM