Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

EmployeeAssignment addToResource: Difference between revisions

From Catglobe Wiki
Nguyentanphong (talk | contribs)
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{HelpFiles}}
= EmployeeAssignment_addToResource =  
= EmployeeAssignment_addToResource =  


Line 9: Line 10:


=== Arguments ===
=== Arguments ===
UserResourceID: is an array which contain user resource id.  
* UserResourceID: is an integer array which contain user resource id.  
<br>
* timeStart:&nbsp;is an date time array.
timeStart:&nbsp;is an date time array, UTC time.
* ResourceID: is a number. It is the resource id of resource which we want to assign to. It should be the resource id of CATI questionnaire, Project,Group.
<br>
ResourceID: is a number. It is the resource id of resource which we want to assign to.
<br>


=== Return type ===
=== Return type ===
Line 20: Line 18:
<br>
<br>


=== Examples ===  
=== 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>  


===Availability===
Version 5.8.1
__NOTOC__  
__NOTOC__  


[[Category:User_Functions]]
[[Category:User_Functions]]

Latest revision as of 09:20, 21 December 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 integer array which contain user resource id.
  • timeStart: is an date time array.
  • ResourceID: is a number. It is the resource id of resource which we want to assign to. It should be the resource id of CATI questionnaire, Project,Group.

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);


Availability

Version 5.8.1