Commit 8d2dcf19 authored by arawankar's avatar arawankar

Changes made in MiscVoucherIc.java as suggested by Piyush sir.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175754 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 32fb79c0
...@@ -1365,7 +1365,10 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M ...@@ -1365,7 +1365,10 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
rs = null; rs = null;
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
if((Amount < 0 && adjAmt < 0 && Amount < adjAmt) || (Amount > 0 && adjAmt > 0 && Amount < adjAmt) || (Amount < 0 && adjAmt > 0) || (Amount > 0 && adjAmt < 0)) //Modified by Anjali R. on [11/12/2017][As instucted by piyush sir.][Start]
//if((Amount < 0 && adjAmt < 0 && Amount < adjAmt) || (Amount > 0 && adjAmt > 0 && Amount < adjAmt) || (Amount < 0 && adjAmt > 0) || (Amount > 0 && adjAmt < 0))
if((Amount < 0 && adjAmt < 0 && Amount * -1 < adjAmt * -1) || (Amount > 0 && adjAmt > 0 && Amount < adjAmt) || (Amount < 0 && adjAmt > 0) || (Amount > 0 && adjAmt < 0))
//Modified by Anjali R. on [11/12/2017][As instucted by piyush sir.][End]
{ {
errCode = "VTMPAY4"; errCode = "VTMPAY4";
errList.add(errCode); errList.add(errCode);
......
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