Commit 9c16aeaa authored by rbhogale's avatar rbhogale

Changed by Rohan on 07-05-13 for Deallocation articale active checking


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93021 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 50fb7f84
......@@ -3095,7 +3095,9 @@ public class DeallocArtConf extends ActionHandlerEJB implements DeallocArtConfLo
{
sql = " SELECT QUANTITY AS REL_QTY, (ROD.QUANTITY - CASE WHEN ROD.ACTUAL_QTY IS NULL THEN 0 ELSE ROD.ACTUAL_QTY END ) AS QUANTITY " +
" FROM REPL_ORD_DET ROD, REPL_ORD_HDR ROH WHERE ROD.REPL_ORDER = ? AND ROD.LINE_NO = ? " +
" AND ROH.REPL_ORDER = ROD.REPL_ORDER AND ROH.ORDER_TYPE = 'Q' ";
//Changed by Rohan on 27-04-13 for adding order type p and Q
//" AND ROH.REPL_ORDER = ROD.REPL_ORDER AND ROH.ORDER_TYPE = 'Q' ";
" AND ROH.REPL_ORDER = ROD.REPL_ORDER AND ROH.ORDER_TYPE IN ('P','Q') ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, replOrder);
pstmt.setInt(2, replLine);
......
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