Functional Description
Purpose
This function determines whether a the status of a performance appraisal can be incremented in one
of the following ways:
Can the employee submit a self appraisal
Can the self appraisal be returned to the employee
Can a manager submit an appraisal
Can a manager return an appraisal
Can the employee be notified that the appraisal is complete
Can the employee give final approval to the appraisal and lock it from further changes
Can the employee contest the appraisal and lock it from further changes
The function can be called to just test for one of the above conditions or called to test all of the
above conditions. If the program is called to test for all of the above, errors are automatically
suppressed.
Setup Notes and Prerequisites
Special Logic
Technical Specification
Submit Self Appraisal is allowed if the following conditions are true:
The audience flag is 1 (employee)
The user logged on is the employee
The Gap Status is less than 3 (management approvals complete)
The self appraisal is required
The employee self appraisal has not been submitted already
Return Self Appraisal is allowed if the following conditions are true:
The audience is the 2 or 3 (manager or HR)
The responding supervisor is a manager (direct or indirect) of the employee or is the highest
authority approver
The Gap Status is less than 3 (management approvals complete)
The self appraisal was submitted
Submit Management approval is allowed if the following conditions are true:
The audience is the 2 or 3 (manager or HR)
The responding supervisor is a manager (direct or indirect) of the employee and is a required
approval level or is the highest authority approver
The Gap Status is less than 3 (management approvals complete) and not equal to 0 (appraisal not
started)
The last approval status is blank (no one has approved so far), or was approved by a lower-level
manager, or was returned by a higher level manager.
Return Management approval is allowed if the following conditions are true:
The audience is the 2 or 3 (manager or HR)
The responding supervisor is a manager (direct or indirect) of the employee and is a required
approval level or is the highest authority approver
The Gap Status is less than 3 (management approvals complete)and not equal to 0 (appraisal not
started)
The last approval status was approved by a lower-level manager, or was returned by a higher level
manager.
The responding supervisor is not the first level supervisor.
Notify Employee that the appraisal is complete is allowed if the following conditions are true:
The audience is the 2 or 3 (manager or HR)
The responding supervisor is a manager (direct or indirect) of the employee and is a required
approval level or is the highest authority approver
The Gap Status is equal to 3 (management approvals complete)
The employee can give final approval and lock the appraisal if the following conditions are true:
The audience flag is 1 (employee)
The user logged on is the employee
The Gap Status equal to 4 (appraisal open for employee review)
The employee can contest the appraisal and lock it if the following conditions are true:
The audience flag is 1 (employee)
The user logged on is the employee
The Gap Status equal to 4 (appraisal open for employee review)
D0800219 - Edit Submission/Return of Performance Appraisal
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnSupervisorInF087711 | ANPA | MATH_NUMERIC | REQ | INPUT |
Supervisor F087711 - The supervisor number in the appraisal being edited against
| ||||
mnAddressNumber | AN8 | MATH_NUMERIC | REQ | INPUT |
Address Number - The employee who's performance appraisal is being edited for
| ||||
szAudienceFlag | AUDN | char | REQ | INPUT |
Audience Flag - the role the current user is acting as.
| ||||
mnRespondingSupervisor | ANAB | MATH_NUMERIC | REQ | INPUT |
Responding Supervisor - If the Audience Flag is 1 (Employee) then this value
| ||||
nLevelOfLastApprover | LVEL | integer | OPT | INPUT |
Level of Last Approver - This value can be retrieved from the F087711 of this
| ||||
cLastApprovalStatus | APPST | char | OPT | INPUT |
Last Approval Status - From the F087711 record for this appraisal. This is the
| ||||
szGapStatus | GAPS | char | OPT | INPUT |
Gap Status - The status of the appraisal in the F087711
| ||||
szEmployeeSelfAppraisalSta | ESAS | char | OPT | INPUT |
Self Appraisal Status - The status of the employee's self appraisal in the
| ||||
nLevelInRelationToEmployee | LVEL | integer | OPT | BOTH |
Level In Relation To Employee - Returns the level of management the responding
| ||||
cSuppressErrorMessage | SUPPS | char | OPT | INPUT |
Suppress Error Message - Enter a 1 to suppress errors from being set on the data
| ||||
cCheckForCertainApproval | EV01 | char | REQ | INPUT |
Check for Certain Approval - This flag notifies the program if it needs to check
| ||||
cSubmitSelfAllowed | EV01 | char | OPT | OUTPUT |
Submit Self Allowed
| ||||
cReturnSelfAllowed | EV01 | char | OPT | OUTPUT |
Return Self Allowed
| ||||
cManagementApprovalAllowed | EV01 | char | OPT | OUTPUT |
Submit Management Approval Allowed
| ||||
cManagementReturnAllowed | EV01 | char | OPT | OUTPUT |
Management Return Allowed
| ||||
cNotifyEmployeeAllowed | EV01 | char | OPT | OUTPUT |
Notify Employee Allowed
| ||||
cFinalApprovalAllowed | EV01 | char | OPT | OUTPUT |
Final Approval Allowed
| ||||
cFinalContestingAllowed | EV01 | char | OPT | OUTPUT |
Final Contesting Allowed
| ||||
cEmployeeSelfAppraisalRequ | ESARQ | char | REQ | INPUT |
Employee Self Appraisal Required - a flag from the F087711 which denotes whether
| ||||
nLevelFrom | LVELF | integer | OPT | BOTH |
Level From - In the required approvals setup (F05844), this is the lowest level
| ||||
nLevelTo | LVELT | integer | OPT | BOTH |
Level To - In the required approvals setup (F05844), this is the highest level
| ||||
mnHighestAuthority | ANHA | MATH_NUMERIC | OPT | BOTH |
Highest - In the required approvals setup (F05844), this is the last approval
| ||||
mnCurrentUserAddressNumber | AN8 | MATH_NUMERIC | OPT | NONE |
Current User Address Number -
| ||||
szCompanyHome | HMCO | char | OPT | NONE |
Company Home -
| ||||
szCostCenterHome | HMCU | char | OPT | NONE |
Home Business Unit -
|
None |
None |