addFullExpenseRecord

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.

Arguments

Name Type Description
skey string

rec ExpenseRecord

The expense record to add.

Return

The addFullExpenseRecord method returns the ID of the newly added expense record (a string).