CTRL_ESTAB_VW(SQL View) |
Index Back |
---|
SELECT A.ESTABID , A.DESCR , A.COMPANY , B.CTL_ESTABID FROM PS_ESTAB_TBL A , PS_ESTAB_TBL_USA B WHERE A.ESTABID = B.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 | ESTABID | Character(12) | VARCHAR2(12) NOT NULL | Establishment ID |
2 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
3 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
4 | CTL_ESTABID | Character(12) | VARCHAR2(12) NOT NULL | Controlling Establishment ID |