how to open a form by using x++ code:
static void OpenDisplayMenuItem()
{
Args args = new Args();
;
args.record(VendTable::find("XYZ"));
new MenuFunction(MenuItemDisplayStr(VendTable),MenuItemType::Display).run(Args);
}
------
static void OpenForm()
{ FormRun formRun;
Args args = new Args();
;
args.name(formstr(VendTable));
args.record(CustTable::find("XYZ"));
formRun = ClassFactory.formRunClass(args);
formRun.init();
formRun.run();
formRun.wait();
}
static void OpenDisplayMenuItem()
{
Args args = new Args();
;
args.record(VendTable::find("XYZ"));
new MenuFunction(MenuItemDisplayStr(VendTable),MenuItemType::Display).run(Args);
}
------
static void OpenForm()
{ FormRun formRun;
Args args = new Args();
;
args.name(formstr(VendTable));
args.record(CustTable::find("XYZ"));
formRun = ClassFactory.formRunClass(args);
formRun.init();
formRun.run();
formRun.wait();
}
where should i write x++ coding for opening a form
ReplyDeleteIn the methods node of the form
DeleteNice post ! Thanks for sharing valuable information with us. Keep sharing..
ReplyDeleteD365 Finance and Operations Online Training
These minimal information and facts will be built coupled with numerous track record information and facts. I favor this significantly.
ReplyDeleteRajasthan University BCOM TimeTable 2020
Rani Durgavati Vishwavidhyalaya BCOM TimeTable 2020
University Of Kota BCOM TimeTable 2020
Your information was very clear. Thank you for sharing.
ReplyDeleteD365 AX Technical Online Training
It is amazing to visit your site. Thanks for sharing this information, this is useful to me...
ReplyDeleteMicrosoft Dynamics AX Training
MS Dynamics AX Training
MS Dynamics Training in Hyderabad
Microsoft Dynamics AX Technical Training
Microsoft Dynamics AX Technical Training in Hyderabad
MS Dynamics Technical Online Training
MS Dynamics AX Technical Training in Hyderabad
MS Dynamics AX Online Training
D365 AX Online Training
Quite informative blog. Thanks for sharing...
ReplyDeletesupply chain management
Quite informative blog. Thanks for sharing...
ReplyDeleteMicrosoft dynamics