Adds a new subcode (pay type).
Use the addFullSubcode method to add a subcode (pay type) record from a filled-in SubcodeRecord object. To avoid exceptions when you use this method to create a new record, you should start with an object created by getDefaultSubcode rather than filling in a blank one. For the common case of adding a named subcode with defaults for the rest of the values in the record, you should use addSubcode instead.
| Name | Type | Description |
|---|---|---|
| skey | string | |
| rec | SubcodeRecord |
The subcode record to add. |
The addFullSubcode method returns the ID of the newly added subcode (a string).
© Copyright 1997-2007 Journyx