Could you check if the timesheets erorring out are locked on the prlock table?
1. Run the following query:
--Oracle
select * from prlock
where (prtablename = 'PRTIMESHEET'
and prname = '~prTimeEntry') or (prtablename = 'SRM_RESOURCES' and prname = '~prTimesheetCreate')
and prlockedsince < sysdate - 0.042
--MSSQL
select * from prlock
where (prtablename = 'PRTIMESHEET'
and prname = '~prTimeEntry') or (prtablename = 'SRM_RESOURCES' and prname = '~prTimesheetCreate')
and prlockedsince < getdate() - 0.042
2. If the query returns any results, run this query:
--ORACLE
delete from prlock
where (prtablename = 'PRTIMESHEET'
and prname = '~prTimeEntry') or (prtablename = 'SRM_RESOURCES' and prname = '~prTimesheetCreate')
and prlockedsince < sysdate - 0.042;
commit;
--MSSQL
delete from prlock
where (prtablename = 'PRTIMESHEET'
and prname = '~prTimeEntry') or (prtablename = 'SRM_RESOURCES' and prname = '~prTimesheetCreate')
and prlockedsince < getdate() - 0.042
Regards
Joxi
Original Message:
Sent: 10-06-2020 05:11 AM
From: Karthik Aitha
Subject: timeadmin.TIMESHEET_LOCK_ERROR
Dear All,
I'll need your help for the below issue.
In my application (Clarity PPM - 15.7.1), Users are not able to adjust the timesheets that are already posted and receive below error. There are no duplicate timesheets, time periods are opened, project task has time entry enabled and so is resource.
timeadmin.TIMESHEET_LOCK_ERROR
Could you please help?
Thanks