Difference between revisions of "Task getAcceptanceDeadline"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "'''Task_getAcceptanceDeadline''' Return datetime which is get from Task. <br> '''Syntax <br>'''  Task_getAcceptanceDeadline(TaskResourceID); <br><br>'''Arg...")
 
Line 1: Line 1:
'''Task_getAcceptanceDeadline'''  
+
'''EmployeeAssignment_addToResource'''  
  
Return datetime which is get&nbsp;from Task.&nbsp;<br>
+
&nbsp;&nbsp;&nbsp;Add users to Resouces. Information&nbsp;will show up in "my cati" for that users.&nbsp;<br>  
  
'''Syntax&nbsp;<br>'''&nbsp; Task_getAcceptanceDeadline(TaskResourceID); <br><br>'''Arguments<br>'''&nbsp; TaskResourceID: is a number.&nbsp;<br> <br>'''Return type'''<br>&nbsp;&nbsp; UTC date time array.  
+
'''Syntax&nbsp;<br>'''&nbsp; EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID); <br><br>'''Arguments<br>'''&nbsp; userResourceID: is an array.
 +
 
 +
&nbsp; timeStart:&nbsp;is an array.
 +
 
 +
&nbsp;&nbsp;reSourceID: is a number.  
 +
 
 +
&nbsp;<br>'''Return type'''<br>&nbsp;&nbsp; Empty.  
  
 
<br>'''Examples'''  
 
<br>'''Examples'''  
  
Array taskAccept = Task_getAcceptanceDeadline(37245949); <br>print(taskAccept);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //{2011,9,2,9,48,0,0,35}<br><br>  
+
array userResourceID={ 37267087, 37267186, 37268086};<br>array timeStart={2011,10,10,6,37,50,975,40,40};<br>number resourceID=37246024;
 +
 
 +
EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID);<br>  
  
[[Category:Tasks]]
+
[[Category:User_Functions]]

Revision as of 07:42, 10 October 2011

EmployeeAssignment_addToResource

   Add users to Resouces. Information will show up in "my cati" for that users. 

Syntax 
  EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID);

Arguments
  userResourceID: is an array.

  timeStart: is an array.

  reSourceID: is a number.

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