HR_LBRSNRVW_LNG(SQL View) |
Index Back |
---|---|
HR-Lbr Snr Dates Rel Lang ViewThis view is a prompt record used in Layoff/ Recall Roster Setup pages to access Seniority Dates attached to the selected Labor Agreement. |
SELECT A.SETID , A.LABOR_AGREEMENT , A.SENIORITY_DATE_ID , B.LANGUAGE_CD , B.DESCR FROM PS_HR_LBR_SNR_DATE A , PS_HR_SNR_DATE_LNG B WHERE A.SENIORITY_DATE_ID = B.SENIORITY_DATE_ID AND B.EFFDT = ( SELECT MAX (D.EFFDT) FROM PS_HR_SNR_DATE_TBL D WHERE D.SENIORITY_DATE_ID = B.SENIORITY_DATE_ID AND D.EFFDT <= %CurrentDateIn) AND A.EFFDT = ( SELECT MAX (C.EFFDT) FROM PS_HR_LBR_SNR_DATE C WHERE C.SETID = A.SETID AND C.LABOR_AGREEMENT = A.LABOR_AGREEMENT AND C.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | LABOR_AGREEMENT | Character(6) | VARCHAR2(6) NOT NULL | Labor Agreement |
3 | SENIORITY_DATE_ID | Character(10) | VARCHAR2(10) NOT NULL | Seniority Date ID |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |