Adds a time record.
Use the addFullTimeRecord method to add a time record from a filled-in TimeRecord object. To avoid exceptions when you use this method to create a new record, you should start with an object created by getDefaultTimeRecord rather than filling in a blank one. Alternately, you can use addTimeRecord to quickly add a time record with default codes and a one-hour duration.
| Name | Type | Description |
|---|---|---|
| skey | string | |
| rec | TimeRecord |
The time record to add. |
The addFullTimeRecord method returns the ID of the newly added time record (a string).
© Copyright 1997-2007 Journyx