The TimesheetApprovalStatus object is used for timesheet approval/rejection status. The resource can submit their timesheet for an approval by setting the approvalStatus to TimesheetStatus.Submitted. Later the manager can either approve the timesheet by setting the approvalStatus to TimesheetStatus.Approved, or reject the timesheet by setting the approvalStatus to TimesheetStatus.Rejected.
Before creating a TimesheetApprovalStatus object, there must exist a SummaryTimesheet for the same resource, project, and weekOf. TimesheetApprovalStatus object will be deleted when its corresponding SummaryTimesheet object is deleted.
N/A
The following table lists the fields for this object.
Field | Detail |
---|---|
approvalDate | Type: calendar Default value: null Description: The date of the last action (submission, approval, or rejection). This field is read-only. Field validation description: N/A Additional field security restrictions: N/A |
approvalNotes | Type: string Default value: N/A Description: A note to accompany the last action. Field validation description: Limit 1024 characters. Additional field security restrictions: N/A |
approvalStatus | Type: TimesheetStatus Default value: N/A Description: The status of the timesheet approval request. Possible values are Submitted, Approved, Rejected, ApprovedByProjectManager, RejectedByProjectManager, ApprovedByResourceManager, or RejectedByResourceManager. Field validation description: N/A Additional field security restrictions: N/A |
lastApprovedRejectedBy | Type: Resource Default value: N/A Description: The last resource who took an action (submitted, approved, or rejected). This field is read-only. Field validation description: N/A Additional field security restrictions: N/A |
project | Type: GenericProject Default value: N/A Description: The project of the timesheet. Field validation description: Cannot be null. Additional field security restrictions: N/A |
resource | Type: Resource Default value: N/A Description: The resource of the timesheet. Field validation description: Cannot be null. Additional field security restrictions: N/A |
weekOf | Type: calendar Default value: N/A Description: The week of the timesheet. Field validation description: Cannot be null. Additional field security restrictions: N/A |