Commit 88e76539 authored by caluka's avatar caluka

InvHoldRelease tran date set to db date format for issue tracker point


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96506 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 63c732e1
...@@ -881,17 +881,20 @@ public String process(String xmlString, String xmlString2, String windowName, St ...@@ -881,17 +881,20 @@ public String process(String xmlString, String xmlString2, String windowName, St
SimpleDateFormat sdfAppl = new SimpleDateFormat(genericUtility.getApplDateFormat()); SimpleDateFormat sdfAppl = new SimpleDateFormat(genericUtility.getApplDateFormat());
String currDateStr = sdfAppl.format(currDate); String currDateStr = sdfAppl.format(currDate);
Timestamp dateNew = Timestamp.valueOf(genericUtility.getValidDateString(currDateStr, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println("dateNew["+dateNew+"]");
tranIdGenerate = generateTranId( "w_inv_hold_rel", siteCode, currDateStr, conn ); tranIdGenerate = generateTranId( "w_inv_hold_rel", siteCode, currDateStr, conn );
pRelHdr.setString( 1, tranIdGenerate ); pRelHdr.setString( 1, tranIdGenerate );
pRelHdr.setTimestamp( 2, currDate ); //pRelHdr.setTimestamp( 2, currDate );
pRelHdr.setTimestamp( 2, dateNew );//Added by chandrashekar 01-10-2014
pRelHdr.setString( 3, siteCode ); pRelHdr.setString( 3, siteCode );
pRelHdr.setString( 4, remarks); pRelHdr.setString( 4, remarks);
pRelHdr.setString( 5, confirmed ); pRelHdr.setString( 5, confirmed );
pRelHdr.setString( 6, empCode ); pRelHdr.setString( 6, empCode );
pRelHdr.setString( 7, userId ); pRelHdr.setString( 7, userId );
pRelHdr.setTimestamp( 8, currDate ); //pRelHdr.setTimestamp( 8, currDate );
pRelHdr.setTimestamp( 8, dateNew );//Added by chandrashekar 01-10-2014
pRelHdr.setString( 9, chgTerm ); pRelHdr.setString( 9, chgTerm );
updCnt = pRelHdr.executeUpdate(); updCnt = pRelHdr.executeUpdate();
......
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