Commit 932d55ed authored by mjadhav's avatar mjadhav

add tran_type ='P' for duplicate record


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98377 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 23943408
...@@ -555,7 +555,7 @@ public class GenPurcMilestoneSch extends ValidatorEJB implements Schedule { ...@@ -555,7 +555,7 @@ public class GenPurcMilestoneSch extends ValidatorEJB implements Schedule {
System.out.println("check duplicate activity in purcase milestone......"); System.out.println("check duplicate activity in purcase milestone......");
sql= "select count(*) as count from pur_milstn where purc_order=? " + sql= "select count(*) as count from pur_milstn where purc_order=? " +
" and task_code=? " + " and task_code=? " +
"and line_no__ord=?"; "and line_no__ord=? and tran_type='P' ";
pstmt3 = conn.prepareStatement(sql); pstmt3 = conn.prepareStatement(sql);
pstmt3.setString(1, purcOrder); pstmt3.setString(1, purcOrder);
pstmt3.setString(2, taskCode); pstmt3.setString(2, taskCode);
......
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