Commit 8ff78931 authored by caluka's avatar caluka

qc_order_lots insert query before query qclotloccode commented


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103096 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a62240d2
......@@ -3597,8 +3597,8 @@ public class StockTransferConf extends ActionHandlerEJB implements StockTransfer
pstmtQC.close();
pstmtQC = null;
sql = "select max(line_no) as line_no,loc_code from qc_order_lots " +
" where item_code = ? and lot_no = ? and qorder_no= ? group by loc_code";
sql = "select max(line_no) as line_no from qc_order_lots " +
" where item_code = ? and lot_no = ? and qorder_no= ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, itemCode);
pstmt.setString(2, lotNo);
......@@ -3607,7 +3607,7 @@ public class StockTransferConf extends ActionHandlerEJB implements StockTransfer
if (rs2.next())
{
lineNo = Integer.parseInt(rs2.getString("line_no") == null ? "0" : rs2.getString("line_no"));
qcLotLocCode = rs2.getString("loc_code");
//qcLotLocCode = rs2.getString("loc_code");
}
pstmt.close();
pstmt = null;
......
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