HRS_JO_PEND_APP

(SQL View)
Index Back

Job Opening Pending Approvals

Job Opening Pending Approvals

SELECT X.HRS_JOB_OPENING_ID , U.OPRID , S.EFFDT , S.PTAFPRCS_ID , S.PTAFPATH_ID , S.PTAFSTAGE_NBR ,S.PTAFSTEP_NBR ,S.PTAFTHREAD_ID , U.PTAFSTEP_STATUS , X.PTAFPARENT_THREAD , X.ORIGINATORID , R.POSTING_TITLE , R.ORIGINATOR_ID , R.OPEN_DT , R.BUSINESS_UNIT , U.PTAFDTTM_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.PTAFTHREAD_ID = S.PTAFTHREAD_ID AND X.PTAFPRCS_ID = S.PTAFPRCS_ID AND S.PTAFSTEP_INSTANCE = U.PTAFSTEP_INSTANCE AND R.HRS_JOB_OPENING_ID = X.HRS_JOB_OPENING_ID AND ZZ.OPRID = X.PTAFREQUESTOR_ID AND ZZ.EMPLID = Z.EMPLID AND X.PTAFPARENT_THREAD = ( SELECT MAX(Y.PTAFPARENT_THREAD) FROM PS_HRS_OPNAPR_XREF Y WHERE X.HRS_JOB_OPENING_ID = Y.HRS_JOB_OPENING_ID AND Y.PTAFTHREAD_STATUS <> 'T' ) AND U.PTAFSTEP_STATUS ='P'

  • Related Language Record: HRS_JO_PEND_LNG
  • # 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 PTAFPRCS_ID Character(30) VARCHAR2(30) NOT NULL Approval Process ID
    5 PTAFPATH_ID Character(30) VARCHAR2(30) NOT NULL Approval Path ID
    6 PTAFSTAGE_NBR Number(3,0) SMALLINT NOT NULL Stage Number
    7 PTAFSTEP_NBR Number(6,2) DECIMAL(5,2) NOT NULL Sequence number of step in its path
    8 PTAFTHREAD_ID Number(10,0) DECIMAL(10) NOT NULL Thread ID
    9 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
    10 PTAFPARENT_THREAD Number(10,0) DECIMAL(10) 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 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
    18 ROWSECCLASS Character(30) VARCHAR2(30) NOT NULL The class used to determine row level security