Commit f585d249 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@195465 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f39fd87b
...@@ -2549,7 +2549,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch ...@@ -2549,7 +2549,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
//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 ))
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";
errList.add(errCode); errList.add(errCode);
......
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