web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Disabling only the active rules.

(1) ShareShare
ReportReport
Posted on by 4
I have a field named Rule Id in a form know as Rule forms from where I can make the rule either active or deactive. In another form, I am using the same field where it uses the edit method to show a drop down. Now, my requirement is to display only the active rules on the drop down and the deactive ones should not be displayed. Provide some thoughts over this. Thanks in advance.
 
Thanks, 
C4u
I have the same question (0)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at
    Hi, You can try using onLookup Event of edit method Form control and add range on Active rules.
     
    http://thinkinginax.blogspot.com/2018/04/creating-lookup-control-in-d365.html?m=1
  • Suggested answer
    Waed Ayyad Profile Picture
    9,074 Super User 2026 Season 1 on at
    Hi,
     
    You can override lookup method or use event handler in case it is standard form and add range to get only active rules.
     
     
    Regards,
    Waed
  • Community member Profile Picture
    3 on at
    Hi, 

    Can you guys ( Waed Ayyad and Mohit Rampal ) be bit more specific about the scenario since I have similar task to do so ?

    In my case, I have a jumpref where the active status is being checked but still I am getting both the active and deactive ones on the UI.

    if (rules.Active){
            args.lookupRecord(rules);}

    Can you provide your thoughts for this ?

    Thanks & Regards.
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 517 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 440

#3
Adis Profile Picture

Adis 266 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans