HRS_OFF_PND_APP

(SQL View)
Index Back

Offer Pending Approvals

Offer Pending Approvals

SELECT X.HRS_PERSON_ID , X.HRS_RCMNT_ID , X.HRS_OFF_ID , U.OPRID , S.EFFDT , R.HRS_JOB_OPENING_ID , U.PTAFSTEP_STATUS , S.PTAFPRCS_ID , S.PTAFPATH_ID , S.PTAFSTAGE_NBR ,S.PTAFSTEP_NBR ,S.PTAFTHREAD_ID , X.PTAFPARENT_THREAD , X.ORIGINATORID , R.ORIGINATOR_ID , U.PTAFDTTM_MODIFIED , Z.NAME_DISPLAY FROM PS_HRS_OFFAPR_XREF X , PS_HRS_STEPINST_I S , PS_HRS_USERINST_I U , PS_HRS_OFF_PEND_VW R , PS_HRS_PERSON_NM_I Z , PSOPRDEFN ZZ WHERE X.PTAFTHREAD_ID = S.PTAFTHREAD_ID AND X.PTAFPRCS_ID = S.PTAFPRCS_ID AND S.PTAFSTEP_INSTANCE = U.PTAFSTEP_INSTANCE AND R.HRS_PERSON_ID = X.HRS_PERSON_ID AND R.HRS_RCMNT_ID = X.HRS_RCMNT_ID AND R.HRS_OFF_ID = X.HRS_OFF_ID AND ZZ.OPRID = X.ORIGINATORID AND ZZ.EMPLID = Z.EMPLID AND X.PTAFPARENT_THREAD = ( SELECT MAX(Y.PTAFPARENT_THREAD) FROM PS_HRS_OFFAPR_XREF Y WHERE X.HRS_PERSON_ID = Y.HRS_PERSON_ID AND X.HRS_RCMNT_ID = Y.HRS_RCMNT_ID AND X.HRS_OFF_ID = Y.HRS_OFF_ID AND Y.PTAFTHREAD_STATUS <> 'T' ) AND U.PTAFSTEP_STATUS ='P'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 HRS_PERSON_ID Number(15,0) DECIMAL(15) NOT NULL Person Id
2 HRS_RCMNT_ID Number(15,0) DECIMAL(15) NOT NULL App Tracking Recruitment ID
3 HRS_OFF_ID Number(15,0) DECIMAL(15) NOT NULL Offer ID
4 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
5 EFFDT Date(10) DATE NOT NULL Effective Date

Default Value: %date

6 HRS_JOB_OPENING_ID Number(15,0) DECIMAL(15) NOT NULL Job Opening Clone
7 PTAFSTEP_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
K=Skipped
L=Terminated
M=Administrator approved
N=Not Active
P=Pending
R=No longer in role
S=Skipped
T=Terminated
U=Auto approved
X=Deleted
Y=Bypassed
8 PTAFPRCS_ID Character(30) VARCHAR2(30) NOT NULL Approval Process ID
9 PTAFPATH_ID Character(30) VARCHAR2(30) NOT NULL Approval Path ID
10 PTAFSTAGE_NBR Number(3,0) SMALLINT NOT NULL Stage Number
11 PTAFSTEP_NBR Number(6,2) DECIMAL(5,2) NOT NULL Sequence number of step in its path
12 PTAFTHREAD_ID Number(10,0) DECIMAL(10) NOT NULL Thread ID
13 PTAFPARENT_THREAD Number(10,0) DECIMAL(10) NOT NULL Parent Thread ID
14 ORIGINATORID Character(30) VARCHAR2(30) NOT NULL Originator Identifier
15 ORIGINATOR_ID Character(11) VARCHAR2(11) NOT NULL Originator's ID
16 PTAFDTTM_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