HR_MGRLOCSTA_LV

(SQL View)
Index Back

Wkflow for EE Location SS

This record is a child of HR_LOC_STA and is used to store data about each step of the worflow approval process for a Employee Location Change request.

SELECT DISTINCT S.EOAWSTEP_NBR , X.EMPLID , X.EMPL_RCD , X.ACTION_DT_SS , X.EFFSEQ , S.EOAWPRCS_ID , S.EOAWPATH_ID , S.EOAWSTAGE_NBR , S.EOAWTHREAD_ID , XLAT.LANGUAGE_CD , XLAT.XLATLONGNAME FROM PS_HR_MGR_LOC_XREF 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_HR_MGR_LOC_XREF Y WHERE X.EMPLID = Y.EMPLID AND X.EMPL_RCD = Y.EMPL_RCD AND X.ACTION_DT_SS = Y.ACTION_DT_SS AND X.EFFSEQ = Y.EFFSEQ AND Y.EOAWTHREAD_STATUS <> 'T' ) AND XLAT.fieldname = 'EOAWSTEP_STATUS' AND XLAT.fieldvalue = U.EOAWSTEP_STATUS AND %EffdtCheck(PSXLATITEMLANG XLAT1, XLAT, %Currentdatein)

# 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 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Default Value: PERSON.EMPLID

Prompt Table: PERSON

3 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
4 ACTION_DT_SS Date(10) DATE Termination Date
5 EFFSEQ Number(3,0) SMALLINT NOT NULL Effective Sequence
6 EOAWPRCS_ID Character(30) VARCHAR2(30) NOT NULL Approval Process ID
7 EOAWPATH_ID Character(30) VARCHAR2(30) NOT NULL Approval Path ID
8 EOAWSTAGE_NBR Number(3,0) SMALLINT NOT NULL Approval Framework Stage Number
9 EOAWTHREAD_ID Number(15,0) DECIMAL(15) NOT NULL Approval Framework Thread ID
10 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
11 DESCR1 Character(30) VARCHAR2(30) NOT NULL Descr