Commit 6b3140af authored by smestry's avatar smestry

W15FSUN008, Updated PalletizationIC class file for duplicate scan.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99377 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c00f6585
......@@ -320,13 +320,12 @@ public class PalletizationIC extends ValidatorEJB implements PalletizationICLoca
else
{
sql = "select count(*) from pallet_det d, pallet_hdr h where d.lot_no = ? and d.lot_sl = ? and "
+ "d.pallet_no = ? and d.site_code = ? and d.tran_id = h.tran_id and h.confirmed = ? ";
+ " d.site_code = ? and d.tran_id = h.tran_id and h.confirmed = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lotNo);
pstmt.setString(2, lotSl);
pstmt.setString(3, palletNo);
pstmt.setString(4, loginSite);
pstmt.setString(5, "N");
pstmt.setString(3, loginSite);
pstmt.setString(4, "N");
rs = pstmt.executeQuery();
if(rs.next())
{
......@@ -377,7 +376,7 @@ public class PalletizationIC extends ValidatorEJB implements PalletizationICLoca
System.out.println("itemCodeDB :::::::::: " + itemCodeDB);
System.out.println("lotNoDB :::::::::: " + lotNoDB);
if(itemCodeDB.length() > 0) // not blank
if(itemCodeDB.length() > 0)
{
hm = commonWmsUtility.getPalletizedAttributes(itemCode, loginSite, conn);
familyGrp = (String) hm.get("LOC_ZONE__PREF");
......@@ -398,14 +397,14 @@ public class PalletizationIC extends ValidatorEJB implements PalletizationICLoca
System.out.println("qcTypeDB :::::::::: " + qcTypeDB);
System.out.println("stroPrefDB :::::::::: " + stroPrefDB);
*/
/*
if(!familyGrpDB.equalsIgnoreCase(familyGrp) || !qcTypeDB.equalsIgnoreCase(qcType) || !stroPrefDB.equalsIgnoreCase(stroPref))
{
System.out.println(" item code is not of same analysis grp :::::::::: ");
errCode = "VTINVAC";
errList.add( errCode );
errFields.add(childNodeName.toLowerCase());
}*/
}
System.out.println("Checking validation for QC order status :::::::::: " );
......
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