Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Interviewer getPerformaceListInTimeSpan: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
Cg_pham (talk | contribs)
No edit summary
Line 1: Line 1:
[[Category:General_Functions]]
{{HelpFiles}}  
{{HelpFiles}}
 
==== Interviewer_getPerformaceListInTimeSpan ====
 
Return Performance List
 
'''Syntax'''
 
Interviewer_getPerformanceListInTimeSpan(groupResourceId, startDate, endDate);
 
'''Arguments'''
 
*groupResourceId: is number. It is the group containing interviewers we want to get Performance info
*startDate, endDate: are arrays. We get performance list in this timespan
 
'''Return value'''
 
Array has 5 item:
 
 
 
{| width="1067" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic"
|- align="left" valign="top"
| width="356" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
'''Index'''
 
| width="356" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
'''Data type'''
 
| width="356" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
'''Value'''
 
|- align="left" valign="top"
| width="356" style="border:1px solid #010101;" |
INTERVIEWER_PERFORMANCE_USER_RESOURCE_ID
 
| width="356" style="border:1px solid #010101;" |
number
 
| width="356" style="border:1px solid #010101;" |
Resource Id of user who belongs to the specified group
 
|- align="left" valign="top"
| width="356" style="border:1px solid #010101;" |
INTERVIEWER_PERFORMANCE_AVERAGE_PERFORMANCE
 
| width="356" style="border:1px solid #010101;" |
number
 
| width="356" style="border:1px solid #010101;" |
Average total performance of this interviewer on all Pqs which he/she worked on (in specified time span)
 
|- align="left" valign="top"
| width="356" style="border:1px solid #010101;" |
INTERVIEWER_PERFORMANCE_TOTAL_HOURS_WORKED
 
| width="356" style="border:1px solid #010101;" |
number
 
| width="356" style="border:1px solid #010101;" |
Total hours worked of this interviewer on all Pqs which he/she worked on (in specified time span)
 
|- align="left" valign="top"
| width="356" style="border:1px solid #010101;" |
INTERVIEWER_PERFORMANCE_QUESTIONNAIRE
 
| width="356" style="border:1px solid #010101;" |
array
 
| width="356" style="border:1px solid #010101;" |
List of all Interviewer PQ performance object array which interviewer worked on (in specified time span)
 
|}
 
 
 
Item INTERVIEWER_PERFORMANCE_QUESTIONNAIRE is array has:
 
 
 
{| width="1067" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic"
|- align="left" valign="top"
| width="408" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
'''Index'''
 
| width="303" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
'''Data type'''
 
| width="356" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
'''Value'''
 
|- align="left" valign="top"
| width="408" style="border:1px solid #010101;" |
INTERVIEWER_PERFORMANCE_QUESTIONNAIRE_RESOURCE_ID
 
| width="303" style="border:1px solid #010101;" |
number
 
| width="356" style="border:1px solid #010101;" |
Resource Id of PQ which user worked on
 
|- align="left" valign="top"
| width="408" style="border:1px solid #010101;" |
INTERVIEWER_PERFORMANCE_QUESTIONNAIRE_PERFORMANCE
 
| width="303" style="border:1px solid #010101;" |
number
 
| width="356" style="border:1px solid #010101;" |
Performance of that interviewer on this PQ (in specified time span)
 
|- align="left" valign="top"
| width="408" style="border:1px solid #010101;" |
INTERVIEWER_PERFORMANCE_QUESTIONNAIRE_HOURS_WORKED


====Interviewer_getPerformaceListInTimeSpan====
| width="303" style="border:1px solid #010101;" |
number


Return Performance List
| width="356" style="border:1px solid #010101;" |
Hours worked of that interviewer on this PQ (in specified time span)


'''Syntax'''
|}


Interviewer_getPerformanceListInTimeSpan(groupResourceId, startDate, endDate);
'''Example'''


'''Arguments'''
number groupResourceId = 123456;


* groupResourceId: is number. It is the group containing interviewers we want to get Performance info
array sD = getCurrentDateTime();
* startDate, endDate: are arrays. We get performance list in this timespan


'''Return value'''
sD[DateTime_Day] = sD[DateTime_Day] - 1;


Array has 5 item:
array eD = getCurrentDateTime();  
[DateTime_Day] = sD[DateTime_Day] - 1;


array eD = getCurrentDateTime();
array a = Interviewer_getPerformanceListInTimeSpan(groupResourceId, sD, eD);  


array a = Interviewer_getPerformanceListInTimeSpan(groupResourceId, sD, eD);
print(a);  


print(a);
Availability


'''Availability'''
Version 5.8


Version 5.8
[[Category:General_Functions]]
__NOTOC__
<!-- imported from file: 7530.htm-->

Revision as of 07:08, 5 January 2012



Interviewer_getPerformaceListInTimeSpan

Return Performance List

Syntax

Interviewer_getPerformanceListInTimeSpan(groupResourceId, startDate, endDate);

Arguments

  • groupResourceId: is number. It is the group containing interviewers we want to get Performance info
  • startDate, endDate: are arrays. We get performance list in this timespan

Return value

Array has 5 item:


Index

Data type

Value

INTERVIEWER_PERFORMANCE_USER_RESOURCE_ID

number

Resource Id of user who belongs to the specified group

INTERVIEWER_PERFORMANCE_AVERAGE_PERFORMANCE

number

Average total performance of this interviewer on all Pqs which he/she worked on (in specified time span)

INTERVIEWER_PERFORMANCE_TOTAL_HOURS_WORKED

number

Total hours worked of this interviewer on all Pqs which he/she worked on (in specified time span)

INTERVIEWER_PERFORMANCE_QUESTIONNAIRE

array

List of all Interviewer PQ performance object array which interviewer worked on (in specified time span)


Item INTERVIEWER_PERFORMANCE_QUESTIONNAIRE is array has:


Index

Data type

Value

INTERVIEWER_PERFORMANCE_QUESTIONNAIRE_RESOURCE_ID

number

Resource Id of PQ which user worked on

INTERVIEWER_PERFORMANCE_QUESTIONNAIRE_PERFORMANCE

number

Performance of that interviewer on this PQ (in specified time span)

INTERVIEWER_PERFORMANCE_QUESTIONNAIRE_HOURS_WORKED

number

Hours worked of that interviewer on this PQ (in specified time span)

Example

number groupResourceId = 123456;

array sD = getCurrentDateTime();

sD[DateTime_Day] = sD[DateTime_Day] - 1;

array eD = getCurrentDateTime();

array a = Interviewer_getPerformanceListInTimeSpan(groupResourceId, sD, eD);

print(a);

Availability

Version 5.8