Functional Description
Purpose
The purpose of this function is to return the system settings for performance appraisals given a
particular company, home business unit, and appraisal type. The settings returned include the management
appraisal method, whether an employee self appraisal is required, and the self appraisal method if the
latter is true. The supervisor and employee rating scales are also returned if the appropriate
method is a traditional appraisal method.
information about the employee and appraisal is input to the function, and it will return the
appraisal settings to be used.
Setup Notes and Prerequisites
1.HMCONIHome Company
2.ORMCUNIOrganizational Business Unit
3.TINCNIType Review
4.EV01NIClimb Hierarchy Flag If this flag is 1 the program will not climb
the hierarchy. If the combination of CO, ORMCU, and TINC is not found in the original file, and this
flag is set to 1, an error flag will be returned. If this flag has any other value, the function
will use the hierarchy to find the appropriate settings.
5.PACMNOManagement Appraisal Method
6.SCLESNOSupervisor Rating Scale
7.ESARQNOEmployee Self Appraisal Required
8.PABMNOEmployee Self Appraisal Method
9.SCLEENOEmployee Rating Scale
10.ERRCNOError Code 0 - Function was successful 1 - Settings not found
after climbing hierarchy 2 - Settings not found at the level passed
11.EV01NIGet Setting Descriptions If this flag is 1 the program will get
the descriptions for the returned settings
12.DL01NOManagement Appraisal Method Description
13.DL01NOSupervisor Rating Scale Description
14.DL01NOEmployee Self Appraisal Required Description
15.DL01NOEmployee Self Appraisal Method Description
16.DL01NOEmployee Rating Scale Description
17.EV01NIGet system Defaults Only Flag If this flag is 0 the program will
look for any overrides in the system settings. If none are found, the default is used. If this flag
is 1 the program will skip directly to get the defaults and pass those settings back. This is the
default processing.
18.REQLSNOSupervisors required performance level
19.REQLENOEmployee self appraisal required performance level
20.DL01NOSupervisor required performance level description
21.DL01NOEmployee self appraisal required performance level description
Special Logic
Technical Specification
If the Type Review value passed in is not blank, then perform the following fetches in order. If at
any time a fetch is successful, return its results and stop processing.
If the climb Hierarchy flag is 1 and the first fetch was unsuccessful, then return error '2' and
stop processing, otherwise continue.
Fetch from F08773 where HMCO = '00000' and ORMCU = BF ORMCU and TINC = BF TINC.
Fetch from F08773 where HMCO = BF HMCO and ORMCU = *blank and TINC = BF TINC.
Fetch from F08773 where HMCO = '00000' and ORMCU = *blank and TINC = BF TINC.
If this was the first fetch, and it was not successful, and the climb hierarchy flag is 1, then
return error '2' and stop processing, otherwise continue.
If this was the first fetch, and it was not successful, and the climb hierarchy flag is 1, then
return error '2' and stop processing, otherwise continue.
If the settings were still not found, return error '1'
The Error Flag settings are as follows:
1 = Settings not found after climbing hierarchy
2 = Settings not found at the level passed
'00000'
D0800205 - Get Performance Appraisal Settings
1.HMCONIHome Company
2.ORMCUNIOrganizational Business Unit
3.TINCNIType Review
4.EV01NIClimb Hierarchy Flag If this flag is 1 the program will not climb the hierarchy. If the combination of
CO, ORMCU, and TINC is not found in the original file, and this flag is set to 1, an error flag will be returned. If this flag has any other value, the function
will use the hierarchy to find the appropriate settings.
5.PACMNOManagement Appraisal Method
6.SCLESNOSupervisor Rating Scale
7.ESARQNOEmployee Self Appraisal Required
8.PABMNOEmployee Self Appraisal Method
9.SCLEENOEmployee Rating Scale
10.ERRCNOError Code 0 - Function was successful 1 - Settings not found after climbing hierarchy 2 - Settings
not found at the level passed
11.EV01NIGet Setting Descriptions If this flag is 1 the program will get the descriptions for the returned
settings
12.DL01NOManagement Appraisal Method Description
13.DL01NOSupervisor Rating Scale Description
14.DL01NOEmployee Self Appraisal Required Description
15.DL01NOEmployee Self Appraisal Method Description
16.DL01NOEmployee Rating Scale Description
17.EV01NIGet system Defaults Only Flag If this flag is 0 the program will look for any overrides in the system
settings. If none are found, the default is used. If this flag is 1 the program will skip directly to get the defaults and pass those settings back. This is the
default processing.
18.REQLSNOSupervisors required performance level
19.REQLENOEmployee self appraisal required performance level
20.DL01NOSupervisor required performance level description
21.DL01NOEmployee self appraisal required performance level description
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szCompanyHome | HMCO | char | OPT | INPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
szOrganizationalBusinessUnit | ORMCU | char | OPT | INPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
cTypeIncreaseNextRevw | TINC | char | OPT | INPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
cClimbHierarchyTree | EV01 | char | OPT | INPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
cManagementAppraisalMethod | PACM | char | OPT | OUTPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
szSupervisorRatingScale | SCLES | char | OPT | OUTPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
cEmployeeSelfAppraisalRequired | ESARQ | char | OPT | OUTPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
cEmployeeSelfAppraisalMethod | PABM | char | OPT | OUTPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
szEmployeeRatingScale | SCLEE | char | OPT | OUTPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
cErrorCode | ERRC | char | OPT | OUTPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
cGetSettingDescriptions | EV01 | char | OPT | INPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
szMgmtAppraisalMethDescription | DL01 | char | OPT | OUTPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
szSupervisorScaleDescription | DL01 | char | OPT | OUTPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
szEeSelfApprReqDescription | DL01 | char | OPT | OUTPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
szEeSelfApprMethodDescription | DL01 | char | OPT | OUTPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
szEeRatingScaleDescription | DL01 | char | OPT | OUTPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
cGetSystemDefaultsOnlyFlag | EV01 | char | OPT | INPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
mnRequiredSelfAppraisalLev | REQLE | MATH_NUMERIC | OPT | OUTPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
mnRequiredPerformanceLevel | REQLS | MATH_NUMERIC | OPT | OUTPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
szReqSelfAppraisalDescription | DL01 | char | OPT | OUTPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
szReqPerfLevelDescription | DL01 | char | OPT | OUTPUT |
No.ab Data Itemab Requiredab I/Oab Descriptionab
| ||||
cManagerSignoffEmployeeBeh | MSEB | char | OPT | OUTPUT |
A code that indicates whether the manager can enter the employee's final performance appraisal signoff, or approve or contest on behalf
| ||||
szManagerSignEEBehalfDesc | DL01 | char | OPT | OUTPUT |
A user defined name or remark. |
None |
None |