Commit 933f5dac authored by ngadkari's avatar ngadkari

change in sql in free nature condition

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@201773 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0f493e52
......@@ -1988,10 +1988,10 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
if( ("F".equalsIgnoreCase(ls_nature) || "B".equalsIgnoreCase(ls_nature) || "S".equalsIgnoreCase(ls_nature) ) && lb_ord_flag == false )
{
sql = " select order_type, state_code__dlv, count_code__dlv,order_date,price_list " +
" from sorder where sale_order = :msaleord ";
" from sorder where sale_order = ? "; //? ADDED BY NANDKUMAR GADKARI ON 10/06/19
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, ls_cust_code);
pstmt.setString(2, ls_item_code);
pstmt.setString(1, msaleord);
/*pstmt.setString(2, ls_item_code);*/
rs = pstmt.executeQuery();
if (rs.next())
{
......
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