Commit f093419d authored by cpatil's avatar cpatil

and tran_type <> 'D' "; // added by cpatil for at the time debit note...

and tran_type <> 'D' ";   // added by cpatil for at the time debit note creation it should not be run.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98301 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 95792f16
......@@ -121,7 +121,8 @@ public class POrderMilestone extends ValidatorEJB {
/**selecting pending tasks from header table **inserting records after rescheduling due dates in detail table***/
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'";
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);
pstmt.setString(1,tranId);
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