Difference between revisions of "Group new"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Group_Functions]]
 

 

  

Revision as of 08:27, 22 March 2011



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