Search This Blog

Tuesday, 8 October 2013

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;
}
}


2 comments: