You are on page 1of 9

Formula Functions :

 Appraisal Competency Line Scoring Functions

1 . To get “Step Value” Required level of each competence from


Competence profile of the employee
2. To get Manager Rating “Step Value” for each competence
regarding employee competencies :
3. To compare the two results of the above two scores and get
finally the score of each competence
Competence Fast Formula :
Name : XX_Competence_MGR_Rating Type: Appraisal Competency Line Scoring

/****************************************************************
*
* Formula Name : PROF_X_WEIGHTING
*
* Description : For a competency appraisal line, this formula
* multiplies Proficiency and Weighting.
*
* Formula Type : Appraisal Competency Line Scoring
*
* Inputs : 1) performance, number, default required
* 2) proficiency, number, default required
* 3) weighting, number, default required
* 4) line_object_id (competency_id), number, always set
* 5) appraisal_id, number, always set
* 6) appr_template_id, number, always set
* 7) appr_system_type (e.g.. SELF,EMP360,MGR360TRANS), text, always set
* 8) appr_type, text
* Note : For appraisal_id, appr_template_id, appr_system_type, appr_type
* a) This is an input, not a context
* b) No seeded DBIs use this
* Outputs : 1) line_score, number
*
* Contexts : Business Group, Assignment, Organization,
* Person, Date Earned
*
* Example DBIs : ptu_per_person_type, asg_grade, asg_job,
* asg_status, asg_type, asg_primary,
* asg_position, asg_hours, asg_salary
*
* Change History
* --------------
* Who Date Description
* -------- ----------- ----------------------------------------
* dcasemor 09-Jan-2006 Created for WPM drop 6.
***************************************************************/

/* Defaults for optional inputs and database items */


DEFAULT FOR performance IS 0
DEFAULT FOR proficiency IS 0
DEFAULT FOR weighting IS 0

/* Declare formula inputs */


INPUTS ARE performance(number)
,proficiency(number)
,weighting(number)
,line_object_id(number)
,appraisal_id(number)
,appr_template_id(number)
,appr_system_type(text)
,appr_type(text)

/* Main body of formula */


/*line_score = proficiency * weighting */

Mgr_Comp_Rating = 0
Comp_Req_Level = 0
Comp_Line_Score = 0

Comp_Req_Level = XX_MGR_SCR_RATING(line_object_id)
Mgr_Comp_Rating = XX_MGR_SCR_RATING1(appraisal_id,line_object_id)
Comp_Line_Score =ETS_CALC_COMPETENCE_MGR(Comp_Req_Level,Mgr_Comp_Rating)

line_score = Comp_Line_Score
/* Return the line score */
RETURN line_score
 Appraisal Objective Line Scoring Functions

1. Get Objective Line score for each objective .


Objectives Fast Formula :
Name : XX_Objective_FF Type : Appraisal Objective Line Scoring

/* Defaults for optional inputs and database items */


DEFAULT FOR performance IS 0
DEFAULT FOR weighting IS 0

/* Declare formula inputs */


INPUTS ARE performance(number)
,weighting(number)
,line_object_id(number)
,appraisal_id(number)
,appr_template_id(number)
,appr_system_type(text)
,appr_type(text)

/* Main body of formula */

/*performance=XX_OBJ_MGR_RATING(appraisal_id,line_object_id)*/

performance=XX_OBJ_MGR_RATING_NEW(appraisal_id,line_object_id)

line_score = performance

/* Return the line score */


RETURN line_score
 Appraisal Total Scoring Functions

1. Get Appraisal Total Score including Competencies Score&


Objectives Score
Fast Formula :
Name : Abd_SUM_OBJ_COMP Type : Appraisal Total Scoring

/* Defaults for optional inputs and database items */


DEFAULT FOR competency_score IS 0
DEFAULT FOR objective_score IS 0

/* Declare formula inputs */


INPUTS ARE competency_score(number)
,objective_score(number)
,appraisal_id(number)
,appr_template_id(number)
,appr_system_type(text)
,appr_type(text)

/* Main body of formula. */


final_rating = XX_ETS_ABD_SUM_OBJ_COMP(appraisal_id,competency_score,objective_score)

/* Return the final rating */


RETURN final_rating

You might also like