Restricting the hours entered in Timesheet

D

Deva

We have to restrict the users from entering more than 12 hrs per day. So we
need to read the hours from timesheet in the pre-event of timesheet save and
submit and then need to cancel those event if the user is entering more than
12 hours.

We are able to read the timesheet hours only from the post event of save and
submit.

How to read the hours in the pre event of save and submit and then cancel if
the hours are more than 12 hours?

Thanks in Advance
 
R

Rod Gill

I thought there is a maximum hours setting in Admin settings for PWA or is
my memory failing me again?

--

Rod Gill
Microsoft MVP for Project - http://www.project-systems.co.nz

Author of the only book on Project VBA, see: http://www.projectvbabook.com




Deva said:
We have to restrict the users from entering more than 12 hrs per day. So
we
need to read the hours from timesheet in the pre-event of timesheet save
and
submit and then need to cancel those event if the user is entering more
than
12 hours.

We are able to read the timesheet hours only from the post event of save
and
submit.

How to read the hours in the pre event of save and submit and then cancel
if
the hours are more than 12 hours?

Thanks in Advance

__________ Information from ESET Smart Security, version of virus
signature database 4856 (20100210) __________

The message was checked by ESET Smart Security.

http://www.eset.com

__________ Information from ESET Smart Security, version of virus signature database 4856 (20100210) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 
D

Deva

Rod Gill,

Thanks for your reply. You are true but our case is little different. We
want to restrict the maximum hours based on the country. i.e india it will
be 10 hrs.. USA 9 and canada 11 hrs.

please help us on this. thanks in Advance
 
R

Rod Gill

PSI development might be able to do what you want, otherwise you're out of
luck and need to make it a training and governance issue.



--

Rod Gill
Microsoft MVP for Project - http://www.project-systems.co.nz

Author of the only book on Project VBA, see: http://www.projectvbabook.com




Deva said:
Rod Gill,

Thanks for your reply. You are true but our case is little different. We
want to restrict the maximum hours based on the country. i.e india it
will
be 10 hrs.. USA 9 and canada 11 hrs.

please help us on this. thanks in Advance


__________ Information from ESET Smart Security, version of virus
signature database 4859 (20100211) __________

The message was checked by ESET Smart Security.

http://www.eset.com

__________ Information from ESET Smart Security, version of virus signature database 4859 (20100211) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top