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 :
Microsoft Dynamics NAV (Archived)

Help - How to change the default filter in Dynamics NAV 2009 RTC List Page?

(0) ShareShare
ReportReport
Posted on by 125

Hello Everyone,


Could someone please help me with changing the default filter in Dynamics NAV 2009 RTC list page? Please see the snapshot attached. Currently, Customer list's filter pane(Advanced Filter) always defaults to bill to customer no. but I would like to know how to change it to some other field. This default filter should be persistent so that it always defaults to whatever field is set when Dynamics Nav Client (RTC) is restarted.

Thanks in advance!!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Neville Foyn Profile Picture
    4,320 on at

     

    Hi

    You have 2 options here,

    The system is always using the first column on the list view as the default filter, so if you move the Name to the first position this will be the filter displayed by default (Choose column, select it move up till it gets to the top) - this could be done in the designer so it becomes the default for every one

    The second option is to add a bit of code to the open page section of the customer list that actually filters on something on the column, that will have the system default to that filter and display the filter (As below i am saying where the name is not blank)

    SETFILTER(Name,'<>''''');

    This will open the page with the filters showing the filter (And not showing customers where the name is blank (for example)) the user can then change the filter if they need to

    Hopefully one of these options will be able to meet the requirement

     

  • kdubois Profile Picture
    125 on at

    Thank You Neville, As you suggested the second option works for us because we don't want to change the order of column in a list page.

    Thanks again for quick response

  • Neville Foyn Profile Picture
    4,320 on at

    Happy to help

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    One disadvantage of the solution 2 above is that it actually filters the records who have no name.

    If you do want to see all the records you can use filters like this:

    SETFILTER( "Text/Code Field", '*' );

    SETFILTER( "Number Field", '<>%1|%2', 0, 0);

    SETFILTER( "Date Field", '<>%1|%2', 0D, 0D);

    SETFILTER( "Option Field", '<>%1', 99 );

    It will open the page and show the filter section with some odd filter values, but at least all records are shown. I think it would be nice to have a page property simular to the report property "Filter Request Fields" which will automaticaly show the entered fields in the filter section, without the need of setting a filter value.

    Grz Edgar

  • Community Member Profile Picture
    on at

    MR.Neville Foyn

    I want to use the Three or more filters

    Like   1. Product Group Code

               2. Item Catagory Code

    how can do it.

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 > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans