web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

SRS Report of Quotes on particular Account

(0) ShareShare
ReportReport
Posted on by 300

I would like to create a report SRS Report that pulls Quote and Quote Product Info. when I am on particular Account; or if I have selected multiple Accounts in any view the only run the report for those accounts. Here is a approx. grouping format I am looking for:

Account 1

    Quote 11

        Quote Product 111

        Quote Product 112

    Quote 12

        Quote Product 121

        Quote Product 122

And so on...

Here is the Query I wrote with CRMAF_:

SELECT CRMAF_FilteredAccount.name, CRMAF_FilteredQuote.quotenumber, CRMAF_FilteredQuoteDetail.productidname, CRMAF_FilteredQuoteDetail.quotedetailid

FROM FilteredQuoteDetail AS CRMAF_FilteredQuoteDetail LEFT OUTER JOIN

FilteredQuote AS CRMAF_FilteredQuote ON CRMAF_FilteredQuoteDetail.quoteid = CRMAF_FilteredQuote.quoteid LEFT OUTER JOIN

FilteredAccount AS CRMAF_FilteredAccount ON CRMAF_FilteredQuote.customerid = CRMAF_FilteredAccount.accountid

It looks good in the preview in VStudio but when I import it into CRM it gets all messed up.

And default filter is set to "Modified in last 30 days" which I don't know where it comes from. I don't have any such filter in my dataset.

Any insight into what I am doing wrong?

Thanks to community!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    jlattimer Profile Picture
    24,562 on at

    The filter gets created by default when you add the report. You can remove this by going to the reports area, selecting the report and then picking "Edit Default Filter" from the ribbon up top.

    As far as something being still wrong once it is displayed - you will probably have to elaborate more.

  • Advait Raje Profile Picture
    300 on at

    It is pulling all non-related account records first and then the one account at the last that is related to the selected record and all its associated Quotes. Any clues?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans