this C/AL code line: "TestFile.CREATE('C\GL Account Export.xml')"
causes the error states in the sreenshot (see the attached file).
How can i correct it?
TestFile is a File variable
Change the path. You probably don't have permission to create files directly on the C drive. You can try to manually create a file there to test this. You should save it to a temp folder or your My Documents folder instead.
Comments
My Blog - nav.education