Commit 5751660f authored by kshinde's avatar kshinde

Despatch expired item validation bug fix

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@195472 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5e87e2a8
...@@ -2548,7 +2548,8 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch ...@@ -2548,7 +2548,8 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
//Timestamp ld_exp_date=null; //Timestamp ld_exp_date=null;
//if not(ld_exp_date >= ld_chk_date1 and ld_exp_date <= ld_chk_date2) then //Code commented by ajit on date 30-Jan-2015 //if not(ld_exp_date >= ld_chk_date1 and ld_exp_date <= ld_chk_date2) then //Code commented by ajit on date 30-Jan-2015
//if (ld_exp_date >= ld_chk_date1 && ld_exp_date <= ld_chk_date2) then // added by ajit on date 30-Jan-2015 instructed by pravin //if (ld_exp_date >= ld_chk_date1 && ld_exp_date <= ld_chk_date2) then // added by ajit on date 30-Jan-2015 instructed by pravin
//if ((ld_exp_date.compareTo(ld_chk_date1) > -1) && (ld_exp_date .compareTo(ld_chk_date2) < 1 )) //if ((ld_exp_date.compareTo(ld_chk_date1) > -1) && (ld_exp_date .compareTo(ld_chk_date2) < 1 ))
System.out.println("minShelfDate ["+ld_chk_date1+"] maxShelfDate["+ld_chk_date2+"]");
if (!((ld_exp_date.compareTo(ld_chk_date1) > -1) && (ld_exp_date .compareTo(ld_chk_date2) < 1 ))) if (!((ld_exp_date.compareTo(ld_chk_date1) > -1) && (ld_exp_date .compareTo(ld_chk_date2) < 1 )))
{ {
errCode = "VTNEXPDT"; errCode = "VTNEXPDT";
......
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