Commit 938409d7 authored by pbhosale's avatar pbhosale

Updated on [07-02-2020]

misc_rcp_loan_adj12.xml
d_misc_rcp_loan_adj12.srd
MiscRcpLoanAdjPrc.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@216307 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bd868f83
......@@ -462,7 +462,7 @@ public class MiscRcpLoanAdjPrc extends ProcessEJB implements MiscRcpLoanAdjPrcLo
}
}
System.out.println("lcRecoAmtStr===>" +lcRecoAmtStr);
if(lcRecoAmtStr != null && lcRecoAmtStr.trim().length() > 0)
if(lcRecoAmtStr != null && lcRecoAmtStr.trim().length() > 0 )
{
try
{
......@@ -473,6 +473,14 @@ public class MiscRcpLoanAdjPrc extends ProcessEJB implements MiscRcpLoanAdjPrcLo
e.printStackTrace();
lcRecoAmt = 0;
}
//Added by Poonam B[06-02-2020][Start][to validate negative value not allowed]
if(lcRecoAmt < 0)
{
System.out.println("Inside negative value if loop");
resultString = itmDBAccessEJB.getErrorString("" , "VMNEGATIVE" , userId , "" , connection);
break;
}
//Added by Poonam B[06-02-2020][END][to validate negative value not allowed]
System.out.println("lcRecoAmt===>" +lcRecoAmt);
}
System.out.println("lcTotRecoAmt before IF ===>" +lcTotRecoAmt);
......
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