Multiple form opening from same button using X++
void clicked()
{
Args args = new args(); ;
Args.parm(Parameter.text());
switch (Parameter.text())
{ case '10001' : new MenuFunction(MenuItemDisplayStr(ParameterClass), MenuItemType::Display).run(args); break; case '10002' : //call appropriate menu item here break;
}
super();
}
No comments:
Post a Comment