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 :
Supply chain | Supply Chain Management, Commerce
Unanswered

Filter record dynamically by using sysQueryForm

(0) ShareShare
ReportReport
Posted on by 45

Hi Team,

I want to create a single report from different module (Sales Quotation and Project Items Trans). the query filter also should come as per the parameter value. Is it possible to have dynamic query as per the parameter value.

Kindly see the below sample.

0755.pastedimage1681718678005v2.png

I have the same question (0)
  • huijij Profile Picture
    19,811 on at

    Hi Bibin,

    Can you able to explain business requirements? Do you want to customize the sysQueryForm?

  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi Bibin,

    Can you explain what exactly you want to achieve? A report has one query. A query can have multiple data sources (tables). Is your report requirement about querying data to be summarized in one report? Or do you try to get two different reports in one?

  • Bibin TV Profile Picture
    45 on at

    My key objective was to set different query as per the parameter selection on the SysQueryForm. Kindly see the below example.

     

    Example

    Parameter 1 : Sales Quotation(Sales and Marketing)

    Parameter 2 : Material Issue(Project)

     

    Query filter should change as per the parameter selection. If Parameter 1 is selected, the query should use the table Sales Quotation otherwise Project Item Transaction table.

    As per your explanation, I understand that, I have to use the same query and assign different data source. Is there any example you can give for the quick understanding??

    Thank you.

  • GirishS Profile Picture
    27,827 Moderator on at

    Hi Bibin,

    As per my understanding ye you can create dynamic query via code, you can create two separate methods for Sales quotation and Project Item trans with the respective dynamic query logic.

    On the process report you can call the respective methods based on the parameter selection.

    Thanks,

    Girish S.

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 288 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 178 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 116 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans