addFullRecord

Adds a record to the Timesheet database. The passed record must be complete; default values will not be filled in automatically, but the record contents may be checked for validity. The only exceptions are the id and domain fields, which will be generated by the server when adding a new record.

A fault will occur in this method in several possible cases: if the table name is not a legal one (use getSearchableTables to get a complete list of legal table names), if the ID field is filled in and matches an already existing record, or if the record violates a database constraint.

Arguments

Name Type Description
skey string

table_name__s string

The name of the table to add the record to.

record__st Record

The record to add.

Return

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