Adding "Code commented by your name,Date" comments in existing method using x++

\Classes\EditorScripts

Add new below method.

void SajuComment(Editor e)
{
          e.insertLines('//New code added by Saju K'+ ' on ' + 'Begin:' + ' ' + date2str(today        
          (),123,2,1,3,1,4 ) +  ''   +' at ' + time2str(timeNow(), 1, 1) + '\n');
}

Go to customizing object methods -> Right Click -> Scripts -> Add and enjoy.

Comments

Popular posts from this blog

Monthwise number sequence in SO and PO

Drill Down Reports in AX 2012