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

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

x++ code to submit and approve and reject the invent movement workflow in d365 F&O