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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Remove Default "Reference" Field Filter in Released Product Form

(2) ShareShare
ReportReport
Posted on by 77

Hello ,
In the standard Released Product form in D365FO, the "Reference" field always has a default filter applied, set to "is not" "Safety stock."

I want to remove the default filter applied to Reference field so that it is not automatically restricted, but I do not want to affect the standard filters applied to other fields.

Does anyone have experience with this? Any guidance on how to achieve this through customization or configuration would be greatly appreciated!

 

Thanks in advance.

I have the same question (0)
  • Raj Borad Profile Picture
    1,362 on at
    Remove Default "Reference" Field Filter in Released Product Form
     
    Personalization of the page may helps to remove this filter "only for the Reference field" without affecting others:
    1. Go to "Options > Personalize this page".
    2. Click "Reset" or "Clear Filters" only on the grid or field level — do 'not' reset the full form.
    3. Alternatively, go to "Saved Views" (top of the form), create a new view, clear the filter from the "Reference" field, and save the view.
     
    This allows the form to open without the filter applied, while preserving other default filters and configurations. Let me know if you'd prefer an extension-based solution.
     
    Thanks.
  • AV-17040500-0 Profile Picture
    77 on at
    Remove Default "Reference" Field Filter in Released Product Form

    Hello @Raj Borad,

    Thanks for the suggestion.

    However, this seems to be a temporary and user-specific solution. My requirement is to deploy this change to the production environment as well, so I’m looking for a permanent solution to remove the filter.

    I already tried the approach of clearing the filter, saving it as a new view, publishing it, and pinning it with the System Administrator role. But when a user with the System Administrator role opens the form, it still defaults to the custom view, yet the filter remains—it isn’t cleared as expected.

    Let me know if there’s a way to permanently remove the filter through an extension or another approach.

    Thanks


     
  • Verified answer
    Saalim Ansari Profile Picture
    648 on at
    Remove Default "Reference" Field Filter in Released Product Form

    Hi @AV-17040500-0,

    You can remove the default filter on the Reference field (RefType) in the Released Products form by overriding the executeQuery() method of the relevant form data source and clearing only that specific range.

     

    public void executeQuery()
    {
        QueryBuildDataSource qbds = this.queryBuildDataSource();
        qbds.clearRange(fieldNum(ReqTrans, RefType));
        next executeQuery();
    }
    
     
    Hope this helps
    Saalim
  • AV-17040500-0 Profile Picture
    77 on at
    Remove Default "Reference" Field Filter in Released Product Form
    Thanks @Saalim Ansari,

    Your suggested solution worked for me.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,771

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 542 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans