Commit d48f61a5 authored by vvengurlekar's avatar vvengurlekar

InvoiceIC.java - added else block to set site_descr blank if site code is blank


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@189907 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1ef5a6e6
......@@ -2856,6 +2856,15 @@ public class InvoiceIC extends ValidatorEJB implements InvoiceICLocal, InvoiceIC
setNodeValue(dom, "site_descr",descr);
setNodeValue(dom, "fin_entity",finEntity);
setNodeValue(dom, "finent_descr",finDescr);
}//Added else block by Varsha V on 27-08-18 for setting site_descr blank
else
{
valueXmlString.append("<site_descr><![CDATA[").append("").append("]]></site_descr>\r\n");
valueXmlString.append("<fin_entity><![CDATA[").append("").append("]]></fin_entity>\r\n");
valueXmlString.append("<finent_descr><![CDATA[").append("").append("]]></finent_descr>\r\n");
setNodeValue(dom, "site_descr","");
setNodeValue(dom, "fin_entity","");
setNodeValue(dom, "finent_descr","");
}
returnMap.put("valueXmlString", valueXmlString.toString());
returnMap.put("dom", dom);
......
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