Difference between revisions of "Group new"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Group_Functions]]
 
[[Category:Group_Functions]]

+
{{HelpFiles}}
  
 
====Group_new====
 
====Group_new====

Revision as of 09:48, 12 December 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