Commit 363d31e5 authored by prane's avatar prane

bug fixed:date format related chnages are done

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@188357 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a028cdd5
...@@ -2718,11 +2718,17 @@ public class PostOrdInvoicePost extends ActionHandlerEJB implements PostOrdInvoi ...@@ -2718,11 +2718,17 @@ public class PostOrdInvoicePost extends ActionHandlerEJB implements PostOrdInvoi
if(lsStart.equalsIgnoreCase("R")) if(lsStart.equalsIgnoreCase("R"))
{ {
ldTranDt=Timestamp.valueOf(vouchDate); System.out.println("vouchDate:["+vouchDate+"]");
//ldTranDt=Timestamp.valueOf(vouchDate);
ldTranDt=Timestamp.valueOf(genericUtility.getValidDateString(vouchDate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
} }
else if(lsStart.equalsIgnoreCase("D")||lsStart.equalsIgnoreCase("Q")) else if(lsStart.equalsIgnoreCase("D")||lsStart.equalsIgnoreCase("Q"))
{ {
ldTranDt=Timestamp.valueOf(effDate); //pavan r 23jul18 start[to handle exception]
//System.out.println("effDate:["+effDate+"]");
//ldTranDt=Timestamp.valueOf(effDate);
ldTranDt=Timestamp.valueOf(genericUtility.getValidDateString(effDate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
//pavan r 23jul18 end
} }
else if(lsStart.equalsIgnoreCase("B")) else if(lsStart.equalsIgnoreCase("B"))
{ {
......
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