HGA_WRKGRP_VW

(SQL View)
Index Back

Workgroup view

Workgroup view for Absence Exception

SELECT DISTINCT B.WORKGROUP , W.DESCR FROM PS_GP_PYE_PRC_STAT A , PS_TL_EMPL_DATA B , PS_TL_WRKGRP_TBL W WHERE A.EMPLID = B.EMPLID AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_TL_EMPL_DATA C WHERE C.EMPLID = B.EMPLID AND C.EMPL_RCD = B.EMPL_RCD AND C.EFFDT <= %CurrentDateIn) AND B.WORKGROUP = W.WORKGROUP AND W.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_TL_WRKGRP_TBL D WHERE D.WORKGROUP = W.WORKGROUP AND D.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 WORKGROUP Character(10) VARCHAR2(10) NOT NULL Workgroup
2 DESCR Character(30) VARCHAR2(30) NOT NULL Description