Commit 7171eef8 authored by rbhogale's avatar rbhogale

Changed by Rohan on 20-02-13 for Repanishment cancle.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92723 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 103ef19b
...@@ -64,7 +64,9 @@ public class ReplIssPos extends ValidatorEJB implements ReplIssPosRemote, ReplIs ...@@ -64,7 +64,9 @@ public class ReplIssPos extends ValidatorEJB implements ReplIssPosRemote, ReplIs
//Changed by sumit on 09/10/12 for taking value of locCodeto //Changed by sumit on 09/10/12 for taking value of locCodeto
locCodeTwo = GenericUtility.getInstance().getColumnValueFromNode("loc_code__to", dom.getElementsByTagName("Detail3").item(0)); locCodeTwo = GenericUtility.getInstance().getColumnValueFromNode("loc_code__to", dom.getElementsByTagName("Detail3").item(0));
System.out.println(" loc_code__to ["+locCodeTwo+"]"); System.out.println(" loc_code__to ["+locCodeTwo+"]");
sql = "select count(*) from repl_ord_det where repl_order = ?"; //Changed by Rohan on 19-02-13 to count only uncancle wave
//sql = "select count(*) from repl_ord_det where repl_order = ?";
sql = "SELECT COUNT(*) FROM REPL_ORD_DET WHERE REPL_ORDER = ? AND CASE WHEN CANCEL_MODE IS NULL THEN 'N' ELSE CANCEL_MODE END <> 'Y' ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString( 1, replOrder); pstmt.setString( 1, replOrder);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
......
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