Commit 1bcb1301 authored by vvengurlekar's avatar vvengurlekar

PayVoucherComPrc.java- added condition to check length of tran_type is length is 0 the set FRT


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@198804 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1f2e1f1f
......@@ -3494,7 +3494,10 @@ public class PayVoucherComPrc extends ProcessEJB implements PayVoucherComPrcLoca
//xmlBuff.append("<tran_date><![CDATA[" + sdf.format(new java.util.Date()).toString() + "]]></tran_date>");
xmlBuff.append("<tran_date><![CDATA[" + dateStr + "]]></tran_date>");
//Commented & changes by sarita on 06APR2018 for Distribution Expense Voucher[start]
if(lstrantype==null)
//Commented and added by Varsha V on 26-03-18 for checking trantype blank[START]
//if(lstrantype==null)
if(lstrantype==null || lstrantype.trim().length() == 0)
//Commented and added by Varsha V on 26-03-18 for checking trantype blank[END]
{
lstrantype=" ";
xmlBuff.append("<tran_type><![CDATA[FRT]]></tran_type>");
......
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