Posts

Showing posts from November, 2022

Extract data of PO from the System in Ax 2012

 static void Job(Args _args) {     PurchTable      purchTable;     PurchLine       purchLine;     Dialog          dialog  = new Dialog();     DialogField     dialogFieldFileSave;     Commaio         file;     container       line;     FilePath        TempPath;     dialogFieldFileSave     = dialog.addField(extendedTypeStr(FilenameSave),"File path","Caption here");     dialog.caption("Extract PO data");     dialog.filenameLookupFilter(['*.csv']);     if(!dialog.run())     {         return;     }     if (dialogFieldFileSave.value() == '')     {         error("Please set up the location for export file.");         return; ...