Commit 6ea937da authored by manohar's avatar manohar

outer join in oracle syntax removed


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91312 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 190347e3
......@@ -923,9 +923,9 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
invoiceId = genericUtility.getColumnValue("invoice_id",dom);
sql = " select c.cust_name, c.tran_code, c.curr_code, "
+" c.trans_mode, c.cust_code__bil, t.tran_name "
+" from customer c, transporter t "
+" where cust_code = ? "
+" and c.tran_code = t.tran_code(+) ";
+" from customer c left outer join transporter t on (c.tran_code = t.tran_code)"
+" where cust_code = ? ";
//+" and c.tran_code = t.tran_code(+) ";
pstmt= conn.prepareStatement( sql );
pstmt.setString( 1, custCode );
rs = pstmt.executeQuery();
......
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