Commit d1b19174 authored by pgole's avatar pgole

Updated EJB for DISC_PERS changes in getDiscount() method.

Change in sql and set DISC_PERC.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103926 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 51768876
......@@ -298,7 +298,7 @@ public class DistDiscount extends ValidatorEJB implements DistDiscountLocal, Dis
if (!rs3.next() || (disc == 0))
{
// find in site_customer
sql = "SELECT DISC_PERS FROM SITE_CUSTOMER WHERE SITE_CODE = '"+siteCode+"' AND CUST_CODE='"+custCode+"'";
sql = "SELECT DISC_PERC FROM SITE_CUSTOMER WHERE SITE_CODE = '"+siteCode+"' AND CUST_CODE='"+custCode+"'";
rs4 = stmt.executeQuery(sql);
if (!rs4.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