How to create log file in Ax 2012 and D365

 static void main(Args _args)

{

AsciiIo logFile;


logFile = new AsciiIo(@”C:\Users\charlie\Desktop\JKLogfile.txt”,’a+’);


logFile.write(“Johnkrish The Great”);


}

Comments

Popular posts from this blog

How to Create a wizard in x++ d365

how to post trade agreement journals automatically using x++ code

X++ code to CREATE AND POST A TRADE AGREEMENT IN MICROSOFT DYNAMICS 365 in D365 F & O