Adds a new expense record.
Use addFullExpenseRecord to add a fully filled-in ExpenseRecord to the Timesheet database. To avoid exceptions when adding the record, you should modify an object created by getDefaultExpenseRecord rather than starting with a blank object.
| Name | Type | Description |
|---|---|---|
| skey | string | |
| rec | ExpenseRecord |
The expense record to add. |
The addFullExpenseRecord method returns the ID of the newly added expense record (a string).
© Copyright 1997-2007 Journyx