Commit df3fc4a2 authored by smestry's avatar smestry

W15FSUN008, Updated class file Palletization.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99126 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a65f4387
......@@ -390,10 +390,10 @@ public class PalletizationConf extends ValidatorEJB implements PalletizationConf
{
lockCode = checkNullAndTrim(rs1.getString("lock_code"));
}
System.out.println("lockCode ::::::::::::: " + lockCode);
if(pstmt1 != null){ pstmt1.close(); pstmt1 = null; }
if(rs1 != null){ rs1.close(); rs1 = null; }
System.out.println("lockCode ::::::::::::: " + lockCode);
if(lockCode.equalsIgnoreCase(nexpLoc))
{
invStat = "N";
......@@ -522,9 +522,11 @@ public class PalletizationConf extends ValidatorEJB implements PalletizationConf
hm.put("QUANTITY", checkNullAndTrim((String.valueOf(noArt))));
hm.put("QTY_PER_ART",checkNullAndTrim((String.valueOf(qtyPerArt))));
hm.put("TOTAL_QTY", checkNullAndTrim(rs.getString("quantity")));
/*hm.put("QUANTITY", checkNullAndTrim((String.valueOf(interfaceQty))));
/*
hm.put("QUANTITY", checkNullAndTrim((String.valueOf(interfaceQty))));
hm.put("QTY_PER_ART", checkNullAndTrim((String.valueOf(packSize))));
hm.put("TOTAL_QTY", checkNullAndTrim((String.valueOf(totQuantity)))); */
hm.put("TOTAL_QTY", checkNullAndTrim((String.valueOf(totQuantity))));
*/
hm.put("EXP_DATE", checkNullAndTrim(expDate));
hm.put("MFG_DATE", checkNullAndTrim(mfgDate));
hm.put("PALLET_NO", checkNullAndTrim(rs.getString("pallet_no")));
......
......@@ -71,10 +71,8 @@ public class PalletizationPos extends ValidatorEJB implements PalletizationPosLo
System.out.println("xtraParams ::::::::::::: " + xtraParams);
System.out.println("tranId ::::::::::::: " + tranId);
lineNo = checkNullAndTrim(genericUtility.getColumnValue("line_no", dom, "3" ));
lineNo = checkNullAndTrim(genericUtility.getColumnValue("line_no", dom, "3" ));
//objName = getObjNameFromDom(dom, "updateFlag", "3");
updateFlag = getUpdateFlagFromDom(dom, "3");
System.out.println("updateFlag--------->>["+updateFlag+"]");
......@@ -206,7 +204,7 @@ public class PalletizationPos extends ValidatorEJB implements PalletizationPosLo
}
return inputVal;
}
//private String getObjNameFromDom( Document dom, String attribute, String objContext ) throws RemoteException,ITMException
private String getUpdateFlagFromDom( Document dom, String objContext ) throws RemoteException,ITMException
{
NodeList detailList = null;
......
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