Commit ad2633db authored by ngadkari's avatar ngadkari

changes in near exp condition

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204049 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 53c972e1
...@@ -2555,12 +2555,12 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch ...@@ -2555,12 +2555,12 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
System.out.println("minShelfDate ["+ld_chk_date1+"] maxShelfDate["+ld_chk_date2+"]"); 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 ))
//Change done by kunal on 10/1/2019 to remove max shelf date validation as suggested by piyush sir //Change done by kunal on 10/1/2019 to remove max shelf date validation as suggested by piyush sir
if ((ld_exp_date.after(ld_chk_date1))) /*if ((ld_exp_date.after(ld_chk_date1)))
{ {
errCode = "VTNEXPDT"; errCode = "VTNEXPDT";
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }*/ //COMMENTED BY NANDKUMAR GADKARI ON 25/07/19
//changes by mukesh on 18/06/19----start //changes by mukesh on 18/06/19----start
//if ld_exp_date < ld_alloc_date and ls_track_shelf_life = 'Y' then //if ld_exp_date < ld_alloc_date and ls_track_shelf_life = 'Y' then
/*if( ld_exp_date.before(ld_alloc_date) && "Y".equalsIgnoreCase(ls_track_shelf_life)) /*if( ld_exp_date.before(ld_alloc_date) && "Y".equalsIgnoreCase(ls_track_shelf_life))
......
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