Commit 8accdf03 authored by manohar's avatar manohar

bugfix in sql for packlist


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91233 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 02bde7f2
......@@ -1619,7 +1619,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D
//sqlOrderNoDo = "SELECT ORDER_NO FROM INV_PACK WHERE ORDER_NO IN (SELECT DIST_ORDER FROM DISTORDER "
// +"WHERE SALE_ORDER ='"+saleOrder+"' ) AND ORDER_TYPE ='D' AND CONFIRMED = 'Y'";
sqlOrderNoDo = "select order_no from inv_pack "
+ " where order_no in ( select dist_order from distorder where sale_order = ' " + saleOrder + "') "
+ " where order_no in ( select dist_order from distorder where sale_order = '" + saleOrder + "') "
+ " and order_type in ('D','I') "
+ " and confirmed = 'Y' ";
// end 27/02/10 manoharan
......
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