Commit 348c2053 authored by cpatil's avatar cpatil

add checknull method for tax variable


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93696 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4d10d434
...@@ -1323,9 +1323,9 @@ implements BillofQuantityActLocal, BillofQuantityActRemote ...@@ -1323,9 +1323,9 @@ implements BillofQuantityActLocal, BillofQuantityActRemote
valueXmlString.append("<rate__stduom isSrvCallOnChg='0'>").append("<![CDATA[").append(genericUtility.getColumnValueFromNode("rate__stduom", currDetail1)).append("]]>").append("</rate__stduom>\r\n"); valueXmlString.append("<rate__stduom isSrvCallOnChg='0'>").append("<![CDATA[").append(genericUtility.getColumnValueFromNode("rate__stduom", currDetail1)).append("]]>").append("</rate__stduom>\r\n");
//add by akhilesh on 01/apr/2013 to set the field on item code item changes disable //add by akhilesh on 01/apr/2013 to set the field on item code item changes disable
valueXmlString.append("<tax_class protect=\"0\" isSrvCallOnChg='0'>").append("<![CDATA[").append(genericUtility.getColumnValueFromNode("tax_class", currDetail1)).append("]]>").append("</tax_class>\r\n"); valueXmlString.append("<tax_class protect=\"0\" isSrvCallOnChg='0'>").append("<![CDATA[").append(checkNull(genericUtility.getColumnValueFromNode("tax_class", currDetail1))).append("]]>").append("</tax_class>\r\n");
valueXmlString.append("<tax_chap protect=\"0\" isSrvCallOnChg='0'>").append("<![CDATA[").append(genericUtility.getColumnValueFromNode("tax_chap", currDetail1)).append("]]>").append("</tax_chap>\r\n"); valueXmlString.append("<tax_chap protect=\"0\" isSrvCallOnChg='0'>").append("<![CDATA[").append(checkNull(genericUtility.getColumnValueFromNode("tax_chap", currDetail1))).append("]]>").append("</tax_chap>\r\n");
valueXmlString.append("<tax_env protect=\"0\" isSrvCallOnChg='0'>").append("<![CDATA[").append(genericUtility.getColumnValueFromNode("tax_env", currDetail1)).append("]]>").append("</tax_env>\r\n"); valueXmlString.append("<tax_env protect=\"0\" isSrvCallOnChg='0'>").append("<![CDATA[").append(checkNull(genericUtility.getColumnValueFromNode("tax_env", currDetail1))).append("]]>").append("</tax_env>\r\n");
discountType = genericUtility.getColumnValueFromNode("discount_type", currDetail1); discountType = genericUtility.getColumnValueFromNode("discount_type", currDetail1);
if(discountType == null || discountType.trim().equalsIgnoreCase("null") ) if(discountType == null || discountType.trim().equalsIgnoreCase("null") )
...@@ -1430,6 +1430,7 @@ implements BillofQuantityActLocal, BillofQuantityActRemote ...@@ -1430,6 +1430,7 @@ implements BillofQuantityActLocal, BillofQuantityActRemote
return valueXmlString.toString(); return valueXmlString.toString();
} }
private String getObjName(Node node) throws Exception { private String getObjName(Node node) throws Exception {
String objName = null; String objName = null;
......
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