Commit 4299e213 authored by cpatil's avatar cpatil

adding exp_lev in sql


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96762 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 32deadd6
...@@ -549,9 +549,11 @@ public class WoIssPartialPrc extends ProcessEJB implements WoIssPartialPrcLocal, ...@@ -549,9 +549,11 @@ public class WoIssPartialPrc extends ProcessEJB implements WoIssPartialPrcLocal,
sql2 = " SELECT LOC_CODE,LOT_NO,LOT_SL,ITEM_CODE,SITE_CODE, quantity , issue_qty " + sql2 = " SELECT LOC_CODE,LOT_NO,LOT_SL,ITEM_CODE,SITE_CODE, quantity , issue_qty " +
" FROM INV_ALLOC_DET " + " FROM INV_ALLOC_DET " +
" WHERE TRAN_ID IN (SELECT TRAN_ID FROM INV_ALLOCATE WHERE WORK_ORDER = ? ) " + " WHERE TRAN_ID IN (SELECT TRAN_ID FROM INV_ALLOCATE WHERE WORK_ORDER = ? ) " +
" and 'Y' <> case when deallocated is null then 'N' else deallocated end "; " and 'Y' <> case when deallocated is null then 'N' else deallocated end " +
" and exp_lev = ? ";
pstmt2 = conn.prepareStatement(sql2); pstmt2 = conn.prepareStatement(sql2);
pstmt2.setString(1,worder); pstmt2.setString(1,worder);
pstmt2.setString(2,expLev);
//pstmt2.setString(2,itemCode); //pstmt2.setString(2,itemCode);
rs2 = pstmt2.executeQuery(); rs2 = pstmt2.executeQuery();
while(rs2.next()) while(rs2.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