Commit 02207f5b authored by pchavan's avatar pchavan

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184048 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 34586798
...@@ -1939,7 +1939,7 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M ...@@ -1939,7 +1939,7 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
if(errCode == null || (errCode.trim().length() == 0 && acctCode.trim().length() > 0 && analCode1.trim().length() > 0 )) if(errCode == null || (errCode.trim().length() == 0 && analCode1.trim().length() > 0 ))
{ {
sql = "SELECT COUNT(*) FROM cctr_anal WHERE cctr_code = ? and anal_code = ?"; sql = "SELECT COUNT(*) FROM cctr_anal WHERE cctr_code = ? and anal_code = ?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
...@@ -2009,7 +2009,7 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M ...@@ -2009,7 +2009,7 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
if(errCode == null || (errCode.trim().length() == 0 && acctCode.trim().length() > 0 && analCode2.trim().length() > 0 )) if(errCode == null || (errCode.trim().length() == 0 && analCode2.trim().length() > 0 ))
{ {
sql = "SELECT COUNT(*) FROM cctr_anal WHERE cctr_code = ? and anal_code = ?"; sql = "SELECT COUNT(*) FROM cctr_anal WHERE cctr_code = ? and anal_code = ?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
......
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