Closing
the Current Form and Open The New Form in AX
Create
New form Add button.
Clicked
Method:-
void
clicked()
{
Args
args;
FormRun
run;
;
super();
element.Close();
// To close the current form
args
= new Args(formStr(OKCancelForm)); // To open the new form
run
= classFactory.formRunClass(args);
run.init();
run.run();
run.
detach();
}
No comments:
Post a Comment