EP_APPR_HST_VW

(SQL View)
Index Back

ePerformance Approvals history

ePerformance Approvals history view - HTML Email Approvals

SELECT DISTINCT S.EOAWSTEP_NBR , X.EP_APPRAISAL_ID , S.EOAWPRCS_ID , S.EOAWPATH_ID , S.EOAWSTAGE_NBR , S.EOAWTHREAD_ID , U.EOAWSTEP_STATUS , X.EOAWPARENT_THREAD , Z.NAME_DISPLAY , U.EOAWDTTM_MODIFIED , %Sql(HR_HT_EMAIL_DATE,%DatePart(U.EOAWDTTM_MODIFIED)) , XLAT.XLATLONGNAME , ' ' FROM PS_EP_APPR_XREF X , PS_HR_XLAT_EFF_VW XLAT , PS_HRS_STEPINST_I S , PS_HRS_USERINST_I U , 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 ZZ.OPRID = U.OPRID AND ZZ.EMPLID = Z.EMPLID AND X.EOAWPARENT_THREAD = ( SELECT MAX(Y.EOAWPARENT_THREAD) FROM PS_EP_APPR_XREF Y WHERE X.EP_APPRAISAL_ID = Y.EP_APPRAISAL_ID AND Y.EOAWTHREAD_STATUS <> 'T' ) AND XLAT.fieldname = 'EOAWSTEP_STATUS' AND XLAT.fieldvalue = U.EOAWSTEP_STATUS

  • Related Language Record: EP_APPR_HSTLVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EOAWSTEP_NBR Number(6,2) DECIMAL(5,2) NOT NULL Sequence number of step in its path
    2 EP_APPRAISAL_ID Number(8,0) INTEGER NOT NULL Document ID
    3 EOAWPRCS_ID Character(30) VARCHAR2(30) NOT NULL Approval Process ID
    4 EOAWPATH_ID Character(30) VARCHAR2(30) NOT NULL Approval Path ID
    5 EOAWSTAGE_NBR Number(3,0) SMALLINT NOT NULL Approval Framework Stage Number
    6 EOAWTHREAD_ID Number(15,0) DECIMAL(15) NOT NULL Approval Framework Thread ID
    7 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
    8 EOAWPARENT_THREAD Number(15,0) DECIMAL(15) NOT NULL Parent Thread ID
    9 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country
    10 EOAWDTTM_MODIFIED DateTime(26) TIMESTAMP Datetime modified
    11 DESCR20 Character(20) VARCHAR2(20) NOT NULL Description
    12 DESCR1 Character(30) VARCHAR2(30) NOT NULL Descr
    13 COMMENTS Long Character CLOB Comment