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 :
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,039 Super User 2025 Season 2 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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 512 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 291 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans