Difference between revisions of "EmployeeAssignment addToResource"
Cg huyphong (talk | contribs) (→Arguments) |
Cg huyphong (talk | contribs) (→Arguments) |
||
Line 11: | Line 11: | ||
=== Arguments === | === Arguments === | ||
* UserResourceID: is an integer array which contain user resource id. | * UserResourceID: is an integer array which contain user resource id. | ||
− | |||
* timeStart: is an date time array. | * 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. | * 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 === | === Return type === |
Latest revision as of 10: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