Includes methods for managing timesheets in Microsoft Project Server 2010.
Namespace: [TimeSheet Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/TimeSheet.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/TimeSheet.asmx?wsdl
The timesheet service can import information from projects and server settings, and can optionally provide updates to the Statusing subsystem.
Before you can use the timesheet subsystem, you must create time periods. You can use the Project Web App Administration section (documented in Maintain Projects) or the UpdateReportingPeriods method. You can also define financial periods, but these are not required.
After the time periods are created, you can create timesheets. Timesheet behavior is affected by server settings and user configuration. The RES_TIMESHEET_MGR_UID property contains the unique identifier of the user who reviews timesheets that are submitted by that user. If the timesheet manager has the ApproveTimesheets permission, he or she can accept or reject timesheets that are submitted by that user. If the timesheet manager does not have the ApproveTimesheets category permission for that user, he or she is a timesheet reviewer.
When a timesheet manager accepts a timesheet, it is routed to the next timesheet manager for acceptance. If the value of the RES_TIMESHEET_MGR_UID property is the same as RES_UID, the user is an auto-approve timesheet user. When the user submits a timesheet, it is approved automatically.
If an enterprise resource has the RES_TIMESHEET_MGR_UID property set to nulla null value, the resource is an optional timesheet user. Timesheets are not required for optional timesheet users. Timesheets for optional timesheet users do not appear on late timesheet reports, and other related automatic features are not enabled.