Commit 3d52b72b authored by cpatil's avatar cpatil

modify for po_term second line


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93855 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1026c6b0
......@@ -1325,14 +1325,16 @@ POrderAmdConfLocal, POrderAmdConfRemote
//for (int i = 1; i < Integer.parseInt(lastTermLine); i++)
for (int i = 1; i <= cntTerm; i++)
{
System.out.println("@@@@@@@@@term for Line:["+i+"]::lineNo["+lineNo+"]");
// 31/10/13 manoharan print_opt added
sql = " select purc_order,line_no_ord,term_code,descr, print_opt from poamd_term where amd_no = ? and line_no = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, amdNo);
pstmt.setString(2, lineNo);
//pstmt.setString(2, lineNo);
pstmt.setString(2, ""+i );
rs = pstmt.executeQuery();
if (rs.next()) {
if (rs.next())
{
purcOrder = rs.getString("purc_order");
lineNoPO = rs.getString("line_no_ord");
termCode = rs.getString("term_code");
......
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