WC_JCR_ALLHR_VW

(SQL View)
Index Back

Review All JCR Inquiry

Review All Job Change Request inquiry search record. For HR Administrator.

SELECT A.EMPLID , A.EMPL_RCD , A.REG_REGION , A.ACTION , A.ACTION_REASON , A.EFFDT , A.WC_JCR_STATUS , A.WC_JCR_STATUS_DTTM , C.FIRST_NAME , C.LAST_NAME , D.WC_ROLEUSER_EMPLID , D.ROLENAME FROM PS_WC_JCR_STATUS A , PS_WC_JOB_CHG_REQ C , PS_WC_JCR_APPR D WHERE A.EMPLID = C.EMPLID AND A.EMPL_RCD = C.EMPL_RCD AND A.REG_REGION = C.REG_REGION AND A.ACTION = C.ACTION AND A.ACTION_REASON = C.ACTION_REASON AND A.EFFDT = C.EFFDT AND A.WC_JCR_STATUS_DTTM = ( SELECT MAX(A2.WC_JCR_STATUS_DTTM) FROM PS_WC_JCR_STATUS A2 WHERE A.EMPLID = A2.EMPLID AND A.EMPL_RCD = A2.EMPL_RCD AND A.REG_REGION = A2.REG_REGION AND A.ACTION = A2.ACTION AND A.ACTION_REASON = A2.ACTION_REASON AND A.EFFDT = A2.EFFDT) AND A.EMPLID = D.EMPLID AND A.EMPL_RCD = D.EMPL_RCD AND A.REG_REGION = D.REG_REGION AND A.ACTION = D.ACTION AND A.ACTION_REASON = D.ACTION_REASON AND A.EFFDT = D.EFFDT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
3 REG_REGION Character(5) VARCHAR2(5) NOT NULL Regulatory Region
4 ACTION Character(3) VARCHAR2(3) NOT NULL Action

Prompt Table: ACTION_TBL

5 ACTION_REASON Character(3) VARCHAR2(3) NOT NULL Reason Code
6 EFFDT Date(10) DATE Effective Date

Default Value: %date

7 WC_JCR_STATUS Character(1) VARCHAR2(1) NOT NULL Job Change Request status. Used by the functionnality Works Council Notification.
A=Requested by Manager
B=Requested by HR
C=Approved by Current Manager
D=Denied by Current Manager
E=Works Cncl Approval Requested
F=Denied by HR
G=Approved by Works Council
H=Denied by Works Council
I=Works Council Overridden by HR
J=Job Change Complete
K=Default Approval by Works Cncl
L=CI Failed
N=New
8 WC_JCR_STATUS_DTTM DateTime(26) TIMESTAMP Used by the functionnality Works Council Notification.
9 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
10 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
11 WC_ROLEUSER_EMPLID Character(11) VARCHAR2(11) NOT NULL Used by the functionnality Works Council Notification.
12 ROLENAME Character(30) VARCHAR2(30) NOT NULL The name of a Role in the Role Definition Table (see PSROLEDEFN).