Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Get Report from AuditBase table

(0) ShareShare
ReportReport
Posted on by 452

Hi there
I have installed CRM 2011 in my local Network.
I wanna develop and  get report from auditBase table.
I googled and now I can run this query ( for example ) :


 select top 200 * from AuditBase inner join StringMapBase
     on ( AuditBase.Action=StringMapbase.AttributeValue and AuditBase.ObjectTypeCode=1084 and
     StringMapBase.LangId=1065 and (AttributeName='action' or AttributeName='operation'))
     inner join Quote on (AuditBase.ObjectId=quote.QuoteId);

I used the condition AuditBase.ObjectId=quote.QuoteId  to display quotes related to the auditBase table.
First of all, my question is that am I doing right? Is the AuditBase.ObjectId=quote.QuoteId true? Is the objectId  always the same value just like QuoteId?
And another problem :
I want to do a filter on this.
The objectId is too long and complex to use in the filter box(ex, in a textbox) , I wanna filter every change of any entity by entityId  or something simpler.( for example states changed in the quote entity )
Is it possible?

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans