Commit 4afc78a4 authored by msharma's avatar msharma

to delete only undo invoice


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@100313 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9aa1c8a3
...@@ -243,7 +243,7 @@ public class UndoRecievableAdjConf extends ActionHandlerEJB implements UndoRecie ...@@ -243,7 +243,7 @@ public class UndoRecievableAdjConf extends ActionHandlerEJB implements UndoRecie
sql1="delete from receivables_adj where ref_no= ? and ref_ser_adj= ?"; sql1="delete from receivables_adj where ref_no= ? and ref_ser_adj= ?";
pstmt1 = conn.prepareStatement(sql1); pstmt1 = conn.prepareStatement(sql1);
pstmt1.setString(1, refNo); pstmt1.setString(1, refNoHeader);//Changed by Manoj dtd 04/03/2016 to delete only undo refno
pstmt1.setString(2, tranType); pstmt1.setString(2, tranType);
pstmt1.executeUpdate(); pstmt1.executeUpdate();
System.out.println("Data deleted sucessfully"); System.out.println("Data deleted sucessfully");
......
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