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

From Catglobe Wiki
Revision as of 11:03, 8 November 2011 by Tungocman (talk | contribs)

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