void clicked()
{
Menufunction menufunction ;
Args args = new Args();
FormRun formRun;
;
{
Menufunction menufunction ;
Args args = new Args();
FormRun formRun;
;
if(MyTable.StatusId == " ")
{
throw error("Please fill the StatusId of the record ");
}
else
{
args.record(MyTable);
menufunction = new Menufunction( menuitemdisplaystr(MyTrans),menuItemType:: Display);
formRun = menufunction.create(args);
formRun.run();
formRun.wait(true);
{
throw error("Please fill the StatusId of the record ");
}
else
{
args.record(MyTable);
menufunction = new Menufunction(
formRun = menufunction.create(args);
formRun.run();
formRun.wait(true);
}
}
}
No comments:
Post a Comment