hi all, currently i am working on ax 2012.i have written a code for reading files from a specified folder.
my scenario is i need to read text files from specifed folders, insert read data into table and move the entire file to another folder.i need to do this as a batch process.
.My Class extends RunBase batch.
i have used system.io.getfiles() for getting all text files names. i ve used system.io.streamreader for reading text files.
the problem is, if i run the class it s working fine. when i add this as a batch process, it is throwing error.
Can anyone suggest me a solution
note: i ve tried WIN::API classes and TextIO classes it is not working .