About report

dialogFromDate = dialog.addFieldValue(typeid(TransDate), fromDate, “@SYS5209”,"@SYS67");

Please explain me.

Hi taukeer,

in ax 2009, use typeid …

dialogFromDate = dialog.addField(typeid(FromDate), “From date”, “@sysxx”);

in ax 2012, use extendedtypestr…

dialogFromDate = dialog.addField(extendedTypeStr(FromDate), “From date”, “@sysxx”);

Hi taukeer,

You can add the field in the dialog using dialog method addFieldValue and you can return this field value using Value method of dialog.