Commit c5a3c28c authored by cpatil's avatar cpatil

replace h.site_code__ship instead of d.site_code to get sitecodeship from...

replace h.site_code__ship instead of  d.site_code to get sitecodeship from header at the time of confirmation


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93286 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b9a4b4cb
...@@ -310,10 +310,11 @@ public class StockAllocPrc extends ActionHandlerEJB implements StockAllocPrcLoca ...@@ -310,10 +310,11 @@ public class StockAllocPrc extends ActionHandlerEJB implements StockAllocPrcLoca
getDataSql = "select d.line_no ,d.sale_order ,d.line_no__sord ,d.item_code , " getDataSql = "select d.line_no ,d.sale_order ,d.line_no__sord ,d.item_code , "
+" d.loc_code ,d.lot_no ,d.lot_sl ,d.quantity ,d.dealloc_qty,d.site_code, " +" d.loc_code ,d.lot_no ,d.lot_sl ,d.quantity ,d.dealloc_qty,h.site_code__ship , " // replace h.site_code__ship instead of d.site_code to get sitecodeship from header at the time of confirmation
//+" d.loc_code ,d.lot_no ,d.lot_sl ,d.quantity ,d.dealloc_qty, d.site_code , "
+" d.exp_lev,d.pending_qty " +" d.exp_lev,d.pending_qty "
+" from sord_alloc_det d " +" from sord_alloc_det d , sord_alloc h "
+" where d.tran_id = ? " +" where d.tran_id = ? and and h.tran_id = d.tran_id "
+" order by line_no asc "; +" order by line_no asc ";
pSordAllocDet = conn.prepareStatement(getDataSql); pSordAllocDet = conn.prepareStatement(getDataSql);
pSordAllocDet.setString(1,tranId); pSordAllocDet.setString(1,tranId);
......
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