SyncCompReviewWorkTablesWith

Sync Compensation Review Work Tables with Employee Changes

Minor Business Rule

Object Name: N0800180

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description
Purpose
The purpose of  this business function is to synchronize the compensation review work tables with 
employee changes.  Eligibility for increase types is re-tested when needed.  The information in the 

compensation review work tables are kept current with the employee master information, and supervisors are 

able to make increase recommendation based on real time employee information.


This business function is automatically called by the Employee Master Trigger, if a system option 

indicates that Compensation Review Process is currently opened to the supervisors. 



Setup Notes and Prerequisites

Special Logic


Technical Specifications

If an employee's record is found with no supervisor in F08830WF do not update record, it is a bogus 
record to signify that the last level supervisor has submitted

their comp review.

 

Fetch employee data from F060116 and F060120 to see what information has changed


Employee is terminated, send e-mail to the first level manager

 

When an employee is terminated their F08830WF record(s) are updated with a Model

Type Code = 'T'

 

Change made other than termination, send e-mail to first level supervisor

 

Check for a change and set flag for each data item that has changed. The data Items are as follows:

ANPA - Supervisor
PAST - Employee Pay Status  

CO - Company

HMCU - Cost Center Home

JBCD - Job Category

JBST - Job Step

CPDT - Date in Current Position

UN - Union Code

POS - Position

SAL - Salary

SLOC - Locality

SALY - Pay Type HSP

PGRD - Pay Grade

PGST - Pay Grades Step 

DR - Date Last Raise

CMPA - Compa Ratio

CDIJ - Date Current 


Write existing records to cache for both f08830wf and f08831wf and delete records from both work 

files.

 

Call NER to re-write the employee's records to the work files for the current

model name. 

ProcessAllEmployeeIncreaseType

 

Writekey key data from cache to new record in F08830wf

If the salary has changed the new annual salary will be recalculated from the

increase amounts based on the current salary.  If there is no salary change

then the new salary comes from cache


Get records from F08831wf cache to update the records in the work file


Check to see if the increase amount if outside of the guidelines if so set flag INCRO in F08831WF = 1


Get the increase %, prorate amt, and prorate %, if the salary has been changed

and there is an increase amount in cache by calling

Process Increase Amount/ Percentage

 

Calculate the new annualized salary

Update F08831WF

Check to see if the new salary is outside of the guidelines if so set flag NSOR for F08830WF = 1


Calculate the New Hourly Rate, and New Compa Ratio

Update F08830WF


Delete the Cache


If no record exists in F08830WF for this employee, create one

Get New salary effective date from another employee
Get employee info from F060116 and F060120

Get supervisors name

call function ProcessAllEmployeeIncreaseType to write records to the work files

End If





Data Structure

D0800180A - Sync Compensation Review Work Tables with Employee Changes

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAddressNumberAN8MATH_NUMERICREQINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szProgramIdPIDcharOPTINPUT

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

Related Functions

None

Related Tables

None