Commit 7a381212 authored by smestry's avatar smestry

W15FSUN008, Updated class file Palletization.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98879 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4e2c430f
...@@ -366,7 +366,7 @@ public class PalletizationConf extends ValidatorEJB implements PalletizationConf ...@@ -366,7 +366,7 @@ public class PalletizationConf extends ValidatorEJB implements PalletizationConf
rs1 = null; rs1 = null;
// InvStat // InvStat
if(holdQuantity >= 0) if(holdQuantity > 0)
{ {
//System.out.println("inside hold quantity greater than zero :::::::::::::::::: "); //System.out.println("inside hold quantity greater than zero :::::::::::::::::: ");
nexpLoc = distComm.getDisparams("999999","NEAR_EXP_LOCK",conn1); nexpLoc = distComm.getDisparams("999999","NEAR_EXP_LOCK",conn1);
...@@ -488,7 +488,9 @@ public class PalletizationConf extends ValidatorEJB implements PalletizationConf ...@@ -488,7 +488,9 @@ public class PalletizationConf extends ValidatorEJB implements PalletizationConf
HashMap hm2 = new HashMap(); HashMap hm2 = new HashMap();
hm2 = commonWmsUtility.getPalletizedAttributes(rs.getString("item_code"), siteCode, conn1); hm2 = commonWmsUtility.getPalletizedAttributes(rs.getString("item_code"), siteCode, conn1);
procMth = (String) hm2.get("PROC_MTH"); procMth = (String) hm2.get("PROC_MTH");
int procMth1 = Integer.parseInt(procMth);
//= parse procMth;
System.out.println("qcReqd ::::::::::::: " + qcReqd); System.out.println("qcReqd ::::::::::::: " + qcReqd);
System.out.println("procMth ::::::::::::: " + procMth); System.out.println("procMth ::::::::::::: " + procMth);
...@@ -496,7 +498,7 @@ public class PalletizationConf extends ValidatorEJB implements PalletizationConf ...@@ -496,7 +498,7 @@ public class PalletizationConf extends ValidatorEJB implements PalletizationConf
{ {
qcType = "N"; qcType = "N";
} }
else if(qcReqd.length() > 0 && "Y".equalsIgnoreCase(qcReqd)) else if(procMth1 > 0 && "Y".equalsIgnoreCase(qcReqd))
{ {
qcType = "F"; qcType = "F";
} }
......
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