Commit 4483ed1f authored by pshinde's avatar pshinde

Itemchange and validatin of Customer Item Update


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97614 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 68dfc996
......@@ -83,7 +83,8 @@ public class CustItemUpdateIC extends ValidatorEJB implements CustItemUpdateICLo
String errorType = "";
String custCodeFrom="",custCodeTo="";
String itemCodeFrom="",itemCodeTo="";
double integralQty=0;
//double integralQty=0;
String integralQty="";
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
......@@ -290,6 +291,18 @@ public class CustItemUpdateIC extends ValidatorEJB implements CustItemUpdateICLo
}
}
}
//integral Qty
else if(childNodeName.equalsIgnoreCase("integral_qty"))
{
integralQty = checkNull(genericUtility.getColumnValue("integral_qty",dom ));
if(integralQty==null|| integralQty.trim().length()==0)
{
errCode = "VMNULLQTY";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
}//end of else if loop
//end of for
......@@ -462,18 +475,6 @@ public class CustItemUpdateIC extends ValidatorEJB implements CustItemUpdateICLo
childNodeList = parentNode.getChildNodes();
valueXmlString.append("<Detail1>");
childNodeListLength = childNodeList.getLength();
do
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if (childNodeName.equals(currentColumn))
{
childNode.getFirstChild();
}
ctr++;
}
while ((ctr < childNodeListLength) && (!childNodeName.equals(currentColumn)));
System.out.println("CURRENT COLUMN Case 1 CustItemUpdateIC *******["+currentColumn+"]");
if (currentColumn.trim().equalsIgnoreCase("itm_default"))
......
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