HRS_JO_APPR_VW

(SQL View)
Index Back

Job Opening Approvals

Job Opening Pending Approvals

SELECT X.HRS_JOB_OPENING_ID , U.OPRID , S.EFFDT , S.EOAWPRCS_ID , S.EOAWDEFN_ID , S.EOAWPATH_ID , S.EOAWSTAGE_NBR , S.EOAWSTEP_NBR , S.EOAWTHREAD_ID , U.EOAWSTEP_STATUS , X.EOAWPARENT_THREAD , X.ORIGINATORID , R.HRS_PRM_PST_TITLE , R.HRS_JO_TYPE , R.ORIGINATOR_ID , R.OPEN_DT , R.BUSINESS_UNIT , COALESCE(( SELECT NM.NAME_DISPLAY FROM PS_NAMES NM WHERE NM.EMPLID = R.MANAGER_ID AND NM.NAME_TYPE = 'PRI' AND NM.EFFDT = ( SELECT MAX(NM2.EFFDT) FROM PS_NAMES NM2 WHERE NM2.EMPLID = NM.EMPLID AND NM2.NAME_TYPE = NM.NAME_TYPE AND NM2.EFFDT <= %CurrentDateIn )), ' ') , X.EOAWDTTM_MODIFIED , %DatePart(U.EOAWDTTM_MODIFIED) , U.EOAWDTTM_COMPLETE , U.EOAWORIG_OPRID , X.EOAWREQUESTOR_ID , X.EOAWTHREAD_STATUS , 'N' FROM PS_HRS_OPNAPR_XREF X , PS_EOAW_STEPINST S , PS_EOAW_USERINST U , PS_HRS_JOB_OPENING R 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 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)

  • Related Language Record: HRS_JO_APPR_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 EOAWPRCS_ID Character(30) VARCHAR2(30) NOT NULL Approval Process ID
    5 EOAWDEFN_ID Character(30) VARCHAR2(30) NOT NULL Approval Framework Definition 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 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
    11 EOAWPARENT_THREAD Number(15,0) DECIMAL(15) NOT NULL Parent Thread ID
    12 ORIGINATORID Character(30) VARCHAR2(30) NOT NULL Originator Identifier
    13 POSTING_TITLE Character(200) VARCHAR2(200) NOT NULL Job posting title
    14 HRS_JO_TYPE Character(1) VARCHAR2(1) NOT NULL Job Opening Type
    P=Continuous Job Opening
    R=Standard Requisition
    15 ORIGINATOR_ID Character(11) VARCHAR2(11) NOT NULL Originator's ID
    16 OPEN_DT Date(10) DATE Created
    17 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    18 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country
    19 EOAWDTTM_MODIFIED DateTime(26) TIMESTAMP Datetime modified
    20 EOAWSTART_DT Date(10) DATE Start Date
    21 EOAWDTTM_COMPLETE DateTime(26) TIMESTAMP Date/Time Completed
    22 EOAWORIG_OPRID Character(30) VARCHAR2(30) NOT NULL User ID
    23 EOAWREQUESTOR_ID Character(30) VARCHAR2(30) NOT NULL Requestor id
    24 EOAWTHREAD_STATUS Character(1) VARCHAR2(1) NOT NULL Thread Status
    A=Approved
    C=Complete
    D=Denied
    E=Pending Denial
    H=Hard Deny
    I=Initial
    N=Not Active
    P=Pending
    S=Awaiting Further Approvals
    T=Terminated
    W=Canceled
    X=Suspended/Pending Denial
    25 APPR_REQ_SW Character(1) VARCHAR2(1) NOT NULL Approval Required Switch

    Y/N Table Edit