addExpenseRecord

Adds a blank expense record.

Use addExpenseRecord to create a new, empty expense record. The comment of the new record is set to the specified value, the amount is set to 0.00, and the ID of the new record is returned. (You can use updateExpenseValue to set the amount once the record is created.)

Arguments

Name Type Description
skey string

comment string

The comment for the new expense record.

Return

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