HR_WP_LBR_BU_VW

(SQL View)
Index Back

SELECT A.SETID ,A.LABOR_AGREEMENT ,A.BARG_UNIT FROM PS_HR_LABOR_AGRMNT A WHERE A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_HR_LABOR_AGRMNT B WHERE A.SETID = B.SETID AND A.LABOR_AGREEMENT = B.LABOR_AGREEMENT AND B.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID_LBR_AGRMNT Character(5) VARCHAR2(5) NOT NULL Labor Agreement SetID
2 LABOR_AGREEMENT Character(6) VARCHAR2(6) NOT NULL Labor Agreement
3 BARG_UNIT Character(4) VARCHAR2(4) NOT NULL Bargaining Unit
1=Bargaining Unit 1
2=Bargaining Unit 2