ErrorCodes

Description

Package: com.ibm.rpm.timesheet.constants

Usage

Error codes are used by managers and validation checkpoints to return an error message to the caller. All fields in class ErrorCodes are static, final integers. The error message is retrieved from the properties file errorCode.properties according to the integer error code provided.

Timesheet errors are specific to the timesheet section of the API.

Timesheet error codes ranges: 406,001 - 407,000
  • 406,001 - 406,299: validation codes
  • 406,300 - 406,499: xpath codes
  • 406,500 +: manager codes

Supported API Calls

N/A

Security Restrictions

N/A

Fields

The following table lists the fields for this object.

Table 1. Timesheet Validation Error Codes
Code Description
406001 The timecode must be assigned to the project.
406002 The weight of activities in TaskAssignment cannot exceed 100%.
406003 Creation failed. The project must be published to the team.
406004 Creation failed. The proposed dates must be copied to planned dates.
406005 There is no SummaryTimesheet for the project, resource, and weekOf specified.
406006 There is no SummaryTimesheet for the TaskAssignment specified.
406007 There is no SummaryTimesheet for the activity and weekOf specified.
406008 Cannot check out a submitted/approved timesheet. It must be rejected by the manager first.

Inherited Fields

N/A

Related Objects

N/A