Announcements
please somebody help me
*This post is locked for comments
No, you didn't explain anything at all. You're merely repeating the same thing.
What's the business requirement that you're trying to implement? (Whether it will be implemented by hiding a button or somehow else will be decided later.)
Hi,
I think you don't want to show particular menu item on the basis of Roles in WorkFlow?
For that you have to create Privilege, Duties and Roles in AX.
May be it can help you and solve your problem.
Regards
Arun
Hope you got my drift this time,Martin
I need to write code X++ firing disabled menu item action and this is what I reached below
Menuitemactionstr(name of menu Item) .enabled
Please tell us what exactly you're trying to do and what's the problem. Note that I don't consider "to hide menu item button in class" to be specific enough, especially since David revealed that you're doing something about workflow.
please somebody help me
I'm not sure you understand. The menu items displayed within the workflow action are defined by the configuration/state of the workflow. e.g. Delegate, Reject, Recall; if define as workflow processes can be disabled within a workflow. If you need conditional enable/disabling of workflow menu items, it may be you need to setup a complex workflow with multiple paths.
I need to hide only menu item action not all the workflow action; I see there's a big difference
You've posted multiple requests about handling of workflow menu items (Hiding). The menu items are driven by workflow metadata and configuration settings. I suggest you spend some time learning about defining workflows instead of trying to override system defined behaviors through code.
Yes Martin, my goal is to know how to hide menu item button in class
André Arnaud de Cal...
294,157
Super User 2025 Season 1
Martin Dráb
232,938
Most Valuable Professional
nmaenpaa
101,158
Moderator