The following X++ job code sample creates a file and writes to it. Next the code reads from the file, and prints every record to the Infolog. The use of the FileIOPermission class is also illustrated. FileIoPermission is used to assert that the current method has the authority to call another method that checks for…
Tag: TextIO
Microsoft Dynamics Ax
kranthi AX: Importing data from text file in Axapta
by Bo Jensen •
The code will help you to import data from text file and create a sales order.
Microsoft Dynamics Ax
How do I write a txt file using Microsoft Dynamics AX
by Bo Jensen •
You can use the TextIo X++ class or the CLRInterop. Here are 2 X++ jobs to demonstrate both approaches.