Commit d8f52fcc authored by ssalve's avatar ssalve

Sarita : Update changes on 05 APR 2019

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@199277 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 842cc234
......@@ -7034,7 +7034,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
lsItemser = checkNull(genericUtility.getColumnValue("item_ser", dom));
lsSiteCode = checkNull(genericUtility.getColumnValue("site_code", dom));
custCodeDlv = checkNull(genericUtility.getColumnValue("cust_code__dlv", dom));
lsOrdtypeSample = distCommon.getDisparams("999999", "SAMPLE_ORDER_TYPE", conn);
lsOrdtypeSample = distCommon.getDisparams("999999", "SAMPLE_ORDER_TYPE", conn);
//changes to get cust_code in
sql = "select cust_code__bil, cust_name, order_type from customer where cust_code =? ";
System.out.println("sql["+sql+"]");
......@@ -17908,10 +17908,13 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
ResultSet rs = null;
try
{
sql = "select customer.cust_code__dlv "
+ "from customer customer , sorder sform "
//Changed by sarita on 05 APR 2019 [START]
/*sql = "select customer.cust_code__dlv "
+ "from customer customer , sordform sform "
+ "where customer.cust_code = sform.cust_code "
+ "and sform.cust_code= ? ";
+ "and sform.cust_code= ? ";*/
sql = "select cust_code__dlv from customer where cust_code = ?";
//Changed by sarita on 05 APR 2019 [END]
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