Commit ce451a0c authored by vvengurlekar's avatar vvengurlekar

RetainerContractReleasePrc.java- for setting blank if rndoff is null


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@198054 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 301bd6ab
......@@ -780,6 +780,8 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo
toDate = Timestamp.valueOf(genericUtility.getValidDateString(toDateStr, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println("fromDateStr["+fromDateStr+"] toDateStr["+toDateStr+"]");
String hdrDom=genericUtility.serializeDom(headerDom);
System.out.println("Header dom"+hdrDom);
String browDom=genericUtility.serializeDom(detailDom);
System.out.println("Detail dom"+browDom);
......@@ -1361,7 +1363,12 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo
{
projCode = "";
}
//Added by Varsha V to pass blank if rndoff is null on 05-03-19
if(rndOff == null || rndOff.trim().length() == 0 || "null".equals(rndOff))
{
rndOff = "";
}
//Ende by Varsha V to pass blank if rndoff is null on 05-03-19
vouchType = "E";
//Inserting data into the 'misc_voucher'
xmlBuff.append("<?xml version='1.0' encoding='ISO-8859-1'?><DocumentRoot>");
......@@ -1878,6 +1885,12 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo
}
xmlBuff.append("<tran_type>").append("<![CDATA[" + tranType + "]]>").append("</tran_type>");
xmlBuff.append("<amount__bc>").append("<![CDATA[" + amtBase + "]]>").append("</amount__bc>");
//Added by Varsha V to pass blank if rndoff is null on 05-03-19
if(rndOff == null || rndOff.trim().length() == 0 || "null".equals(rndOff))
{
rndOff = "";
}
//Ende by Varsha V to pass blank if rndoff is null on 05-03-19
xmlBuff.append("<rnd_off>").append("<![CDATA[" + rndOff + "]]>").append("</rnd_off>");
xmlBuff.append("<rnd_to>").append("<![CDATA[" + rndTo + "]]>").append("</rnd_to>");
xmlBuff.append("<bank_code>").append("<![CDATA[" + bankCode + "]]>").append("</bank_code>");
......
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