Commit 5eff9e01 authored by kmandhre's avatar kmandhre

not consider cancel dist order in auto back flush


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95262 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c5ec63ad
...@@ -4138,7 +4138,8 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp ...@@ -4138,7 +4138,8 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
if (("Y").equalsIgnoreCase(channelPartner) && ("A").equalsIgnoreCase(disLink)) if (("Y").equalsIgnoreCase(channelPartner) && ("A").equalsIgnoreCase(disLink))
{ {
sql ="SELECT DIST_ORDER FROM DISTORDER WHERE PURC_ORDER IN (SELECT DISTINCT PURC_ORDER FROM PORCPDET WHERE TRAN_ID =?) AND CONFIRMED = 'Y'"; //change done by kunal on 12/june/14 not consider cancel dist order
sql ="SELECT DIST_ORDER FROM DISTORDER WHERE PURC_ORDER IN (SELECT DISTINCT PURC_ORDER FROM PORCPDET WHERE TRAN_ID =?) AND CONFIRMED = 'Y' and case when status is null then 'N' else status end <> 'X' ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranId); pstmt.setString(1, tranId);
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