TimeRecord

Represents the hours reported by a specific user, on a specific date, for a single combination of project, code, subcode, and subsubcode.

The 'Committed' field

The committed field is somewhat complex to understand and dangerous to modify. The field is stored in the database as an integer, and it is used by the application as a bit-flag field, but a few jxAPI functions represent it as a true or false value (Boolean.) In general, a 0 (zero) or false value means that the record has not be committed to the approvals process yet. Positive (non-zero) or true values generally mean that the record is somewhere in the approvals process, or possibly that the record has been exported to an external system, depending on your site configuration.

Journyx does not recommend adjusting the committed field of any records through the jxAPI at this time. Easier to use methods will be provided in a future release.

Name Type Description
id string

The ID of this time record.

user string

The ID of the user who reported this time.

date string

The date on which the reported activity occurred.

code string

The ID of the code to which this time is assigned.

subcode string

The ID of the subcode to which this time is assigned.

project string

The ID of the project to which this time is assigned.

hours float

The amount of reported hours.

comment string

A comment about this time entry.

committed boolean

True if the record is committed at any point of the approval process. You should not adjust this field directly; use the approval-related methods instead.

domain string

subsubcode string

The ID of the subsubcode to which this time is assigned.

group string