Commit 008f12c0 authored by pdas's avatar pdas

Changed condtion of (holdAmt>0) to (holdAmt!=0)for expense voucher when released .


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@36785 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2f7ae13a
...@@ -107,7 +107,7 @@ public class MiscVoucherRls extends ActionHandlerEJB implements MiscVoucherRlsLo ...@@ -107,7 +107,7 @@ public class MiscVoucherRls extends ActionHandlerEJB implements MiscVoucherRlsLo
//{ //{
// errCode = "VTBAL2"; // partly paid off // errCode = "VTBAL2"; // partly paid off
//} //}
else if (holdAmt > 0) else if (holdAmt != 0)
{ {
updSql="UPDATE MISC_PAYABLES SET HOLD_AMT = 0 WHERE TRAN_SER = 'M-VOUC' AND REF_NO = '"+tranID+"'"; updSql="UPDATE MISC_PAYABLES SET HOLD_AMT = 0 WHERE TRAN_SER = 'M-VOUC' AND REF_NO = '"+tranID+"'";
rows=stmt.executeUpdate(updSql); rows=stmt.executeUpdate(updSql);
......
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