How to create a dialog Box in Dynamic Ax 2012
create a job named as Simple_Dialog:
static void Simple_Dialog(Args _args)
{
dialog dialog;
dialogGroup dialogGroup;
dialogField dialogField;
dialog = new Dialog("Simple Dialog");
dialogGroup = dialog.addGroup("Customer");
dialogField = dialog.addField(extendedTypeStr(custAccount));
if (dialog.run())
{
print dialogField.value();
pause;
}
}
good
ReplyDeletedialogField = dialog.addField(str2int(extendedTypeStr(custAccount)));
ReplyDelete