Dynamic Communities Magazine

Dynamic Communities creates technology-centric communities to exchange ideas on how to best maximize industry knowledge through user-produced education, enriched networking, and conference attendance.

Using My Customers, My Vendors, and My Items as Filters

05-04-2020 18:56 AJ Ansari Dynamics 365 BC | NAV

This article explains how to use the My Customers, My Vendors, and My Items lists on your Microsoft Dynamics NAV home page.

Originally published in H1 2018 BCUG/NAVUG Magazine

If you’re using a RoleTailored version of Microsoft Dynamics NAV, i.e., 2009 RTC or newer, you have likely come across the My Customers, My Vendors, or My Items lists on your Role Center page (your Microsoft Dynamics NAV home page). Depending on the Profile assigned to you, you may have one or all of these available to show on your Role Center.

Figure 1-13

The functionality is pretty straightforward: If you frequently, or exclusively, work with some Customers (or vendors or items), you can click on Manage List in the My Customers page part to create a shortlist with just those records so you can quickly jump to one of them by double-clicking it right from the Role Center.

What most people don’t know is that you can use your “My” shortlists as filters all across Microsoft Dynamics NAV, on pages as well as reports! It’s quite simple, too. Just use these filter strings:

  • My Customers: %mycust
  • My Vendors: %myvend
  • My Items: %myitem

We have found that %mycust works the same as %mycustomers, and similarly for the other two “My” lists.

Let’s try the filters out in a few different scenarios:

Scenario 1
If you are looking at the full list of Customers and just want to see the ones on your “My” list, expand the filter pane and set %mycust as the filter for the No. field.

Figure 2-10

Important: The %mycust, %myvend, and %myitem filters only work in the expanded Filter Pane as shown in the screenshot above. The filters will not work in the Type to filter (F3) field. If the Filter Pane is not showing, click the downward pointing arrow circled in the screenshot below:

Figure 3-5

Scenario 2
The “My” filters can also be used on pages like Ledger Entries, such as the Customer Ledger Entries page. This can help you trim down the list to show just the records pertaining to your Customers. In the Filter Pane, set %mycust as the filter for Customer No.:

Figure 4-3

When you click/tab out of the field after entering %mycust, you will see how Microsoft Dynamics NAV translates that string into multiple Customer numbers, separated by the |character:

Figure 5-2

Quick tip: If you use the Save View As function to create a saved view using a filter string like %mycust, Microsoft Dynamics NAV will always update the filter to include any new Customers you add to (or exclude Customers you have removed from) the My Customers list. The same is true for saved views created with Date formulas and Date strings. For example, add another filter on the Customer Ledger Entry page for Posting Date, and set the filter as WORKDATE or TODAY (W or T will also work). If you save this view and change the Work Date or return to the page on another day, the filters will dynamically update.

Scenario 3
When you are running a Report, such as the Customer Top 10 List report, you can filter the results to match your “My” list by using %mycust for the No. field under the Customer DataItem on the Request Page as shown below:

Figure 6

Pretty simple, wouldn’t you agree?!

AJ Ansari

Written by AJ Ansari

DSWi, Microsoft MVP, BCUG|NAVUG All-Star

Terms of Use: Dynamic Communities does not take responsibility for any incorrect or outdated information and looks to the author as the expert to provide accurate content.

Subscribe to Email Updates

Recent Posts