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 :
Small and medium business | Business Central, N...
Suggested Answer

Filtering rows based in jobs listing

(1) ShareShare
ReportReport
Posted on by 157
Hello There,
 
I need to filter the jobs list based on two conditions : 
1. If the job's created by user matches the logged in user
2. If the customer's Sales Person (Customer in job page) , matches the logged in user
 
jobs matching both conditions should be listed in jobs listing page.
 
First condition is achievable using Filter groups.  (https://yzhums.com/8427/)
 
How to achieve the second condition? Anybody please guide 
 
Thank for your help!
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,681 Super User 2025 Season 2 on at
    Hi, If you need cross-search between different fields, you can use the following method.
    Cross-column search (OR filters on multiple fields) ★FilterGroup(-1)
     
     
    Hope this helps.
    Thanks.
    ZHU
  • Dej Profile Picture
    157 on at
    Thank you for your assistance Yun Zhu.
    I learned many things from yhums.com!. I have already referred that link. it didn't help. If it is a complete custom listing page, that method works. unfortunately, I have to use those filters on Job Extension Page .
     
    as mentioned in the site,  Record.FilterGroup(-1) cannot be used to add default filter in OnOpenPage trigger.
     
    Now I have created two seperate record buffers one buffer for filtering records based on systemcreatedby
    and another buffer for filtering records based on assigned to sales person. concatenating all those job numbers with '|'
     
    use this concatenated job numbers as the records filter Rec.SetFilter('No.',Concatenatedjobs) together with filter group.
    but i am not sure this is correct or not.
     
    Thank you once again if you can confirm the correctness of this method!
  • Charles Profile Picture
    4 on at
    There are several ways to filter rows based on job listings. One method is to use a spreadsheet program like Microsoft Excel or Google Sheets. These programs have built-in filters that can be used to filter rows based on a variety of criteria.Another method is to use a database program like MySQL or Oracle. These programs have more advanced filtering capabilities than spreadsheet programs.

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans