Commit ba4758a2 authored by ssarkar's avatar ssarkar

update by sumit on 11/05/13 sumit tran_id line_no problem


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93050 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 15ebbf17
...@@ -580,7 +580,9 @@ public class ReplIssPos extends ValidatorEJB implements ReplIssPosRemote, ReplIs ...@@ -580,7 +580,9 @@ public class ReplIssPos extends ValidatorEJB implements ReplIssPosRemote, ReplIs
" VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)"; " VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)";
pstmt2 = conn.prepareStatement(sql); pstmt2 = conn.prepareStatement(sql);
pstmt2.setString(1, tranId); pstmt2.setString(1, tranId);
pstmt2.setInt(2, rs.getInt("LINE_NO")); //Changed by sumit on 11/05/13 incremented max line.
//pstmt2.setInt(2, rs.getInt("LINE_NO"));
pstmt2.setInt(2, tranLine);
pstmt2.setString(3, replOrder); pstmt2.setString(3, replOrder);
pstmt2.setInt(4, rs.getInt("LINE_NO")); pstmt2.setInt(4, rs.getInt("LINE_NO"));
pstmt2.setString(5, itemCode); pstmt2.setString(5, itemCode);
......
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