Commit 9f06f2f1 authored by manohar's avatar manohar

batch_size failed inv_hold transetup select was wrong corrected


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93948 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9c289dd1
......@@ -1342,7 +1342,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
if (batchSize > batchSizeApprv)
{
sql = "select key_string " + " where upper(tran_window) = 'W_INV_HOLD'";
sql = "select key_string from transetup where upper(tran_window) = 'W_INV_HOLD'";
pstmt1 = conn.prepareStatement(sql);
rs1 = pstmt1.executeQuery();
if ( rs1.next() )
......@@ -1359,7 +1359,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
pstmt1 = null;
rs1.close();
rs1 = null;
sql = "select key_string "
sql = "select key_string from transetup "
+ " where upper(tran_window) = 'GENERAL'";
pstmt1 = conn.prepareStatement(sql);
rs1 = pstmt1.executeQuery();
......
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