Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Adding query based filter

(1) ShareShare
ReportReport
Posted on by 8
Hi,
 
Our client using the custom accounting source explorer report which is almost the same as standard one but with some additional fields, in custom report they're still using the 'Update' filter and in standard report they're using the latest 'Advanced filtering' option, now they are expecting to add the query based 'Voucher' filter which is available in the 'Advanced filter' to be included in the 'Update' filter present in custom report - could you confirm if this is feasible and provide your inputs?
  • VV-22040800-0 Profile Picture
    8 on at
    Adding query based filter
    Anyone has inputs on this? 
  • VV-22040800-0 Profile Picture
    8 on at
    Adding query based filter
    Any response? 
  • VV-22040800-0 Profile Picture
    8 on at
    Adding query based filter
    Actually the standard accounting source report has been duplicated and the 'update' filter belongs to standard form 'AccountingSourceExplorerParameters'. The query is right now this form will get the From & To filter values in the form field control and those values will be used as condition in accountingsourceexplorerprocessor class filterby methods but the new voucher field which needs to be added in same form should be the query/data source based and we need to modify the class to include the query based filter criteria along with the existing non data source form field control filter criteria. 
  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,624 Moderator on at
    Adding query based filter
    As you mentioned it's customised then you will have all the capabilities to customise it. 
     
    To answer your question, yes if it is using ui builder or a dialog form, then based on that you can change your code.
  • VV-22040800-0 Profile Picture
    8 on at
    Adding query based filter
    The new voucher filter will be primarily used for excluding the values but it should also provide the option to perform other filter options as well which is available in standard advanced filtering - like search all vouchers matching the given value like abc*.Basically we need to get the standard query based voucher filter in the 'Update' form where all other existing filters are not query based. 
  • Waed Ayyad Profile Picture
    7,958 Super User 2025 Season 1 on at
    Adding query based filter
    Hi,
     
    Do you mean the new filter will only exclude values? 
     
     
    Thanks
    Waed Ayyad
  • VV-22040800-0 Profile Picture
    8 on at
    Adding query based filter
    Hi,
     
    Any response?
  • VV-22040800-0 Profile Picture
    8 on at
    Adding query based filter
    I'm referring that not equal (!) and all (*) criteria which can be used in the query based advanced filtering when we want to search any fields like 'Voucher' which not equals to some value but this type of filter is not available in the existing 'Update' filter and it will just fetch the voucher by the from and to condition. They will use the 'From and To' voucher filter and along with the new 'Voucher' filter - like From voucher 1 To voucher 10 and in the new voucher filter they will exclude some voucher like ! voucher 5. The 'Update' filter form which I shown is the standard dialog form - 'AccountingSourceExplorerParameters'
  • Waed Ayyad Profile Picture
    7,958 Super User 2025 Season 1 on at
    Adding query based filter
    Hi,
     
    What do you mean by this "with not equal (!) and select all (*)"?  the customer wants to filter the report data based on the entered Voucher (From, To) to be not the entered values? Also, the form you showed is it Dialog form? 
    I have a question are you duplicating the filters? You already have Voucher from and to, so they want to add duplicate functionality?
     
    Thanks,
    Waed Ayyad
  • VV-22040800-0 Profile Picture
    8 on at
    Adding query based filter
    Hi Waed,
     
    Below is the current 'Update' filter which client is using in custom account source report and here they're expected to add the similar 'Voucher' filter which is present in the latest 'Advanced filtering', they will filter the voucher values with not equal (!) and select all (*) ranges which is possible in query based 'Advanced filtering'.While adding the new voucher filter in the 'Update' form, they're expecting the existing filters (From - to) should also work along with the new voucher filter.
     
     

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,280 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,038 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans