HR_LBR_SNR_VW(SQL View) |
Index Back |
---|---|
HR-Labor Seniority Dates 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.DESCR FROM PS_HR_LBR_SNR_DATE A , PS_HR_SNR_DATE_TBL 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 B.EFF_STATUS = 'A' 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 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |