locked
How to create timesheets for everyone? RRS feed

  • Question

  • Hello all,

    I would like timesheets to automatically create for all users. If that's not possible, is there a way to manually create timesheets for everyone at once? I'm not looking to create surrogate timesheets. I would like to create timesheets for everyone. We want to do this so we can see who has or hasn't started filling out a timesheet.

    Thank you for any suggestions.

    Wednesday, June 8, 2011 10:02 PM

Answers

  • Hello a_ball.

    Since you don't want to use surrogate timesheets which is the OOB method, I would say that you might have to go to PSI to get the timesheet created. 

    You can use the Timesheetweb service of project server. The TimeSheet class is the primary class in the [TimeSheet Web service] namespace. The TimeSheet class includes methods that manage timesheets and timesheet lines. Methods in the TimeSheet class can create, delete, submit, update, read, recall, or find the status of timesheets. Methods in the TimeSheet class also can find timesheets that are late or that are pending approval, find timesheets by date or period, get a list of timesheet approvers, preload work actuals and validate a timesheet line, and get information about non-project (administrative) timesheet lines.

    http://msdn.microsoft.com/en-us/library/websvctimesheet_di_pj14mref.aspx

    There is a good article byJim Corbin for PSI Extension which might give you a start.

    http://blogs.msdn.com/b/project_programmability/archive/2010/07/06/writing-a-psi-extension-for-project-server-2010.aspx

    Hope that helps.


    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
    Thursday, June 9, 2011 6:04 AM

All replies

  • Hello a_ball.

    Since you don't want to use surrogate timesheets which is the OOB method, I would say that you might have to go to PSI to get the timesheet created. 

    You can use the Timesheetweb service of project server. The TimeSheet class is the primary class in the [TimeSheet Web service] namespace. The TimeSheet class includes methods that manage timesheets and timesheet lines. Methods in the TimeSheet class can create, delete, submit, update, read, recall, or find the status of timesheets. Methods in the TimeSheet class also can find timesheets that are late or that are pending approval, find timesheets by date or period, get a list of timesheet approvers, preload work actuals and validate a timesheet line, and get information about non-project (administrative) timesheet lines.

    http://msdn.microsoft.com/en-us/library/websvctimesheet_di_pj14mref.aspx

    There is a good article byJim Corbin for PSI Extension which might give you a start.

    http://blogs.msdn.com/b/project_programmability/archive/2010/07/06/writing-a-psi-extension-for-project-server-2010.aspx

    Hope that helps.


    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
    Thursday, June 9, 2011 6:04 AM
  • Thank you. This is very helpful.
    Thursday, June 9, 2011 7:54 PM
  • Hi Amit,

     What do i have to do in Server settings to ensure that for a PM when they hit the browse button, when using surrogate timesheet ,the resource names should display. Right now i have provided all rights but still the PM is not able to view the resources.

    Thanks

    MP

    Tuesday, November 20, 2012 5:23 AM