Commit cff53661 authored by cpatil's avatar cpatil

modify for order type S


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93103 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f98c336f
...@@ -1955,7 +1955,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D ...@@ -1955,7 +1955,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D
+"AND INV_PACK_RCP.LOT_NO = STOCK.LOT_NO " +"AND INV_PACK_RCP.LOT_NO = STOCK.LOT_NO "
+"AND INV_PACK_RCP.LOT_SL = STOCK.LOT_SL " +"AND INV_PACK_RCP.LOT_SL = STOCK.LOT_SL "
+"AND INV_PACK.ORDER_NO IN(" +orderNo+") " +"AND INV_PACK.ORDER_NO IN(" +orderNo+") "
+"AND INV_PACK.ORDER_TYPE = 'I' " +"AND INV_PACK.ORDER_TYPE in ('S','I') "
+"AND INV_PACK.CONFIRMED = 'Y' " +"AND INV_PACK.CONFIRMED = 'Y' "
+"AND STOCK.QUANTITY >= INV_PACK_RCP.QUANTITY " +"AND STOCK.QUANTITY >= INV_PACK_RCP.QUANTITY "
+"ORDER BY INV_PACK.TRAN_DATE ,INV_PACK.TRAN_ID,INV_PACK_RCP.LINE_NO ASC "; +"ORDER BY INV_PACK.TRAN_DATE ,INV_PACK.TRAN_ID,INV_PACK_RCP.LINE_NO ASC ";
......
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