Group new
Group_new
Create a group object
Syntax
Group_new(name, groupTemplateResourceId, parentResourceId)
Arguments
- name: is a string expression. It is the name of the group, which must follow the standard format of resource name
- groupTemplateResourceId: is a number expression. It is the resource id of the group's resource template
- parentResourceId: is a number expression. It is the resource id of the group's parent
Return value
An array, it is the group object which contains the following information [GROUP_TIME_REGISTRATION] = true;
group[GROUP_CALCULATED_MAN_HOURS] = true;
Group_save(group);
Availability
Version 5.6