addFullCode

Adds a new code (task) record.

Use the addFullCode method to add a code (task) record from a filled-in CodeRecord object. To avoid exceptions when you use this method to create a new record, you should start with an object created by getDefaultCode rather than filling in a blank one. For the common case of adding a named code with defaults for the rest of the values in the record, you should use addCode instead.

Arguments

Name Type Description
skey string

rec CodeRecord

The code record to add.

Return

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