Commit 0a7ffe5b authored by ssurve's avatar ssurve

code for drop pallet issue fixed. detail2 and detail3 tag changed as per obj name condition


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96519 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 53e9ab9c
...@@ -230,7 +230,7 @@ public class DistIssuePos extends ValidatorEJB implements DistIssuePosLocal, Dis ...@@ -230,7 +230,7 @@ public class DistIssuePos extends ValidatorEJB implements DistIssuePosLocal, Dis
if("distisswiz".equalsIgnoreCase(objName)) if("distisswiz".equalsIgnoreCase(objName))
{ {
strAllocate.put("chg_win","W_DESPATCHWIZ"); strAllocate.put("chg_win","W_DISTISSWIZ");
strAllocate.put("ref_ser","WI-ISS"); strAllocate.put("ref_ser","WI-ISS");
} }
else else
...@@ -320,7 +320,20 @@ public class DistIssuePos extends ValidatorEJB implements DistIssuePosLocal, Dis ...@@ -320,7 +320,20 @@ public class DistIssuePos extends ValidatorEJB implements DistIssuePosLocal, Dis
String currDomId = ""; String currDomId = "";
int detailListLength = 0; int detailListLength = 0;
detailList = dom.getElementsByTagName("Detail2"); //-------- Added by Sandesh 02-Oct-2014 -------------
if("distisswiz".equalsIgnoreCase(objName))
{
detailList = dom.getElementsByTagName("Detail3");
}
else
{
detailList = dom.getElementsByTagName("Detail2");
}
// -------------------------------------------------
//detailList = dom.getElementsByTagName("Detail2"); // Commented by Sandesh 02-Oct-2014
detailListLength = detailList.getLength(); detailListLength = detailList.getLength();
for (int ctr = 0;ctr < detailListLength;ctr++) for (int ctr = 0;ctr < detailListLength;ctr++)
{ {
......
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