addSubcodeToGroup

Adds a subcode (pay type) to a group.

Use addSubcodeToGroup to add a subcode (pay type) to a group, given the IDs of both the subcode and the group. (You can use the getGroup and getSubcode methods to search for the group and subcode records if you don't know their IDs.)

Arguments

Name Type Description
skey string

id string

The ID of the subcode to add to the group.

group string

The ID of the group to add the subcode to.

Return

The addSubcodeToGroup method returns zero (an integer).