WCS_AWE_HIST_LV

(SQL View)
Index Back

Comp Cycles Approval Hist

Related language view for WCS_AWE_HIST_VW.

SELECT DISTINCT S.EOAWSTEP_NBR , X.BUDGET_ID , X.BUDGET_START_DT , X.TREE_NODE_NUM , U.OPRID , S.EFFDT , S.EOAWPRCS_ID , S.EOAWPATH_ID , S.EOAWSTAGE_NBR , S.EOAWTHREAD_ID , XLAT.LANGUAGE_CD , XLAT.XLATLONGNAME , Z.NAME_DISPLAY FROM PS_WCS_ECM_AWE_XRF X , PSXLATITEMLANG XLAT , PS_HRS_STEPINST_I S , PS_HRS_USERINST_I U , PS_WCS_PERSON_NM_L 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 XLAT.LANGUAGE_CD = Z.LANGUAGE_CD AND ZZ.OPRID = U.OPRID AND ZZ.EMPLID = Z.EMPLID AND X.EOAWPARENT_THREAD = ( SELECT MAX(Y.EOAWPARENT_THREAD) FROM PS_WCS_ECM_AWE_XRF Y WHERE X.BUDGET_ID = Y.BUDGET_ID AND X.BUDGET_START_DT = Y.BUDGET_START_DT AND X.TREE_NODE_NUM = Y.TREE_NODE_NUM AND Y.EOAWTHREAD_STATUS <> 'T' ) AND XLAT.FIELDNAME = 'EOAWSTEP_STATUS' AND XLAT.FIELDVALUE = U.EOAWSTEP_STATUS AND %EffdtCheck(PSXLATITEMLANG XLG, XLAT, %Currentdatein) UNION ALL SELECT DISTINCT S.EOAWSTEP_NBR , X.BUDGET_ID , X.BUDGET_START_DT , X.TREE_NODE_NUM , U.OPRID , S.EFFDT , S.EOAWPRCS_ID , S.EOAWPATH_ID , S.EOAWSTAGE_NBR , S.EOAWTHREAD_ID , XLAT.LANGUAGE_CD , XLAT.XLATLONGNAME , Z.NAME_DISPLAY FROM PS_WCS_ECM_AWE_XRF X , PSXLATITEMLANG 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_WCS_ECM_AWE_XRF Y WHERE X.BUDGET_ID = Y.BUDGET_ID AND X.BUDGET_START_DT = Y.BUDGET_START_DT AND X.TREE_NODE_NUM = Y.TREE_NODE_NUM AND Y.EOAWTHREAD_STATUS <> 'T' ) AND XLAT.FIELDNAME = 'EOAWSTEP_STATUS' AND XLAT.FIELDVALUE = U.EOAWSTEP_STATUS AND %EffdtCheck(PSXLATITEMLANG XLG, XLAT, %Currentdatein) UNION ALL SELECT DISTINCT S.EOAWSTEP_NBR , X.BUDGET_ID , X.BUDGET_START_DT , X.TREE_NODE_NUM , U.OPRID , S.EFFDT , S.EOAWPRCS_ID , S.EOAWPATH_ID , S.EOAWSTAGE_NBR , S.EOAWTHREAD_ID , Z.LANGUAGE_CD , XLAT.XLATLONGNAME , Z.NAME_DISPLAY FROM PS_WCS_ECM_AWE_XRF X , PSXLATITEM XLAT , PS_HRS_STEPINST_I S , PS_HRS_USERINST_I U , PS_WCS_PERSON_NM_L 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_WCS_ECM_AWE_XRF Y WHERE X.BUDGET_ID = Y.BUDGET_ID AND X.BUDGET_START_DT = Y.BUDGET_START_DT AND X.TREE_NODE_NUM = Y.TREE_NODE_NUM AND Y.EOAWTHREAD_STATUS <> 'T' ) AND XLAT.FIELDNAME = 'EOAWSTEP_STATUS' AND XLAT.FIELDVALUE = U.EOAWSTEP_STATUS AND %EffdtCheck(PSXLATITEM XLG, XLAT, %Currentdatein)

  • Related Language Record for WCS_AWE_HIST_VW
  • # 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 BUDGET_ID Character(10) VARCHAR2(10) NOT NULL Budget ID
    3 BUDGET_START_DT Date(10) DATE NOT NULL Budget Start Date
    4 TREE_NODE_NUM Number(10,0) DECIMAL(10) NOT NULL Internal beginning node range number
    5 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    6 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date

    7 EOAWPRCS_ID Character(30) VARCHAR2(30) NOT NULL Approval Process ID
    8 EOAWPATH_ID Character(30) VARCHAR2(30) NOT NULL Approval Path ID
    9 EOAWSTAGE_NBR Number(3,0) SMALLINT NOT NULL Approval Framework Stage Number
    10 EOAWTHREAD_ID Number(15,0) DECIMAL(15) NOT NULL Approval Framework Thread ID
    11 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    12 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    13 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country