ESTAB_HQ_VW_LNG(SQL View) |
Index Back |
---|
SELECT A.ESTABID , A.EFFDT ,A.LANGUAGE_CD , B.COMPANY , A.DESCR FROM PS_ESTAB_TBL_LANG A ,PS_ESTAB_TBL B WHERE A.ESTABID = B.ESTABID AND A.EFFDT = B.EFFDT AND B.HQUNIT = 'Y' AND A.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_ESTAB_TBL A_ED WHERE A.ESTABID = A_ED.ESTABID AND A_ED.EFFDT <= %CurrentDateIn ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | ESTABID | Character(12) | VARCHAR2(12) NOT NULL | Establishment ID |
2 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |