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.
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
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.
executeQuery()
public void executeQuery() { QueryBuildDataSource qbds = this.queryBuildDataSource(); qbds.clearRange(fieldNum(ReqTrans, RefType)); next executeQuery(); }
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 1,771
André Arnaud de Cal... 806 Super User 2025 Season 2
Sohaib Cheema 542 User Group Leader