EP_APPR_SEL_VW

(SQL View)
Index Back

Document Selection View

This view is used to display documents available for selection from the generic "Document Selection Page".

SELECT A.EP_APPRAISAL_ID , A.EMPLID , A.EMPL_RCD , A.PERIOD_BEGIN_DT , A.PERIOD_END_DT , A.EP_REVIEW_TYPE , A.EP_TEMPLATE_ID ,A.EP_TMPL_EFFDT , A.EP_REVIEW_STATUS , A.EP_APPROVAL_STATUS , A.EP_EE_REVIEW_FLG , A.EP_EMPL_ACK_IND , A.EP_EMPL_ACK_DT , A.RATING_MODEL , A.REVIEW_RATING , A.EP_PRE_REVW_RATING , A.EP_MANAGER_ID , B.FIRST_NAME_SRCH , B.LAST_NAME_SRCH , B.NAME_DISPLAY , C.FIRST_NAME_SRCH , C.LAST_NAME_SRCH , C.NAME_DISPLAY , D.EP_DOC_USAGE_IND FROM PS_EP_APPR A , PS_PERSON_NAME B , PS_NAMES C , PS_EP_REVW_TYP_TBL D WHERE A.EMPLID = B.EMPLID AND A.EP_MANAGER_ID = C.EMPLID AND C.NAME_TYPE = 'PRI' AND C.EFFDT = ( SELECT MAX(C1.EFFDT) FROM PS_NAMES C1 WHERE C1.EMPLID = C.EMPLID AND C1.NAME_TYPE = C.NAME_TYPE AND C1.EFFDT <= %CurrentDateIn ) AND A.EP_REVIEW_TYPE = D.EP_REVIEW_TYPE AND D.EFFDT = ( SELECT MAX(EFFDT) FROM PS_EP_REVW_TYP_TBL F WHERE F.EP_REVIEW_TYPE = D.EP_REVIEW_TYPE AND EFFDT <=%CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EP_APPRAISAL_ID Number(8,0) INTEGER NOT NULL Document ID
2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: PERSON

3 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
4 PERIOD_BEGIN_DT Date(10) DATE NOT NULL Period Begin Date
5 PERIOD_END_DT Date(10) DATE NOT NULL Period End Date
6 EP_REVIEW_TYPE Character(8) VARCHAR2(8) NOT NULL Review type

Prompt Table: EP_REVW_TYP_VW

7 EP_TEMPLATE_ID Character(8) VARCHAR2(8) NOT NULL Template unique identifier
8 EP_TMPL_EFFDT Date(10) DATE Review Template Effective Date
9 EP_REVIEW_STATUS Character(4) VARCHAR2(4) NOT NULL This field tracks the status of a review document through it's life cycle. This is separate from the approval status of the review, which is tracked separately.
AK=Acknowledged
AR=Available for Review
CA=Cancelled
CO=Completed
IP=In Progress
NS=Not Started
RH=Review Held
10 EP_APPROVAL_STATUS Character(4) VARCHAR2(4) NOT NULL This field tracks the current approval status of a review. This is separate from the review's lifecycle status, which is tracked separately.
APRV=Approved
DENY=Denied
ERRO=Approval Error
NREQ=Not Required
OPEN=Not Submitted
SUBM=Submitted
11 EP_EE_REVIEW_FLG Character(2) VARCHAR2(2) NOT NULL Field used to determine the process flow for a performance review.
01=Approval Before EE Review Held
02=Approval After EE Review Held
03=No Approval, EE Review Held
04=No Approval, No EE Review Held
05=Approval, No EE Review Held
12 EP_EMPL_ACK_IND Character(4) VARCHAR2(4) NOT NULL This field tracks whether an employee has acknowledged that a review has been held. Note that it does not indicate whether the employee agrees with the content of the review.
ACKN=Employee Acknowledged
NREQ=Not Required
OPEN=Open
OVRD=Manager Override
RFSD=Employee Refused
13 EP_EMPL_ACK_DT Date(10) DATE This field tracks the date that the employee acknowledged that a review has been held.
14 RATING_MODEL Character(4) VARCHAR2(4) NOT NULL Rating Model
15 REVIEW_RATING Character(1) VARCHAR2(1) NOT NULL Review Rating

Prompt Table: REVW_RATING_TBL

16 EP_PRE_REVW_RATING Character(1) VARCHAR2(1) NOT NULL Preliminary Review Rating Code (character).

Prompt Table: REVW_RATING_TBL

17 EP_MANAGER_ID Character(11) VARCHAR2(11) NOT NULL Manager/Mentor ID.
18 EP_EE_FIRST_NAME Character(30) VARCHAR2(30) NOT NULL Work field used to search for a evaluatee's first name..
19 EP_EE_LAST_NAME Character(30) VARCHAR2(30) NOT NULL Work field used to search for a evaluatee's last name..
20 EP_EVALUATEE_NAME Character(60) VARCHAR2(60) NOT NULL Used to display the evaluatee's name in ePerformance.
21 EP_MGR_FIRST_NAME Character(30) VARCHAR2(30) NOT NULL Work field used to search for a evaluatee's first name..
22 EP_MGR_LAST_NAME Character(30) VARCHAR2(30) NOT NULL Work field used to search for a manager's last name..
23 EP_MANAGER_NAME Character(60) VARCHAR2(60) NOT NULL Used to display the manager/mentor's name in ePerformance.
24 EP_DOC_USAGE_IND Character(1) VARCHAR2(1) NOT NULL Indicator used to determine what document types are available for performance assessments and which are available for development assessments.
D=Development
P=Performance