Commit e41b8df6 authored by ngadkari's avatar ngadkari

changes in auto ar settlement

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184030 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 57cead59
......@@ -536,9 +536,18 @@ conn = getConnection();
}
//TRAN_DATE
//retTabSepStrBuff.append(rs.getDate(3)).append("\t");
System.out.println(sdf.format(rs.getTimestamp(3)));
//retTabSepStrBuff.append(sdf.format(rs.getTimestamp(3))).append("\t");
retTabSepStrBuff.append("<tran_date>").append("<![CDATA[" +sdf.format(rs.getTimestamp(3)) +"]]>").append("</tran_date>");
// CHANGES BY NANDKUMAR GADKARI ON 24/04/18 added if condition on ref_date
if(rs.getTimestamp(3) == null)
{
retTabSepStrBuff.append("<tran_date>").append("<![CDATA[]]>").append("</tran_date>");
}
else
{
System.out.println(sdf.format(rs.getTimestamp(3)));
retTabSepStrBuff.append("<tran_date>").append("<![CDATA[" +sdf.format(rs.getTimestamp(3)) +"]]>").append("</tran_date>");
}
//TOT_AMT
//retTabSepStrBuff.append(rs.getDouble("TOT_AMT")).append("\n");
retTabSepStrBuff.append("<tot_amt>").append("<![CDATA["+rs.getDouble("TOT_AMT")+"]]>").append("</tot_amt>");
......
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