Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Filtering Customers While creating jobs

Posted on by 40
Hello All,
 
please guide about filtering customers based on sales person while creating job.
if Sales person JO logins, only the customers of JO should be displayed on Jobs page. how to achieve that
 
I tried filtering the table relation of /bill to customer/ field.
it doesn't affect anything while creating job.
 
thank you for any help!
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 72,941 Super User 2024 Season 2 on at
    Filtering Customers While creating jobs
    Just add some information:
    Dynamics 365 Business Central: How to create a Lookup, Drop-Down, or Option list (Single and Multi select)
     
     
     
    Thanks.
    ZHU
  • Verified answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 9,439 Super User 2024 Season 2 on at
    Filtering Customers While creating jobs
    Hi @Dej,
     
    I guess you must create a OnLookUp Trigger on your page extension :
     
    e.g.
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Dej Profile Picture
    Dej 40 on at
    Filtering Customers While creating jobs
    Hi @Mohamed, thanks for helping.
    I need to filter the customers in Job Page  Bill to customer. not in customers
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 9,439 Super User 2024 Season 2 on at
    Filtering Customers While creating jobs
    Hi @Dej,
     
    In OnOpenPage Trigger you can add a new Filter to apply business logic
     
        trigger OnOpenPage()
        begin
            Rec.SetRange(...);
        end;
    Best regards,
    Mohamed Amine MAHMOUDI

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans