Commit 27be85d9 authored by cpatil's avatar cpatil

and tran_id <> ? "; // added by cpatil on 23/07/15


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98347 ce508802-f39f-4f6c-b175-0d175dae99d5
parent fd52d7fb
......@@ -122,9 +122,12 @@ public class POrderMilestone extends ValidatorEJB {
sqlResch = "Insert into pur_milstn_resch (TRAN_ID,LINE_NO,DELAY_DAYS,TASK_CODE__DELAY,DUE_DATE_ORG,DUE_DATE_RESCH) values (?,?,?,?,?,?)";
sql = "select task_code,due_date,tran_id from pur_milstn where purc_order in(select purc_order from pur_milstn where tran_id = ?) and wf_status <> 'C' " +
" and tran_type <> 'D' "; // added by cpatil for at the time debit note creation it should not be run.
pstmt = conn.prepareStatement(sql);
" and tran_type <> 'D' " + // added by cpatil for at the time debit note creation it should not be run.
" and tran_id <> ? "; // added by cpatil on 23/07/15
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,tranId);
pstmt.setString(2,tranId);
rs = pstmt.executeQuery();
while ( rs.next() )
{
......
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