HRS_JO_ALLAPV_I

(SQL View)
Index Back

Job Opening Pending Approvals

Job Opening Pending Approvals

SELECT X.HRS_JOB_OPENING_ID , U.OPRID , S.EFFDT , U.EOAWSTEP_STATUS , S.EOAWPRCS_ID , S.EOAWPATH_ID , S.EOAWSTAGE_NBR ,S.EOAWSTEP_NBR ,S.EOAWTHREAD_ID , X.EOAWPARENT_THREAD , X.ORIGINATORID , R.POSTING_TITLE , R.ORIGINATOR_ID , R.OPEN_DT , R.BUSINESS_UNIT , U.EOAWDTTM_MODIFIED , Z.NAME_DISPLAY , ZZ.ROWSECCLASS FROM PS_HRS_OPNAPR_XREF X , PS_HRS_STEPINST_I S , PS_HRS_USERINST_I U , PS_HRS_JO_I R , PS_HRS_PERSON_NM_I Z , PSOPRDEFN ZZ WHERE X.EOAWTHREAD_ID = S.EOAWTHREAD_ID AND X.EOAWPRCS_ID = S.EOAWPRCS_ID AND S.EOAWSTEP_INSTANCE = U.EOAWSTEP_INSTANCE AND R.HRS_JOB_OPENING_ID = X.HRS_JOB_OPENING_ID AND ZZ.OPRID = X.ORIGINATORID AND ZZ.EMPLID = Z.EMPLID AND X.EOAWPARENT_THREAD = ( SELECT MAX(Y.EOAWPARENT_THREAD) FROM PS_HRS_OPNAPR_XREF Y WHERE X.HRS_JOB_OPENING_ID = Y.HRS_JOB_OPENING_ID AND Y.EOAWTHREAD_STATUS <> 'T' )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 HRS_JOB_OPENING_ID Number(15,0) DECIMAL(15) NOT NULL Job Opening Clone
2 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
3 EFFDT Date(10) DATE NOT NULL Effective Date

Default Value: %date

4 EOAWSTEP_STATUS Character(1) VARCHAR2(1) NOT NULL Step Instance Status
A=Approved
B=Pushed back
C=Auto Approved
D=Denied
E=Administrator denied
F=Deleted
G=Bypassed
H=On Hold
I=No Action Taken
K=Skipped
L=Terminated
M=Administrator approved
N=Not Active
P=Pending
R=No longer in role
T=Terminated
U=Auto approved
X=Deleted
Z=Pending Denial
5 EOAWPRCS_ID Character(30) VARCHAR2(30) NOT NULL Approval Process ID
6 EOAWPATH_ID Character(30) VARCHAR2(30) NOT NULL Approval Path ID
7 EOAWSTAGE_NBR Number(3,0) SMALLINT NOT NULL Approval Framework Stage Number
8 EOAWSTEP_NBR Number(6,2) DECIMAL(5,2) NOT NULL Sequence number of step in its path
9 EOAWTHREAD_ID Number(15,0) DECIMAL(15) NOT NULL Approval Framework Thread ID
10 EOAWPARENT_THREAD Number(15,0) DECIMAL(15) NOT NULL Parent Thread ID
11 ORIGINATORID Character(30) VARCHAR2(30) NOT NULL Originator Identifier
12 POSTING_TITLE Character(200) VARCHAR2(200) NOT NULL Job posting title
13 ORIGINATOR_ID Character(11) VARCHAR2(11) NOT NULL Originator's ID
14 OPEN_DT Date(10) DATE Created
15 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
16 EOAWDTTM_MODIFIED DateTime(26) TIMESTAMP Datetime modified
17 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country
18 ROWSECCLASS Character(30) VARCHAR2(30) NOT NULL The class used to determine row level security