Difference between revisions of "Task getAcceptanceDeadline"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
'''EmployeeAssignment_addToResource'''  
+
'''Task_getAcceptanceDeadline '''  
  
   Add users to Resouces.   
+
   Get dealine of task.
  
'''Syntax&nbsp;<br>'''&nbsp; EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID); <br><br>'''Arguments<br>'''&nbsp; userResourceID: is an array.  
+
'''Syntax&nbsp;<br>'''&nbsp; Task_getApprovalDeadline(Taskresourceid); <br><br>'''Arguments<br>'''&nbsp; Taskresourceid: is a number.&nbsp;<br>&nbsp;<br>'''Return type'''<br>&nbsp;&nbsp; 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 userResourceID={ 37267087, 37267186, 37268086};<br>array timeStart={2011,10,10,6,37,50,975,40,40};<br>number resourceID=37246024;
+
Array taskApprovalDeadLine = Task_getApprovalDeadline(37245949); <br>print(taskApprovalDeadLine);&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,10,14,9,39,0,0,41}<br>  
 
 
EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID);<br>  
 
  
[[Category:User_Functions]]
+
[[Category:Tasks]]

Revision as of 08:06, 10 October 2011

Task_getAcceptanceDeadline

   Get dealine of task.

Syntax 
  Task_getApprovalDeadline(Taskresourceid);

Arguments
  Taskresourceid: is a number. 
 
Return type
   An array.


Examples

Array taskApprovalDeadLine = Task_getApprovalDeadline(37245949);
print(taskApprovalDeadLine);                          // {2011,10,14,9,39,0,0,41}