Commit e886ec4e authored by manohar's avatar manohar

bug fix min and max quantity interchangeed in variable


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96662 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ac8ca9cc
......@@ -616,8 +616,8 @@ public class PriceList extends ValidatorEJB implements PriceListLocal, PriceList
else if (childNodeName.equals("min_qty"))
{
int mmaxqty,mminqty;
mmaxqty=Integer.parseInt(genericUtility.getColumnValue("min_qty",dom));
mminqty=Integer.parseInt(genericUtility.getColumnValue("max_qty",dom));
mminqty =Integer.parseInt(genericUtility.getColumnValue("min_qty",dom));
mmaxqty=Integer.parseInt(genericUtility.getColumnValue("max_qty",dom));
System.out.println("20/10/14 manohar validation for [" + childNodeName + "] mmaxqty [ " + mmaxqty + "] mminqty [" + mminqty + "]");
......@@ -691,22 +691,23 @@ public class PriceList extends ValidatorEJB implements PriceListLocal, PriceList
}
}
break;
}
}
break;
}//switch
//}//for
int errListSize = errList.size();
int cnt = 0;
String errFldName = null, errorType = null;
System.out.println("errListSize ..........[" + errListSize + "]");
if(errList != null && errListSize > 0)
{
for(cnt = 0; cnt < errListSize; cnt ++)
{
errCode = errList.get(cnt);
errFldName = errFields.get(cnt);
System.out.println("errCode .........." + errCode);
System.out.println("errCode ..........[" + errCode + "]");
errString = getErrorString(errFldName, errCode, userId);
errorType = errorType(conn , errCode);
if(errString.length() > 0)
......
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