Commit 83ce8866 authored by caluka's avatar caluka

delete mps_order sql un commented


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@100427 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e0ad4ffb
......@@ -378,7 +378,7 @@ public class RequirementIC extends ValidatorEJB implements RequirementICLocal, R
parentNodeList = dom2.getElementsByTagName("Detail2");
parentNodeListLength = parentNodeList.getLength();
System.out.println("parentNodeList["+parentNodeList+"]");
System.out.println("parentNodeList["+parentNodeListLength+"]");
for (int p = 0; p < parentNodeListLength; p++)
{
tranIdDom = "";
......@@ -430,8 +430,13 @@ public class RequirementIC extends ValidatorEJB implements RequirementICLocal, R
}
}
}
}else if (childNodeName.equals("mpsorder"))
{
if (childNode.getFirstChild() != null)
{
mpsOrder = checkNull(childNode.getFirstChild().getNodeValue());
}
}
}// End of Inner for loop
if (itemCode != null && itemCode.trim().length() > 0)
{
......@@ -478,6 +483,7 @@ public class RequirementIC extends ValidatorEJB implements RequirementICLocal, R
// quantity = batchQty * noOfBatch;
//tranIdSuffix++;
System.out.println("mpsOrder>>>>>>>>>"+mpsOrder);
if(!"MPS".equalsIgnoreCase(mpsOrder))
{
tranidIncrement=generateTranId("w_mps_order",loginSiteCode,orderType,conn); //ADDED BY CHANDRASHEKAR ON 04/06/2014
......@@ -731,7 +737,7 @@ public class RequirementIC extends ValidatorEJB implements RequirementICLocal, R
tranIdStr = "";
}
/*if (tranIdStr != null && tranIdStr.trim().length() > 0)
if (tranIdStr != null && tranIdStr.trim().length() > 0)
{
deleteSql = "DELETE FROM MPS_ORDER WHERE TRAN_ID IN(" + tranIdStr + ")";
pstmt = conn.prepareStatement(deleteSql);
......@@ -742,7 +748,7 @@ public class RequirementIC extends ValidatorEJB implements RequirementICLocal, R
}
pstmt.close();
pstmt = null;
}*/
}
System.out.println("mrpGetData>>>>>"+mrpGetData);
return mrpGetData;
......
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