Difference between revisions of "EmployeeAssignment addToResource"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
'''EmployeeAssignment_addToResource'''
+
= EmployeeAssignment_addToResource =
  
   Assign the start date and time of users to a specific resource. This start date and time is the date and time that users begin work with that resource.  
+
Assign the start date and time of users to a specific resource. This start date and time is the date and time that users begin work with that resource.  
  
'''Syntax&nbsp;<br>'''&nbsp;&nbsp; EmployeeAssignment_addToResource(UserResourceID, timeStart, ResourceID); <br><br>'''Arguments<br>'''&nbsp; UserResourceID: is an array&nbsp;which contain&nbsp;user resource id. <br> &nbsp; timeStart:&nbsp;is an date time array, UTC time.<br>&nbsp;&nbsp;ResourceID: is a number. It is the resource id of resource which we want to assign to.<br>
+
=== Syntax ===
  
'''Return type'''<br>&nbsp;&nbsp; Empty.
+
EmployeeAssignment_addToResource(UserResourceID, timeStart, ResourceID);
 +
<br>
  
<br>'''Examples'''
+
=== Arguments ===
 +
UserResourceID: is an array&nbsp;which contain&nbsp;user resource id.
 +
<br>
 +
timeStart:&nbsp;is an date time array, UTC time.
 +
<br>
 +
ResourceID: is a number. It is the resource id of resource which we want to assign to.
 +
<br>
 +
 
 +
=== Return type ===
 +
Empty.
 +
<br>
 +
 
 +
=== Examples ===
  
 
array UserResourceID={ 37267087, 37267186, 37268086};&nbsp; // 03 users<br>array timeStart={2011,10,10,6,37,50,975,40,40};&nbsp;<br>number ResourceID=37246024; // <br>
 
array UserResourceID={ 37267087, 37267186, 37268086};&nbsp; // 03 users<br>array timeStart={2011,10,10,6,37,50,975,40,40};&nbsp;<br>number ResourceID=37246024; // <br>
  
 
EmployeeAssignment_addToResource(UserResourceID, timeStart, ResourceID);<br>  
 
EmployeeAssignment_addToResource(UserResourceID, timeStart, ResourceID);<br>  
 +
 +
__NOTOC__
  
 
[[Category:User_Functions]]
 
[[Category:User_Functions]]

Revision as of 05:07, 10 November 2011

EmployeeAssignment_addToResource

Assign the start date and time of users to a specific resource. This start date and time is the date and time that users begin work with that resource.

Syntax

EmployeeAssignment_addToResource(UserResourceID, timeStart, ResourceID);

Arguments

UserResourceID: is an array which contain user resource id.
timeStart: is an date time array, UTC time.
ResourceID: is a number. It is the resource id of resource which we want to assign to.

Return type

Empty.

Examples

array UserResourceID={ 37267087, 37267186, 37268086};  // 03 users
array timeStart={2011,10,10,6,37,50,975,40,40}; 
number ResourceID=37246024; //

EmployeeAssignment_addToResource(UserResourceID, timeStart, ResourceID);