Monday, May 12, 2014

How to Run Form / Report / Menu item from Job or Code.

void clicked()
{
    Args          args = new Args();
    MenuFunction  menuFunction;
;

menuFunction = new MenuFunction(menuitemdisplaystr(SalesTable), MenuItemType::Display);
menuFunction.run(args);

}

*************************



static void OpenFormByCodeA()
{ Args args = new Args();
;
args.record(CustTable::find('ABC'));
new MenuFunction(MenuItemDisplayStr(CustTable),MenuItemType::Display).run(Args);
 
}


source :
http://axkanha.blogspot.in/search?q=open+form

No comments:

Post a Comment