Friday, January 20, 2012

Launch MenuItem from x++

you can call the menuitem itself using Menufunction.


Here is an example that should work.
static void Menuitem_job(Args _args)
{
MenuFunction mf;
;
mf = new menufunction(menuitemdisplaystr(CustTable), MenuItemType::Display);
mf.run();
}


Above code will open the CustTable From.

No comments:

Post a Comment

Delete caches in Dynamics 365 F&O

In Dynamics 365 Finance and Operations (D365 F&O), clearing the Application Object Tree (AOT) cache usually involves running specific ut...