Commit 55fc4229 authored by pchavan's avatar pchavan

update sql to display proper data.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@177147 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ba6627b5
...@@ -86,7 +86,7 @@ public class CustomerDetails extends ValidatorEJB ...@@ -86,7 +86,7 @@ public class CustomerDetails extends ValidatorEJB
" WHERE CUSTOMER.CONTACT_CODE = CONTACT.CONTACT_CODE " + " WHERE CUSTOMER.CONTACT_CODE = CONTACT.CONTACT_CODE " +
" AND CUSTOMER.CR_TERM = CRTERM.CR_TERM(+) " + " AND CUSTOMER.CR_TERM = CRTERM.CR_TERM(+) " +
" AND CUSTOMER.DLV_TERM = DELIVERY_TERM.DLV_TERM(+) " + " AND CUSTOMER.DLV_TERM = DELIVERY_TERM.DLV_TERM(+) " +
" AND SALES_PERS.SALES_PERS = CUSTOMER.SALES_PERS(+) " + " AND CUSTOMER.SALES_PERS = SALES_PERS.SALES_PERS (+) " +
" AND CUSTOMER.CUST_CODE = ?"; " AND CUSTOMER.CUST_CODE = ?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, checkNull(custCode)); pstmt.setString(1, checkNull(custCode));
......
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