Commit bd3fdf17 authored by kgaikwad's avatar kgaikwad

Error Showing while passing entry of payment

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@213465 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a529f0ab
......@@ -183,7 +183,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
ConnDriver connDriver = new ConnDriver();
StringBuffer errStringXml = new StringBuffer("<?xml version = \"1.0\"?> \r\n <Root> <Errors>");
String effBankStr="",rcpacctAmt="";
String refType = "",guid = "",chqAmt;
String refType = "",guid = "",chqAmt = "";
Timestamp tranDt = null;
double rcpacctAmtdbl=0;
//Calendar currentDate = Calendar.getInstance();--by monika
......@@ -543,7 +543,17 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
{
acctCodeBal = this.genericUtility.getColumnValue("acct_code__bal", dom);
if(acctCodeBal != null && acctCodeBal.trim().length() > 0)
chqAmt = E12GenericUtility.checkNull(getColumnValue("chq_amt", dom));// add by kailasG on 12-dec-19
if(chqAmt !=null && chqAmt.trim().length()>0)
{
chqAmount=Double.parseDouble(chqAmt);
}
else
{
chqAmount=0.0;
}
//if(acctCodeBal != null && acctCodeBal.trim().length() > 0) commented by kailasg on 12-dec-19
if ( chqAmount != 0.0 ) // add condition by kailasG on 12-dec-2019
{
siteCode = this.genericUtility.getColumnValue("site_code", dom);
errCode = finCommon.isAcctCode(siteCode, acctCodeBal, "FIN", conn);
......
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