Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

HowTo[Methodology] to get the the caller of a specific button AX2012

(0) ShareShare
ReportReport
Posted on by 44

When logged in at JmgRegistration form and you start a job either from Selecting the job from the grid. or using the Scanner Textbox field two totally different Methods are beign called:

when using the Scanner textbox the \forms\jmgRegistration\JobId is called. but when selecting the job from the grid list and clicking the Start Job button the jobId() is not called, other is called instead.

I want to know whats the right methodology to find this method triggered by the start Job button 

pastedimage1593857113807v1.png

  • CBNestor Profile Picture
    CBNestor 44 on at
    RE: HowTo[Methodology] to get the the caller of a specific button AX2012

    Thanks Ievgen for showing me a different approach, did not know that. :)

  • Verified answer
    Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: HowTo[Methodology] to get the the caller of a specific button AX2012

    Those buttons are created in runtime, so personalization does not show a lot. You can simple put a breakpoint in RunBase.run (because all the button will call a class nested from RunBase) or put breakpoint where button is created, JmgMESClientSelection.buttonFunction2MenuItemStr to see menu item name

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans