CTRLESTABVW_LNG(SQL View) |
Index Back |
---|
SELECT A.ESTABID ,C.LANGUAGE_CD , A.DESCR , A.COMPANY , B.CTL_ESTABID FROM PS_ESTAB_TBL A , PS_ESTAB_TBL_USA B ,PS_ESTAB_TBL_LANG C WHERE A.ESTABID = B.ESTABID AND A.ESTABID = C.ESTABID AND A.EFFDT = B.EFFDT AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_ESTAB_TBL A1 WHERE A.ESTABID = A1.ESTABID AND A1.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(12) | VARCHAR2(12) NOT NULL | Establishment ID | |
2 | Character(3) | VARCHAR2(3) NOT NULL | Language Code | |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
5 | CTL_ESTABID | Character(12) | VARCHAR2(12) NOT NULL | Controlling Establishment ID |