WebSvcTimeSheet namespace
The TimeSheet class is the primary class in the WebSvcTimeSheet namespace. The TimeSheet class includes methods that manage timesheets and timesheet lines.
Note
In the ASMX web service, TimeSheet is a class. In the WCF service, TimeSheet is an interface that is implemented in the TimeSheetClient class. For information about using the TimeSheetClient class in a WCF-based application, see the TimeSheet class constructor.
The WebSvcTimeSheet namespace is an arbitrary name for a reference to the Timesheet.asmx web service (or the TimeSheet.svc service) of the Project Server Interface (PSI). 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.
TimeSheet methods typically use or return one of the following DataSet objects:
Classes
Class | Description | |
---|---|---|
ProjectTimesheetLinesDataSet | Specifies a collection of timesheet line item data rows. | |
ProjectTimesheetLinesDataSet.ActualsDataTable | Represents information about actual time expended contained in one or more ProjectTimesheetLinesDataSet.ActualsRow objects. | |
ProjectTimesheetLinesDataSet.ActualsRow | Represents actual time expended information, as a row in the ProjectTimesheetLinesDataSet.ActualsDataTable object. | |
ProjectTimesheetLinesDataSet.ActualsRowChangeEvent | Event that occurs when data in an ActualsRow is changed. | |
ProjectTimesheetLinesDataSet.CustomFieldsDataTable | Represents information about timesheet custom fields that is contained in one or more ProjectTimesheetLinesDataSet.CustomFieldsRow objects. | |
ProjectTimesheetLinesDataSet.CustomFieldsRow | Represents timesheet custom fields information as a row in the ProjectTimesheetLinesDataSet.CustomFieldsDataTable object. | |
ProjectTimesheetLinesDataSet.CustomFieldsRowChangeEvent | Event that occurs when data in a CustomFieldsRow is changed. | |
ProjectTimesheetLinesDataSet.ProjectTimesheetLinesDataTable | Represents information about timesheet line data that is contained in one or more ProjectTimesheetLinesDataSet.ProjectTimesheetLinesRow objects. | |
ProjectTimesheetLinesDataSet.ProjectTimesheetLinesRow | Contains values for the most recently saved work on an assignment, and related project information, for one timesheet line. | |
ProjectTimesheetLinesDataSet.ProjectTimesheetLinesRowChangeEvent | Event that occurs when data in a ProjectTimesheetLinesRow is changed. | |
ResourceDataSet | Contains information about enterprise resources. For more information, see the items documented in WebSvcResource. | |
ResourceDataSet.CalendarExceptionsDataTable | Represents information about resource calendar conflicts that is contained in one or more ResourceDataSet.CalendarExceptionsRow objects. | |
ResourceDataSet.CalendarExceptionsRow | Represents a calendar exception for one resource. | |
ResourceDataSet.CalendarExceptionsRowChangeEvent | Event that occurs when data in a CalendarExceptionsRow is changed. | |
ResourceDataSet.ResourceAvailabilitiesDataTable | Represents information about resource availabilities that is contained in one or more ResourceDataSet.ResourceAvailabilitiesRow objects. | |
ResourceDataSet.ResourceAvailabilitiesRow | Represents the availability of the resource that is identified with the RES_UID property. | |
ResourceDataSet.ResourceAvailabilitiesRowChangeEvent | Event that occurs when data in a ResourceAvailabilitiesRow is changed. | |
ResourceDataSet.ResourceCustomFieldsDataTable | Represents information about resource custom fields that is contained in one or more ResourceDataSet.ResourceCustomFieldsRow objects. | |
ResourceDataSet.ResourceCustomFieldsRow | Represents a custom field value for a specific ResourceRow row. | |
ResourceDataSet.ResourceCustomFieldsRowChangeEvent | Event that occurs when data in a ResourceCustomFieldsRow is changed. | |
ResourceDataSet.ResourceRatesDataTable | Represents information about resource rates that is contained in one or more ResourceDataSet.ResourceRatesRow objects. | |
ResourceDataSet.ResourceRatesRow | Represents one set of cost rate data for a resource. | |
ResourceDataSet.ResourceRatesRowChangeEvent | Event that occurs when data in a ResourceRatesRow is changed. | |
ResourceDataSet.ResourcesDataTable | Represents information about project resources that is contained in one or more ResourceDataSet.ResourcesRow objects. | |
ResourceDataSet.ResourcesRow | Represents an enterprise resource. | |
ResourceDataSet.ResourcesRowChangeEvent | Event that occurs when data in a ResourcesRow is changed. | |
TimeSheet | Includes methods for managing timesheets in Project Web App. | |
TimesheetDataSet | Represents the dataset that is used when working with the TimeSheet object and other objects in the WebSvcTimeSheet namespace. | |
TimesheetDataSet.ActionsDataTable | Contains a record of the actions that are performed on this timesheet. | |
TimesheetDataSet.ActionsRow | Represents an action performed on the timesheet that is pointed to by the HeadersRow property. | |
TimesheetDataSet.ActionsRowChangeEvent | Event that occurs when data in a ActionsRow is changed. | |
TimesheetDataSet.ActualsDataTable | Contains the actual number of hours that the resource worked for the entries in the Lines property. | |
TimesheetDataSet.ActualsRow | Contains the actual number of hours that are recorded for the related TimesheetDataSet.LinesRow object. | |
TimesheetDataSet.ActualsRowChangeEvent | Event that occurs when data in a ActualsRow is changed. | |
TimesheetDataSet.AuditsDataTable | The Audits table contains a line for each TimesheetEnum.AuditOperationType that is applied to a timesheet. | |
TimesheetDataSet.AuditsRow | Records a TimesheetEnum.AuditOperationType type (Add or Delete) that is applied to a timesheet. | |
TimesheetDataSet.AuditsRowChangeEvent | Event that occurs when data in a AuditsRow is changed. | |
TimesheetDataSet.CustomFieldsDataTable | Contains custom field values for related timesheets. | |
TimesheetDataSet.CustomFieldsRow | Represents a custom field value that is entered for a timesheet row. | |
TimesheetDataSet.CustomFieldsRowChangeEvent | Event that occurs when data in a CustomFieldsRow is changed. | |
TimesheetDataSet.HeadersDataTable | Contains an entry for each timesheet in this dataset. | |
TimesheetDataSet.HeadersRow | Represents one timesheet. | |
TimesheetDataSet.HeadersRowChangeEvent | Event that occurs when data in a HeadersRow is changed. | |
TimesheetDataSet.LinesDataTable | Contains a row for each line of each timesheet in this dataset. | |
TimesheetDataSet.LinesRow | Represents a timesheet line item. | |
TimesheetDataSet.LinesRowChangeEvent | Event that occurs when data in a LinesRow is changed. | |
TimesheetDataSet.StatusingChangeLogDataTable | The Statusing data change log for the timesheet single entry mode. | |
TimesheetDataSet.StatusingChangeLogRow | Represents one record of the Statusing data change log for the timesheet single entry mode. | |
TimesheetDataSet.StatusingChangeLogRowChangeEvent | Event that occurs when data in a StatusingChangeLogRow is changed. | |
TimesheetListDataSet | Represents a list of timesheets. | |
TimesheetListDataSet.TimesheetsDataTable | Represents information about a timesheet list that is contained in one or more TimesheetListDataSet.TimesheetsRow objects. | |
TimesheetListDataSet.TimesheetsRow | Specifies one row of timesheet list data. | |
TimesheetListDataSet.TimesheetsRowChangeEvent | Event that occurs when data in a TimesheetsRow is changed. |
Delegates
Delegate | Description | |
---|---|---|
ProjectTimesheetLinesDataSet.ActualsRowChangeEventHandler | Describes event handler settings for when data associated with a ProjectTimesheetLinesDataSet.ActualsRow is edited and an event should be triggered. | |
ProjectTimesheetLinesDataSet.CustomFieldsRowChangeEventHandler | Describes event handler settings for when data associated with a ProjectTimesheetLinesDataSet.CustomFieldsRow is edited and an event should be triggered. | |
ProjectTimesheetLinesDataSet.ProjectTimesheetLinesRowChangeEventHandler | Describes event handler settings for when data associated with a ProjectTimesheetLinesDataSet.ProjectTimesheetLinesRow is edited and an event should be triggered. | |
ResourceDataSet.CalendarExceptionsRowChangeEventHandler | Describes event handler settings for when data associated with a ResourceDataSet.CalendarExceptionsRow is edited and an event should be triggered. | |
ResourceDataSet.ResourceAvailabilitiesRowChangeEventHandler | Describes event handler settings for when data associated with a ResourceDataSet.ResourceAvailabilitiesRow is edited and an event should be triggered. | |
ResourceDataSet.ResourceCustomFieldsRowChangeEventHandler | Describes event handler settings for when data associated with a ResourceDataSet.ResourceCustomFieldsRow is edited and an event should be triggered. | |
ResourceDataSet.ResourceRatesRowChangeEventHandler | Describes event handler settings for when data associated with a ResourceDataSet.ResourceRatesRow is edited and an event should be triggered. | |
ResourceDataSet.ResourcesRowChangeEventHandler | Describes event handler settings for when data associated with a ResourceDataSet.ResourcesRow is edited and an event should be triggered. | |
TimesheetDataSet.ActionsRowChangeEventHandler | Describes event handler settings for when data associated with a TimesheetDataSet.ActionsRow is edited and an event should be triggered. | |
TimesheetDataSet.ActualsRowChangeEventHandler | Describes event handler settings for when data associated with a TimesheetDataSet.ActualsRow is edited and an event should be triggered. | |
TimesheetDataSet.AuditsRowChangeEventHandler | Describes event handler settings for when data associated with a TimesheetDataSet.AuditsRow is edited and an event should be triggered. | |
TimesheetDataSet.CustomFieldsRowChangeEventHandler | Describes event handler settings for when data associated with a TimesheetDataSet.CustomFieldsRow is edited and an event should be triggered. | |
TimesheetDataSet.HeadersRowChangeEventHandler | Describes event handler settings for when data associated with a TimesheetDataSet.HeadersRow is edited and an event should be triggered. | |
TimesheetDataSet.LinesRowChangeEventHandler | Describes event handler settings for when data associated with a TimesheetDataSet.LinesRow is edited and an event should be triggered. | |
TimesheetDataSet.StatusingChangeLogRowChangeEventHandler | Describes event handler settings for when data associated with a TimesheetDataSet.StatusingChangeLogRow is edited and an event should be triggered. | |
TimesheetListDataSet.TimesheetsRowChangeEventHandler | Describes event handler settings for when data associated with a TimesheetListDataSet.TimesheetsRow is edited and an event should be triggered. |
Enumerations
Enumeration | Description | |
---|---|---|
Action | Specifies the action to take on a timesheet. | |
Navigation | Specifies how to navigate a list of timesheet lines. | |
PreloadType | Indicates which lines to preload into a timesheet. | |
ProjectTimesheetLineQueryType | Specifies the timesheet line query type. |