Interview Questions

Tuesday, March 14, 2017

How to open a form through code (X++) in AX

Hi Friends,
Today I will show you that how we can open any form through code in AX

For achieving this target we need to write:

new MenuFunction(MenuItemDisplayStr(form menuitem name),MenuItemType::Display).run();

In this code at the place of "Form MenuItem Name" you need to create a menuitem of your form and paste that name at this place.

Task Done.........

No comments:

Post a Comment