Commit 01ee8639 authored by msharma's avatar msharma

updateq qty in inv_alloc_det table


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96586 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d1f114fd
...@@ -606,7 +606,7 @@ public class WoIssPartialPrc extends ProcessEJB implements WoIssPartialPrcLocal, ...@@ -606,7 +606,7 @@ public class WoIssPartialPrc extends ProcessEJB implements WoIssPartialPrcLocal,
sql = " update inv_alloc_det set issue_qty = issue_qty + ? , dealloc_qty = dealloc_qty + ? where tran_id in (select tran_id from inv_allocate where work_order = ? ) "+ sql = " update inv_alloc_det set issue_qty = issue_qty + ? , dealloc_qty = dealloc_qty + ? where tran_id in (select tran_id from inv_allocate where work_order = ? ) "+
" and item_code = ? and lot_sl= ? and lot_no = ? and site_code= ? and loc_code = ? "; " and item_code = ? and lot_sl= ? and lot_no = ? and site_code= ? and loc_code = ? ";
pstmt1 = conn.prepareStatement(insertDetail); pstmt1 = conn.prepareStatement(sql);
pstmt1.setDouble(1,propReqQty); pstmt1.setDouble(1,propReqQty);
pstmt1.setDouble(2,propReqQty); pstmt1.setDouble(2,propReqQty);
pstmt1.setString(3,worder); pstmt1.setString(3,worder);
......
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