Commit ae5cb6ea authored by rtelang's avatar rtelang

EmployeeServicePrdAmdConf.java

EmployeeServicePrdAmdIC.java
-1. If already unconfirmed entry exist for entered employee code then system should show an error message.
2. If user level greater than 1 then system should check entry in user site master against employee pay site and login code.If the user has no rights to access the site then system should not allow the add transaction.
3. Entry should be display respective login site wise. Currently it is displaying for all sites.
4. For Protect retirement date variable, if we set as 'Y'  then retirement date new field should get disabled. If we set as 'N' then  retirement date new field should get enabled.
5..On Edit,System should Enable/Disable retirement date new on the basis of PROTECT_RETIRE_DATE variable value Y/N(Y for Disable and N for Enable).
A18LSUN006.sql
-Added system entry in obj_itmchange.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@202172 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 04d14d8d
...@@ -103,14 +103,20 @@ public class EmployeeServicePrdAmdConf extends ActionHandlerEJB implements Emplo ...@@ -103,14 +103,20 @@ public class EmployeeServicePrdAmdConf extends ActionHandlerEJB implements Emplo
rs.close(); rs.close();
rs = null; rs = null;
} }
if( confirmed != null && "Y".equalsIgnoreCase(confirmed) ) //Modified by Rohini T. on [14/06/2019][Start]
if("Y".equalsIgnoreCase(cancelled))
//if( confirmed != null && "Y".equalsIgnoreCase(confirmed) )
//Modified by Rohini T. on [14/06/2019][End]
{ {
errString = itmdbAccess.getErrorString("", "VTEMPSPA05", "", "", conn);//system should not allow to confirm the same. errString = itmdbAccess.getErrorString("", "VTEMPSPA07", "", "", conn);//This transaction has already been canceled.
return errString; return errString;
} }
else if("Y".equalsIgnoreCase(cancelled)) //Modified by Rohini T. on [14/06/2019][Start]
//else if("Y".equalsIgnoreCase(cancelled))
else if ( confirmed != null && "Y".equalsIgnoreCase(confirmed) )
//Modified by Rohini T. on [14/06/2019][End]
{ {
errString = itmdbAccess.getErrorString("", "VTEMPSPA07", "", "", conn);//selected transaction already been canceled. errString = itmdbAccess.getErrorString("", "VTEMPSPA05", "", "", conn);//This transaction which you are trying to access is already confirmed, you canot edit or confirm it again.
return errString; return errString;
} }
else else
......
...@@ -118,5 +118,12 @@ VALUES ('VTEMPSPA16','Invalid Period Amd','Period amended should not be in decim ...@@ -118,5 +118,12 @@ VALUES ('VTEMPSPA16','Invalid Period Amd','Period amended should not be in decim
--------Modified by Rohini T on [12/06/19][end]--------------------------------------------------- --------Modified by Rohini T on [12/06/19][end]---------------------------------------------------
--------Modified by Rohini T on [17/06/19][start]---------------------------------------------------
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('emp_serviceprd_amd','1 ','itm_defaultedit','Y');
commit;
--------Modified by Rohini T on [17/06/19][end]---------------------------------------------------
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