HRS_JO_APPR_LNG(SQL View) |
Index Back |
---|---|
Job Opening Pending ApprovalsJob 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 , R.LANGUAGE_CD , R.HRS_PRM_PST_TITLE , COALESCE(( SELECT NM.NAME_DISPLAY FROM PS_NAMES_LNG NM WHERE NM.EMPLID = JO.MANAGER_ID AND NM.NAME_TYPE = 'PRI' AND NM.EFFDT = ( SELECT MAX(NM2.EFFDT) FROM PS_NAMES_LNG NM2 WHERE NM2.EMPLID = NM.EMPLID AND NM2.NAME_TYPE = NM.NAME_TYPE AND NM2.LANGUAGE_CD = R.LANGUAGE_CD AND NM2.EFFDT <= %CurrentDateIn )), ( SELECT NM.NAME_DISPLAY FROM PS_NAMES NM WHERE NM.EMPLID = JO.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 ))) FROM PS_HRS_OPNAPR_XREF X , PS_EOAW_STEPINST S , PS_EOAW_USERINST U , PS_HRS_JO_LNG R , PS_HRS_JOB_OPENING JO WHERE X.EOAWTHREAD_ID = S.EOAWTHREAD_ID AND X.EOAWPRCS_ID = S.EOAWPRCS_ID AND R.HRS_JOB_OPENING_ID = X.HRS_JOB_OPENING_ID AND JO.HRS_JOB_OPENING_ID = R.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) |
# | 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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
11 | POSTING_TITLE | Character(200) | VARCHAR2(200) NOT NULL | Job posting title |
12 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |