Hi, Everyone.
I want a value in dialog field from selected form grid value(ProductionOrder). Please see the below screenshot and also code for your reference. Please give a solution for this
Screenshot:
Code:
void clicked()
{
Dialog dialog;
DialogField field;
;
dialog = new Dialog("My Dialog");
dialog.addText("Select your favorite customer:");
field = dialog.addField(extendedTypeStr(CustAccount));
dialog.run();
if (dialog.closedOk())
{
info(field.value());
}
}
Thanks in advance.