May I can test and then commit ?
Here is the updated patch for Creating a Sales Order.
Resolved the conflicts in previous patch,fixes the issues in SalesOrderTest.java file.
I have also tested it extensively,it works fine.
Thanks Alok Agnihotri for testing and posting a new patch
patch is in rev 631218