Movement journal

Hi

How to post movement journal with date and posted user id using x++ code…?

Following links might help

http://sivakumar007.wordpress.com/2012/08/22/inventory-movement-journal-thru-x/

http://axwiki.blogspot.in/2013/10/creating-invent-movement-journal-in-ax.html