HGA_WRKGRP_LVW(SQL View) |
Index Back |
---|---|
Workgroup viewWorkgroup view for Absence Exception |
SELECT DISTINCT B.WORKGROUP , L.LANGUAGE_CD , W.DESCR FROM PS_GP_PYE_PRC_STAT A , PS_TL_EMPL_DATA B , PS_TL_WRKGRP_TBL W , PS_TL_WRKGRP_LNG L 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) AND L.WORKGROUP = W.WORKGROUP |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | WORKGROUP | Character(10) | VARCHAR2(10) NOT NULL | Workgroup |
2 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |