Commit 14b79f39 authored by manohar's avatar manohar

Credit note generation tran_date without time value passed


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93308 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 10bf33e4
...@@ -134,7 +134,11 @@ public class ChrgBckLocConf extends ActionHandlerEJB implements ChrgBckLocConfLo ...@@ -134,7 +134,11 @@ public class ChrgBckLocConf extends ActionHandlerEJB implements ChrgBckLocConfLo
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
// 02/07/13 manoharan time value to be removed
currDate = new java.sql.Timestamp(System.currentTimeMillis()) ;
String currAppdate = new SimpleDateFormat(genericUtility.getApplDateFormat()).format(currDate).toString();
currDate = Timestamp.valueOf(genericUtility.getValidDateString( currAppdate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0") ;
// end 02/07/13 manoharan time value to be removed
returnString = createMiscCrnoteCback(currDate, "", siteCode, tranID, tranID, tranDate, tranDate, custCode, custCode, "Y", xtraParams, conn ); returnString = createMiscCrnoteCback(currDate, "", siteCode, tranID, tranID, tranDate, tranDate, custCode, custCode, "Y", xtraParams, conn );
if( returnString .equals("VTSUCC1") ) if( returnString .equals("VTSUCC1") )
{ {
......
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