Commit ebbb7e9d authored by wansari's avatar wansari

check inv_stat of scanned location in case of GRL and PGRL.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@43431 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 453c5b34
...@@ -2835,7 +2835,6 @@ private String disParmValue( Connection conn , String disparmVar ) throws ITMExc ...@@ -2835,7 +2835,6 @@ private String disParmValue( Connection conn , String disparmVar ) throws ITMExc
pstmtItemLotPack = conn.prepareStatement(sql); pstmtItemLotPack = conn.prepareStatement(sql);
scanLocCode = genericUtility.getColumnValue( "loc_code", hdrDom ); scanLocCode = genericUtility.getColumnValue( "loc_code", hdrDom );
sql = "SELECT ADET.NO_PALLET,PDET.LINE_NO, PDET.ITEM_CODE, ADET.QUANTITY, PDET.UNIT, PDET.RATE, "+ sql = "SELECT ADET.NO_PALLET,PDET.LINE_NO, PDET.ITEM_CODE, ADET.QUANTITY, PDET.UNIT, PDET.RATE, "+
"PDET.DISCOUNT, PDET.TAX_AMT, PDET.TOT_AMT, PDET.LOC_CODE, "+ "PDET.DISCOUNT, PDET.TAX_AMT, PDET.TOT_AMT, PDET.LOC_CODE, "+
"PDET.REQ_DATE, PDET.DLV_QTY, PDET.STATUS, PDET.STATUS_DATE, "+ "PDET.REQ_DATE, PDET.DLV_QTY, PDET.STATUS, PDET.STATUS_DATE, "+
...@@ -3083,7 +3082,10 @@ private String disParmValue( Connection conn , String disparmVar ) throws ITMExc ...@@ -3083,7 +3082,10 @@ private String disParmValue( Connection conn , String disparmVar ) throws ITMExc
//@@changed by wasim on 28-05-2015 when chenged the PGRL menu separate [START] //@@changed by wasim on 28-05-2015 when chenged the PGRL menu separate [START]
//if(shipperSize > rem)//scan remainig loose items //if(shipperSize > rem)//scan remainig loose items
//{ //{
if("PGRL".equalsIgnoreCase(scanLocCode))//scan remainig loose items //Changed by wasim on 31-03-2017 for checking invstat
//if("PGRL".equalsIgnoreCase(scanLocCode))//scan remainig loose items
System.out.println("invStatLoc["+invStat+"] scanLocCode["+scanLocCode+"]");
if("PGRL".equalsIgnoreCase(invStat))//scan remainig loose items
{ {
//@@changed by wasim on 28-05-2015 when chenged the PGRL menu separate [END] //@@changed by wasim on 28-05-2015 when chenged the PGRL menu separate [END]
//Changed by wasim on 17-02-2016 as user can enter quantity in case of PGRL //Changed by wasim on 17-02-2016 as user can enter quantity in case of PGRL
...@@ -3137,7 +3139,7 @@ private String disParmValue( Connection conn , String disparmVar ) throws ITMExc ...@@ -3137,7 +3139,7 @@ private String disParmValue( Connection conn , String disparmVar ) throws ITMExc
//added by wasim on 20-04-2015 to end while loop. [END] //added by wasim on 20-04-2015 to end while loop. [END]
System.out.println("Last DOMID="+domID); System.out.println("Last DOMID="+domID);
} }
else else if("GRL".equalsIgnoreCase(invStat))
{ {
System.out.println("NO Artical for GRL="+noArt); System.out.println("NO Artical for GRL="+noArt);
System.out.println("Loose Artical for GRL="+loose); System.out.println("Loose Artical for GRL="+loose);
......
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