addTimeRecord

Adds a time record with default groups and time interval.

Use addTimeRecord to quickly create a time record with default values, specifying only the comment. The new record contains 1 hour of reported time and uses the codes set as defaults for the user's current entry screen.

Arguments

Name Type Description
skey string

comment string

The comment for the new time record.

Return

The addTimeRecord method returns the ID of the newly added time record (a string).