GetPerformanceRatingByIncrease

Get Performance Rating Distr. By Increase Types

Minor Business Rule

Object Name: N0800185

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

The purpose of  this business function is to get the employee counts and the total increase amounts by increase types for a low and high performance 
appraisal level. 


SetUp Notes

Technical Specifications


Parameters


Data ItemRequiredI/ODescription
MNAMEYIModel Name
RWTYPYIReview Type

ANPAYISupervisor Number

RVIEWYIReports View: 1=Direct reports, 2=Direct and Indirect Reports

EV01YIA code to count eligible employees whose increase amounts > 0, or to count eligible 

employees whose increase amounts >=0

SCLLYILow Scale Value for Performance Appraisal

SCHLYIHigh Scale Value for Performance Appraisal

TRSNIIncrease Type #1

ECITNOEmployee Count for Increase Type #1

MATH01NOTotal Amount for Increase Type #1

TRSNIIncrease Type #2

ECITNOEmployee Count for Increase Type #2

MATH01NOTotal Amount for Increase Type #2

TRSNIIncrease Type #3

ECITNOEmployee Count for Increase Type #3

MATH01NOTotal Amount for Increase Type #3

TRSNIIncrease Type #4

ECITNOEmployee Count for Increase Type #4

MATH01NOTotal Amount for Increase Type #4

TRSNIIncrease Type #5

ECITNOEmployee Count for Increase Type #5

MATH01NOTotal Amount for Increase Type #5

TRSNIIncrease Type #6

ECITNOEmployee Count for Increase Type #6

MATH01NOTotal Amount for Increase Type #6

TRSNIIncrease Type #7

ECITNOEmployee Count for Increase Type#7 MATH01NOTotal Amount for Increase 

Type #7

TRSNIIncrease Type #8

ECITNOEmployee Count for Increase Type #8

MATH01NOTotal Amount for Increase Type #8

TRSNIIncrease Type #9

ECITNOEmployee Count for Increase Type #9

MATH01NOTotal Amount for Increase Type #9

TRSNIIncrease Type #10

ECITNOEmployee Count for Increase Type #10

MATH01NOTotal Amount for Increase Type #10

MOWNRYIModel Owner





Related Tables 


Table Table Description

F08830WFCompensation Root Work Table

F08831WFCompensation Detail Work Table

F05840Employee/Supervisor Relationship Level



Processing 

• For each non blank and non null increase type

//Select records from the business view//
•  If report view = '1' //report view is direct reports//

• If counting eligible employees whose increase amounts > 0
• Select V08830WFJA, by Model Name, Review type, Supervisor Number, Increase Type, Modified 
eligibility = '1' , increase amount > 0, relationship level = 1 and model owner


• Else   //else counting increase amount >=0//
• Select V08830WFJA, by Model Name, Review type, Supervisor Number, Increase Type, Modified 
eligibility = '1' , increase amount >= 0, relationship level = 1, and model owner

• End

• Else  //else report view is all reports//
• If counting eligible employees whose increase amounts > 0
• Select V08830WFJA, by Model Name, Review Type, Supervisor Number, Increase Type, and Modified 
eligibility = '1' ,Increase Amount > 0, and model owner

• Else //else counting increase amount >=0//
• Select V08830WFJA, by Model Name, Review Type, Supervisor Number, Increase Type, and Modified 
eligibility = '1', Increase Amount >=0, and model owner

• End  //end of if counting eligible employee whose increase =0//

• End  //end of if report view = '1'//

• Fetch Next V08830WFJA
• Initialize the employee count for the increase type
• Initialize the total amount for the increase type

• While fetchnext is successful
• Employee count = Employee count +  1
• Total Amount = Total Amount + Increase Amount 
• Fetchnext V08830WFJA
• EndWhile 
 
Repeat the same logic with the next non blank and non null increase type


Data Structure

D0800185 - Get Performane Rating Distr. By Increase Types

Parameter NameData ItemData TypeReq/OptI/O/Both
szModelName9MNAMEcharREQINPUT

The model name. Valid values are:    MASTER is a model name to be used for the Final Submitted Compensation.    PUBLIC model is 
controlled by a UDC Table.  Must use entry from the UDC Table.    PRIVATE model could have any name the owner chooses.

cReviewTypeRWTYPcharREQINPUT

A code that indicates the last compensation review type.

mnSupervisorANPAMATH_NUMERICREQINPUT

The address book number of the supervisor.

cReportViewRVIEWcharREQINPUT

Flag to indicate Report View. UDC table (08/RV) is attached to this item.

cEligibleEmployeeCountEV01charREQINPUT

An option that specifies the type of processing for an event.

mnLowValueSCLLMATH_NUMERICREQINPUT

The lowest rating on the scale, level, or range.

mnHighValueSCLHMATH_NUMERICREQINPUT

The highest rating on the scale, level, or range.

szChangeReason1TRScharOPTINPUT

A code that indicates the reason for one of the following:   o  Changing an active employee's record   o  Terminating an employee   o  
Recommending a change in salary or rate This is a user defined code (06/T). If you are reactivating an employee, the code must be numeric. The 
code for new hires is the default reason code.

mnEmployeeCount1ECITMATH_NUMERICOPTOUTPUT

mnTotalAmount1MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

szChangeReason2TRScharOPTINPUT

A code that indicates the reason for one of the following:   o  Changing an active employee's record   o  Terminating an employee   o  
Recommending a change in salary or rate This is a user defined code (06/T). If you are reactivating an employee, the code must be numeric. The 
code for new hires is the default reason code.

mnEmployeeCount2ECITMATH_NUMERICOPTOUTPUT

mnTotalAmount2MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

szChangeReason3TRScharOPTINPUT

A code that indicates the reason for one of the following:   o  Changing an active employee's record   o  Terminating an employee   o  
Recommending a change in salary or rate This is a user defined code (06/T). If you are reactivating an employee, the code must be numeric. The 
code for new hires is the default reason code.

mnEmployeeCount3ECITMATH_NUMERICOPTOUTPUT

mnTotalAmount3MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

szChangeReason4TRScharOPTINPUT

A code that indicates the reason for one of the following:   o  Changing an active employee's record   o  Terminating an employee   o  
Recommending a change in salary or rate This is a user defined code (06/T). If you are reactivating an employee, the code must be numeric. The 
code for new hires is the default reason code.

mnEmployeeCount4ECITMATH_NUMERICOPTOUTPUT

mnTotalAmount4MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

szChangeReason5TRScharOPTINPUT

A code that indicates the reason for one of the following:   o  Changing an active employee's record   o  Terminating an employee   o  
Recommending a change in salary or rate This is a user defined code (06/T). If you are reactivating an employee, the code must be numeric. The 
code for new hires is the default reason code.

mnEmployeeCount5ECITMATH_NUMERICOPTOUTPUT

mnTotalAmount5MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

szChangeReason6TRScharOPTINPUT

A code that indicates the reason for one of the following:   o  Changing an active employee's record   o  Terminating an employee   o  
Recommending a change in salary or rate This is a user defined code (06/T). If you are reactivating an employee, the code must be numeric. The 
code for new hires is the default reason code.

mnEmployeeCount6ECITMATH_NUMERICOPTOUTPUT

mnTotalAmount6MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

szChangeReason7TRScharOPTINPUT

A code that indicates the reason for one of the following:   o  Changing an active employee's record   o  Terminating an employee   o  
Recommending a change in salary or rate This is a user defined code (06/T). If you are reactivating an employee, the code must be numeric. The 
code for new hires is the default reason code.

mnEmployeeCount7ECITMATH_NUMERICOPTOUTPUT

mnTotalAmount7MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

szChangeReason8TRScharOPTINPUT

A code that indicates the reason for one of the following:   o  Changing an active employee's record   o  Terminating an employee   o  
Recommending a change in salary or rate This is a user defined code (06/T). If you are reactivating an employee, the code must be numeric. The 
code for new hires is the default reason code.

mnEmployeeCount8ECITMATH_NUMERICOPTOUTPUT

mnTotalAmount8MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

szChangeReason9TRScharOPTINPUT

A code that indicates the reason for one of the following:   o  Changing an active employee's record   o  Terminating an employee   o  
Recommending a change in salary or rate This is a user defined code (06/T). If you are reactivating an employee, the code must be numeric. The 
code for new hires is the default reason code.

mnEmployeeCount9ECITMATH_NUMERICOPTOUTPUT

mnTotalAmount9MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

szChangeReason10TRScharOPTINPUT

A code that indicates the reason for one of the following:   o  Changing an active employee's record   o  Terminating an employee   o  
Recommending a change in salary or rate This is a user defined code (06/T). If you are reactivating an employee, the code must be numeric. The 
code for new hires is the default reason code.

mnEmployeeCount10ECITMATH_NUMERICOPTOUTPUT

mnTotalAmount10MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

mnModelOwnerMOWNRMATH_NUMERICOPTINPUT

The address book number of the person creating the model.

mnTotalAnnualSalary1MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

mnTotalAnnualSalary2MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

mnTotalAnnualSalary3MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

mnTotalAnnualSalary4MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

mnTotalAnnualSalary5MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

mnTotalAnnualSalary6MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

mnTotalAnnualSalary7MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

mnTotalAnnualSalary8MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

mnTotalAnnualSalary9MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

mnTotalAnnualSalary10MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

Related Functions

None

Related Tables

None