Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to call button to disable when form was open

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I want to disable button when form open. the button checked condition when value = 0 (2), the button was disable (1)

3323.button.jpg

My friend told me to make the condition code in override selection changed (3)

button1.jpg

But, when I called the button, ax show the error

button2.jpg

can anyone tell me the solution?

*This post is locked for comments

  • RE: How to call button to disable when form was open

    Just to add you may want to ovewrite VendPurchOrderJour.active() rather than .selectionChanged().

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to call button to disable when form was open

    Thanks for your response. I Forget about that one. Thanks....

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,399 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans