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.

Interviewer getPerformaceListInTimeSpan: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
Nguyenduyan (talk | contribs)
No edit summary
Line 1: Line 1:
[[Category:Archive]]
{{HelpFiles}}  
{{HelpFiles}}  


Line 138: Line 139:
Availability  
Availability  


Version 5.8  
Version 5.8
 
[[Category:General_Functions]]

Revision as of 03:38, 16 January 2018



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