Difference between revisions of "EmployeeAssignment addToResource"

From Catglobe Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
'''EmployeeAssignment_addToResource'''  
 
'''EmployeeAssignment_addToResource'''  
  
   Assign the start date and time of users to a specific resource. 
+
   Assign the start date and time of users to a specific resource. This stat 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 of user resource id. <br> &nbsp; timeStart:&nbsp;is an date time array.<br> &nbsp;&nbsp;resourceID: is a number. It is the resource id of resource which you want to assign users to. <br>  
 
'''Syntax&nbsp;<br>'''&nbsp;&nbsp; EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID); <br><br>'''Arguments<br>'''&nbsp; userResourceID: is an array of user resource id. <br> &nbsp; timeStart:&nbsp;is an date time array.<br> &nbsp;&nbsp;resourceID: is a number. It is the resource id of resource which you want to assign users to. <br>  

Revision as of 05:38, 8 November 2011

EmployeeAssignment_addToResource

   Assign the start date and time of users to a specific resource. This stat 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 of user resource id.
  timeStart: is an date time array.
  resourceID: is a number. It is the resource id of resource which you want to assign users to.

Return type
   Empty.


Examples

array userResourceID={ 37267087, 37267186, 37268086};
array timeStart={2011,10,10,6,37,50,975,40,40};
number resourceID=37246024;

EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID);