AX – D365FO – Write and Read Txt file with TextIo class

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. static void Job_File_IO_TextIo_Write_Read(Args _args) { TextIo txIoRead, txIoWrite; FileIOPermission fioPermission; container containFromRead; int xx, iConLength; str sTempPath, sFileName = "Test_File_IO.txt", sOneRecord; // Get the temporary path. sTempPath = … Continue reading AX – D365FO – Write and Read Txt file with TextIo class