Jan 24, 2017

X++에서 다이얼로그 호출하기 및 입력값 받아오기 (How to call dialog and input value in X++)


Dialog              _Dialog;
DialogField         _Field;
_Dialog = new Dialog("Select Worker");
_Dialog.addText("Worker");
_Field = _Dialog.addField(extendedTypeStr(HcmWorkerRecId));
_Field.label("Worker");
_Dialog.run();
if (_Dialog.closedOk())
{
 info(_Field.value());
}

No comments:

Post a Comment