Commit fefd5518 authored by arawankar's avatar arawankar

Changes made in POrderIC.java

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@174019 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 98e21bfd
......@@ -9448,6 +9448,10 @@ public class POrderIC extends ValidatorEJB implements POrderICRemote,
.append("<![CDATA[" + ls_taxenv + "]]>")
.append("</tax_env>");
}
//Modified by Anjali R.[To set columnValue in current dom][21/11/2017][Start]
updateNodeValue(dom, "tax_class", ls_taxclass, "2");
updateNodeValue(dom, "tax_env", ls_taxenv, "2");
//Modified by Anjali R.[To set columnValue in current dom][21/11/2017][End]
// ls_itemCode =
// dw_detedit[ii_currformno].Getitemstring(1,"item_code")
......@@ -11674,4 +11678,20 @@ public class POrderIC extends ValidatorEJB implements POrderICRemote,
return retStr;
}
//Added BY Anjali R. to set node value in dom on[22/11/2017][Start]
private static void updateNodeValue(Document doc,String columnName,String columnValue,String formNo)
{
NodeList nodeList = doc.getElementsByTagName("Detail"+formNo);
Node node = null;
for(int i=0; i<nodeList.getLength();i++)
{
node = nodeList.item(i);
if(node != null && node.getNodeName().equalsIgnoreCase(columnName))
{
node.setNodeValue(columnValue);
}
}
}
//Added BY Anjali R. to set node value in dom on[22/11/2017][End]
}
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