Commit 8d8a9d45 authored by nkhan's avatar nkhan

*** empty log message ***


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104333 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ada37e64
...@@ -304,7 +304,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch ...@@ -304,7 +304,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
else else
{ {
despDate = Timestamp.valueOf(genericUtility.getValidDateString(despDateStr,genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat())+" 00:00:00.0"); despDate = Timestamp.valueOf(genericUtility.getValidDateString(despDateStr,genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat())+" 00:00:00.0");
errCode = this.nfCheckPeriod("SAL", despDate,siteCode); errCode = nfCheckPeriod("SAL", despDate,siteCode);
System.out.println("@@@@ despDate["+despDate+"]errCode["+errCode+"]"); System.out.println("@@@@ despDate["+despDate+"]errCode["+errCode+"]");
if (errCode != null && errCode.trim().length() > 0) if (errCode != null && errCode.trim().length() > 0)
{ {
...@@ -3293,7 +3293,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch ...@@ -3293,7 +3293,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
} }
*/ */
sql = " select order_date , cust_code , cust_code__dlv , tran_code, "+ sql = " select order_date, cust_code , cust_code__dlv , tran_code, "+
" stan_code , dlv_add1 , dlv_add2 , dlv_city , "+ " stan_code , dlv_add1 , dlv_add2 , dlv_city , "+
" dlv_pin , count_code__dlv, curr_code , exch_rate, "+ " dlv_pin , count_code__dlv, curr_code , exch_rate, "+
" stan_code__init, order_type , trans_mode , curr_code__frt,"+ " stan_code__init, order_type , trans_mode , curr_code__frt,"+
...@@ -3302,7 +3302,8 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch ...@@ -3302,7 +3302,8 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
" dlv_to , dist_route , licence_no_1 , licence_date_1,"+ " dlv_to , dist_route , licence_no_1 , licence_date_1,"+
" licence_no_2 , licence_date_2 , licence_no_3 ,licence_date_3, "+ " licence_no_2 , licence_date_2 , licence_no_3 ,licence_date_3, "+
" site_code__ship,STATE_CODE__DLV , available_yn "+ " site_code__ship,STATE_CODE__DLV , available_yn "+
" from sorder where sale_order = :mcode "+ //" from sorder where sale_order = :mcode "+
" from sorder where sale_order = ? "+ // change by Nasruddin
" and confirmed = 'Y' "; " and confirmed = 'Y' ";
pStmt = conn.prepareStatement(sql); pStmt = conn.prepareStatement(sql);
pStmt.setString(1, sordNo); pStmt.setString(1, sordNo);
......
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