Commit c1183a57 authored by sghate's avatar sghate

Updated component EmpMaritalStatusCancel.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@216815 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7460da2f
...@@ -21,7 +21,7 @@ import ibase.utility.UserInfoBean; ...@@ -21,7 +21,7 @@ import ibase.utility.UserInfoBean;
import ibase.webitm.ejb.*; import ibase.webitm.ejb.*;
import ibase.system.config.*; import ibase.system.config.*;
//import javax.ejb.Stateless; import javax.ejb.Stateless;
import javax.naming.InitialContext; import javax.naming.InitialContext;
import ibase.webitm.ejb.ITMDBAccessEJB; import ibase.webitm.ejb.ITMDBAccessEJB;
...@@ -34,7 +34,7 @@ import ibase.webitm.utility.TransIDGenerator; ...@@ -34,7 +34,7 @@ import ibase.webitm.utility.TransIDGenerator;
//import ibase.webitm.utility.TransIDGenerator; //import ibase.webitm.utility.TransIDGenerator;
//modified by Shital on 12/08/2019 [Start] //modified by Shital on 12/08/2019 [Start]
//import javax.ejb.Stateless; // added for ejb3 //import javax.ejb.Stateless; // added for ejb3
//@Stateless @Stateless
//modified by Shital on 12/08/2019 [End] //modified by Shital on 12/08/2019 [End]
public class EmpMaritalStatusCancel extends ActionHandlerEJB implements EmpMaritalStatusCancelLocal,EmpMaritalStatusCancelRemote public class EmpMaritalStatusCancel extends ActionHandlerEJB implements EmpMaritalStatusCancelLocal,EmpMaritalStatusCancelRemote
{ {
...@@ -162,7 +162,7 @@ public class EmpMaritalStatusCancel extends ActionHandlerEJB implements EmpMarit ...@@ -162,7 +162,7 @@ public class EmpMaritalStatusCancel extends ActionHandlerEJB implements EmpMarit
String entryBatchNo = ""; String entryBatchNo = "";
String vouchType = ""; String vouchType = "";
String currCode = ""; String currCode = "";
String exchRate = ""; //String exchRate = ""; // Modified by Mony on 19-09-2019
String hold = ""; String hold = "";
String newVouchNo = ""; String newVouchNo = "";
String siteCodeAcct = ""; String siteCodeAcct = "";
...@@ -980,8 +980,8 @@ public class EmpMaritalStatusCancel extends ActionHandlerEJB implements EmpMarit ...@@ -980,8 +980,8 @@ public class EmpMaritalStatusCancel extends ActionHandlerEJB implements EmpMarit
pstmt1 = conn.prepareStatement(sql1); pstmt1 = conn.prepareStatement(sql1);
pstmt1.setString(1, newVouchNo); pstmt1.setString(1, newVouchNo);
pstmt1.setInt(2, lineNo); pstmt1.setInt(2, lineNo);
pstmt1.setString(3, acctCode); pstmt1.setString(3, acctCodeSal1);
pstmt1.setString(4, cctrCode); pstmt1.setString(4, cctrCodeSal1);
pstmt1.setDouble(5, amountDet*-1); pstmt1.setDouble(5, amountDet*-1);
pstmt1.setString(6, adCode); pstmt1.setString(6, adCode);
int payrVouchDetInsert = pstmt1.executeUpdate(); int payrVouchDetInsert = pstmt1.executeUpdate();
...@@ -1494,4 +1494,4 @@ public class EmpMaritalStatusCancel extends ActionHandlerEJB implements EmpMarit ...@@ -1494,4 +1494,4 @@ public class EmpMaritalStatusCancel extends ActionHandlerEJB implements EmpMarit
} }
} }
// Added by Sanket on 08/MAR/2018[Closing result set and prepared stmt][END] // Added by Sanket on 08/MAR/2018[Closing result set and prepared stmt][END]
} }
\ No newline at end of file
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