Commit 4005d310 authored by ngadkari's avatar ngadkari

changes in trandate setting in XML

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@209586 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 20c9b1ea
...@@ -797,7 +797,8 @@ public class CreatePoRcpVoucher ...@@ -797,7 +797,8 @@ public class CreatePoRcpVoucher
today = new java.sql.Timestamp(System.currentTimeMillis()); today = new java.sql.Timestamp(System.currentTimeMillis());
sdf = new java.text.SimpleDateFormat(genericUtility.getApplDateFormat()); sdf = new java.text.SimpleDateFormat(genericUtility.getApplDateFormat());
xmlBuff.append("<tran_date><![CDATA[" + sdf.format(today) + "]]></tran_date>"); //xmlBuff.append("<tran_date><![CDATA[" + sdf.format(today) + "]]></tran_date>"); commented and added by nandkmar gadkari on 15/10/19 for setting tran date
xmlBuff.append("<tran_date><![CDATA[" + sdf.format(tranDate) + "]]></tran_date>");
xmlBuff.append("<tran_type><![CDATA[" + (tranType==null?"":tranType) + "]]></tran_type>"); xmlBuff.append("<tran_type><![CDATA[" + (tranType==null?"":tranType) + "]]></tran_type>");
if ( receiptDate != null ) if ( receiptDate != 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