Answered by:
Need to query Audit history for opportunity entity

Question
-
I need to join entity opportunity and 'Audit history' in opportunity to create a report, how to acheive this.
I have seen that auditview does not exist in sql server.
Thanks
Thursday, May 23, 2013 7:36 PM
Answers
-
To achieve this you could do a join on the "Audit Base" table and "Opportunity" table. Both tables exist with the mentioned names. The object id of the audit table is common with the id of the entities (here is opportunities).
- Marked as answer by Payman BiukaghazadehEditor Tuesday, May 28, 2013 3:24 PM
Thursday, May 23, 2013 8:10 PMModerator -
Hi,
Try this link,it will help you,
http://a33ik.blogspot.in/2011/11/crm-2011-reports-on-data-auditing.html
VidhiyaM
- Proposed as answer by VidhiyaM Friday, May 24, 2013 4:49 AM
- Marked as answer by Payman BiukaghazadehEditor Tuesday, May 28, 2013 3:24 PM
Friday, May 24, 2013 4:49 AM
All replies
-
To achieve this you could do a join on the "Audit Base" table and "Opportunity" table. Both tables exist with the mentioned names. The object id of the audit table is common with the id of the entities (here is opportunities).
- Marked as answer by Payman BiukaghazadehEditor Tuesday, May 28, 2013 3:24 PM
Thursday, May 23, 2013 8:10 PMModerator -
The audit base table has different column names.
I just need the old value, new value, changed filed name.
How to I get these fileds.
Thursday, May 23, 2013 11:36 PM -
Hi,
Try this link,it will help you,
http://a33ik.blogspot.in/2011/11/crm-2011-reports-on-data-auditing.html
VidhiyaM
- Proposed as answer by VidhiyaM Friday, May 24, 2013 4:49 AM
- Marked as answer by Payman BiukaghazadehEditor Tuesday, May 28, 2013 3:24 PM
Friday, May 24, 2013 4:49 AM -
http://a33ik.blogspot.in/2011/11/crm-2011-reports-on-data-auditing.html
when I tried this post I am getting an error
Invalid length parameter passed to the LEFT or SUBSTRING function
anyone knows how to resolve this error.
Friday, May 24, 2013 6:30 PM