Commit e96afaee authored by rtiwari's avatar rtiwari

INV HOLD REL GEN


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93129 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e68fcc75
......@@ -88,7 +88,7 @@ public class InvHoldRelGen extends ProcessEJB implements InvHoldRelGenLocal, Inv
ResultSet rs1 = null;
PreparedStatement pstmt = null;
StringBuffer retTabSepStrBuff = new StringBuffer();
int cnt=0,count=0,i=5;
int cnt=0,count=0,i=7;
String sql="";
String lockCodeFrom = "",lockCodeTo = "",tranIdFrom = "",tranIdTo="",refIdFrom="",refIdTo="",autoConfirmed="",schRelDateFromstr="",schRelDateTostr="";
Timestamp schRelDateFrom=null,schRelDateTo=null;
......@@ -309,7 +309,8 @@ public class InvHoldRelGen extends ProcessEJB implements InvHoldRelGenLocal, Inv
getDataSql= " select ihd.tran_id,ihd.line_no,ihd.line_no_sl," +
" case when ihd.hold_status is null then 'H' else ihd.hold_status end as hold_status ," +
" ihd.item_code,ihd.loc_code,ihd.site_code,ihd.status_date,ihd.reas_code,ihd.sch_rel_date," +
" ih.ref_id,ih.confirmed from inv_hold_det ihd,inv_hold ih where ( ihd.tran_id = ih.tran_id )" +
" ih.ref_id,ih.confirmed,ih.ref_no,ih.ref_ser,ih.ref_id" +
" from inv_hold_det ihd,inv_hold ih where ( ihd.tran_id = ih.tran_id )" +
" and ( ihd.tran_id >= ? and ihd.tran_id <= ? ) and ( ih.lock_code >= ? and ih.lock_code <= ? )" +
" and ( ihd.sch_rel_date between ? and ? ) and ihd.hold_status <> 'R' ";
//and ( ihd.lock_code between ? and ? )
......
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