Introduction to Microsoft Dynamics AX 2012 R3 Development-1

Microsoft Dynamics AX 2012 R3 Development-1

Locus IT ServicesMicrosoft Dynamics AX 2012 R3 Development-1

Lesson 4 : Menus Items

Menus Items in Microsoft Dynamics AX 2012:

Menu Items in Microsoft Dynamics AX 2012 can create menu items to provide access to forms, reports, classes, jobs, and queries in Microsoft Dynamics AX. You can also create menus.You can add menu items to menus. You can also add menu items to forms and reports by using controls.You can customize the menus and menu items that ship with Microsoft Dynamics AX by using properties.

You can use menu items to activate application objects from the user interface. Menu properties include the following:

  • Name: The name of this menu item
  • Label: The label appearing on the menu item
  • ObjectType: The type of object this item points to
  • Object: The object name that this item points to

Three types of menu items can be created:

  • Display – used for forms
  • Output – used for reports
  • Action – used for running processes

Output and Action menu items are discussed in other training courses.

You can create menu items to provide access to forms, reports, classes, jobs, and queries. You can also create menus. All these procedures are performed in the Application Object Tree (AOT).

To help you manage changes to AOT objects such as menu items, a version control system is available. For more information, see Version Control System.

You can implement existing menu items based on a set of conditions using the MenuFunction class and X++. You add the code to a table method, and then call the method from a form or a report.

  • You can access a class from a menu by using an action menu item and a static main method.
  • If you add several related forms or other objects to the menu, you might want to use a submenu to organize and identify the group. Submenus enable you to specify how related menu items appear in the Navigation Pane and the area page.
Locus IT Project Management Office
What’s it?