Commit ec9e418a authored by kshinde's avatar kshinde

Bug fix

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@196764 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e50f73a1
...@@ -1413,9 +1413,9 @@ public class FinCommon ...@@ -1413,9 +1413,9 @@ public class FinCommon
{ {
// check for closing balance // check for closing balance
sql = "SELECT COUNT(1) FROM SUNDRYBAL " sql = "SELECT COUNT(1) FROM SUNDRYBAL "
+ "WHERE ACCT_PRD = ? AND PRD_CODE = ? AND FIN_ENTITY = ? " + "WHERE ACCT_PRD = '"+ ls_acctprd +"' AND PRD_CODE = '"+ ls_closeprd +"' AND FIN_ENTITY = '"+ ls_finentity +"' "
+ "AND SITE_CODE = ? AND SUNDRY_TYPE = ? AND SUNDRY_CODE = ? " + "AND SITE_CODE = '"+ ls_sitecode +"' AND SUNDRY_TYPE = '"+ ls_sundrytype +"' AND SUNDRY_CODE = '"+ ls_sundrycode +"' "
+ "AND ACCT_CODE = ? AND CCTR_CODE = ? "; + "AND ACCT_CODE = '"+ ls_acctcode +"' AND CCTR_CODE = '"+ ls_cctrcode +"'";
//stmt = conn.createStatement(); // Added as stmt is closed and asigned null above - Piyush - 26/03/08 //stmt = conn.createStatement(); // Added as stmt is closed and asigned null above - Piyush - 26/03/08
//rs = stmt.executeQuery(sql); //rs = stmt.executeQuery(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