Executing action web menu item through code
AxActionMenuItem action = new AxActionMenuItem("MenuItemTest");
using (Proxy.Args args = new Proxy.Args(AxBaseWebPart.GetWebpart(this).Session.AxaptaAdapter))
{
args.parm = "Xyz";
action.Run(args);
}