AX – How to add a file dialogField in a RunBase (or RunBaseBatch) dialog

We need to add a file type dialog field in a RunaBase or RunBaseBatch dialog How to do in x++ Class Declaration class ImportDemandForecastCSV extends RunBaseBatch { DialogRunbase dialog; DialogField dialogFileName; FileName fileName; #define.CurrentVersion(1) #define.Version1(1) #localmacro.CurrentList fileName #endmacro } public Object dialog() { dialog = super(); dialog.addGroup("@SYS7764"); dialogFileName = dialog.addField(ExtendedTypeStr(Filenameopen), "File Name"); return dialog; } … Continua a leggere AX – How to add a file dialogField in a RunBase (or RunBaseBatch) dialog