GPMX_ESTAB_LNG(SQL View) |
Index Back |
---|---|
Establishments not RPU LngEstablishments that are not defined as RPU. |
SELECT C.ESTABID ,C.LANGUAGE_CD ,C.DESCR FROM PS_ESTAB_TBL A ,PS_ESTAB_TBL_LANG C WHERE A.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_ESTAB_TBL A_ED WHERE A.ESTABID = A_ED.ESTABID ) AND NOT EXISTS ( SELECT 'X' FROM PS_ESTAB_TBL B WHERE B.EFFDT = ( SELECT MAX(B_ED.EFFDT) FROM PS_ESTAB_TBL B_ED WHERE B.ESTABID = B_ED.ESTABID ) AND B.COMPANY = A.COMPANY AND B.RPU_ESTABID_MEX = 'Y') AND A.ESTABID = C.ESTABID AND A.EFFDT = C.EFFDT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | ESTABID | Character(12) | VARCHAR2(12) NOT NULL | Establishment ID |
2 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |