GetAvailableIncrTypesForSupervsr

Get Available Increase Types for Supervisor

Minor Business Rule

Object Name: N0800171

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose

The NER gets the available increase types for a supervisor's organization.  The NER gets a max of 10 
increase types.


Setup Notes and Prerequisites

Required inputs are the superviosr number, compensation reveiw type, Model Name, Model Owner.

The outputs are max of 10 sets of increase type codes and increase descriptions.


Special Logic




Technical Specification

Select all non blank increase type records in F08818.  //F08818 are sorted by increase types first//

Fetchnext F08818, getting the increase type code


Initialize number of increase types obtained = 1


While file I/O is successful and the number of increase types obtained <=10

• Check if any one of the supervisor's reports has the increase type in F08831WF
• If one of the reports has the increase type, map the increase type and description to the 
appropriate output fields.

• Increment the number of increase types obtained by 1 
• Select records in F08818, where the increase type > the last retrieved increase type.  //This skips 
over the increase types already looked at//

• Fetch Next F08818 
EndWhile  



Data Structure

D0800171 - Get Available Increase Types for Supervisor

Parameter NameData ItemData TypeReq/OptI/O/Both
mnSupervisorANPAMATH_NUMERICREQINPUT

The address book number of the supervisor.

mnNumberOfIncreaseTypesMATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

szIncreaseType1TRScharOPTOUTPUT

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.

szIncreaseDescr1DL01charOPTOUTPUT

A user defined name or remark.

szIncreaseType2TRScharOPTOUTPUT

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.

szIncreaseDescr2DL01charOPTOUTPUT

A user defined name or remark.

szIncreaseType3TRScharOPTOUTPUT

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.

szIncreaseDescr3DL01charOPTOUTPUT

A user defined name or remark.

szIncreaseType4TRScharOPTOUTPUT

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.

szIncreaseDescr4DL01charOPTOUTPUT

A user defined name or remark.

szIncreaseType5TRScharOPTOUTPUT

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.

szIncreaseDescr6DL01charOPTOUTPUT

A user defined name or remark.

szIncreaseType6TRScharOPTOUTPUT

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.

szIncreaseDescr5DL01charOPTOUTPUT

A user defined name or remark.

szIncreaseType7TRScharOPTOUTPUT

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.

szIncreaseDescr7DL01charOPTOUTPUT

A user defined name or remark.

szIncreaseType8TRScharOPTOUTPUT

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.

szIncreaseDescr9DL01charOPTOUTPUT

A user defined name or remark.

szIncreaseType9TRScharOPTOUTPUT

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.

szIncreaseDescr8DL01charOPTOUTPUT

A user defined name or remark.

szIncreaseType10TRScharOPTOUTPUT

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.

szIncreaseDescr10DL01charOPTOUTPUT

A user defined name or remark.

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.

mnModelOwnerMOWNRMATH_NUMERICREQINPUT

The address book number of the person creating the model.

Related Functions

None

Related Tables

None