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

Announcements

No record found.

News and Announcements icon
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,560 on at
     
    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

    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
    689 on at

    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
    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans