Absence Request and Vacation Schedule Management
hi, i would like to know if there is a way of limiting the number of days an employee can take for leave annually using Absence Request and Vacation Schedule Management template. Regards
February 22nd, 2011 9:27am

There is, but you will need to write an Event Receiver. Triggering off the ItemAdded event, the Event Receiver would do the checking to ensure the employee isn't over the limit and allow the update through if they're not over the limit. If limits are exceeded, the Event Receiver would cancel the update and return an error message to the user stating that they're over the limit. To get started with Event Receivers, start here: http://blog.sharedove.com/adisjugo/index.php/2009/03/12/develop-and-deploy-a-sharepoint-event-receiver-from-the-scratch/ I trust that answers your question... Thanks C http://www.cjvandyk.com/blog
Free Windows Admin Tool Kit Click here and download it now
February 23rd, 2011 11:28am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics