Commit b90beac6 authored by ssalve's avatar ssalve

Sarita: Done changes for wrong query on 13 NOV 2018.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@192859 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 150519e8
...@@ -1723,9 +1723,15 @@ PoReturnICRemote { ...@@ -1723,9 +1723,15 @@ PoReturnICRemote {
}else if (((purcOrder.trim().length()>0)) && (lineNoOrd.trim().length() >0) && (errCode==null || errCode.trim().length()==0) ) }else if (((purcOrder.trim().length()>0)) && (lineNoOrd.trim().length() >0) && (errCode==null || errCode.trim().length()==0) )
{ {
System.out.println("Sarita123........");
//changes by sarita to correct query on 13 NOV 2018 [START]
/*sql="select b.quantity from porder a, porddet b " +
" where a.purc_order = b. purc_order " +
" and a.purc_order = int lineCnt = 0;? and b.line_no = ? ";*/
sql="select b.quantity from porder a, porddet b " + sql="select b.quantity from porder a, porddet b " +
" where a.purc_order = b. purc_order " + " where a.purc_order = b. purc_order " +
" and a.purc_order = int lineCnt = 0;? and b.line_no = ? "; " and a.purc_order = ? and b.line_no = ? ";
//changes by sarita to correct query on 13 NOV 2018 [END]
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1,purcOrder); pstmt.setString(1,purcOrder);
pstmt.setString(2,lineNoOrd); pstmt.setString(2,lineNoOrd);
......
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