Commit b6e73f4c authored by gahmad's avatar gahmad

changes made to solve the invalid argument error


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91550 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8f92266e
...@@ -505,7 +505,10 @@ public class CreatePoRcpVoucher ...@@ -505,7 +505,10 @@ public class CreatePoRcpVoucher
if ("Y".equals(ledgPostConf) ) if ("Y".equals(ledgPostConf) )
{ {
sdf = new java.text.SimpleDateFormat(genericUtility.getDBDateFormat()); sdf = new java.text.SimpleDateFormat(genericUtility.getDBDateFormat());
tranDate = java.sql.Timestamp.valueOf( sdf.parse(today.toString()) + " 00:00:00.0") ; //Commented and changes by gulzar - 25/11/11
//tranDate = java.sql.Timestamp.valueOf( sdf.parse(today.toString()) + " 00:00:00.0") ;
tranDate = java.sql.Timestamp.valueOf( sdf.format(today) + " 00:00:00.0" );
//End changes by gulzar - 25/11/11
} }
//Updating voucher header //Updating voucher header
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment