cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict user from editing/ modifying old records in Compensation Portlet

karthik1gobburu
Explorer
0 Kudos

picture1.pngHello Everyone-

I have a requirement where managers should not edit/ delete old records within Recurring Pay Components section in Compensation Info portlet.

For example as per the screenshot there is already a record Monthly Salary (MON) for 35,000.. However when manager goes to Take action>> Change compensation information or

clicks on the pencil icon to edit Compensation Information he/she should be able to add a new record but shouldnt edit/remove

this 35000 record. The old record should get freezed . As this is causing lot of problem.

Please advice me as how can we restrict users from editing old records. Tried all possible ways but its not working.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

nlgro023
Active Contributor
0 Kudos

You could look into setting up a business rule that checks if:
The previous value is not the same as the current (for that pay component)
If the effective date is before the date of today
If the login user is the same as the supervisor (manager)
(optionally put in other criteria)

Then as the then statement, you could say that it should throw in an error.

Answers (1)

Answers (1)

garladinne
Participant
0 Kudos

One option you can evaluate/consider is by maintaining Earliest Change date (enable in configure object definition if not done) in Pay group object (Manage data). System will stop from making changes before that date in some of the time effective portlets

karthik1gobburu
Explorer
0 Kudos

Any other possibilies , I tries this but its not working, Can we restrict changes using business rules?