Export csv file using batch processing in AX 2012

Hi everyone,

I am facing a problem with batch processing process in AX 2012.

Scenario: I just want to export customer data into one specified folder in the form of csv format.

I am able to export the data using with TextIO, CommaTextIO, AsciiIO and CommaIO at client side. but i am not able to do the same thing on server side(RunOn server or batch process). we all know that, in AX 2012 all batch job are compiled into CIL and run on the server.

I came to know that, using System.IO.File we can successfully export the data using with batch jobs/server side.

but i couldn’t do so. Can anyone guide me how i can solve this problem. Please help me with examples if possible.

hi! where you able to solve this?