ESTAB_LOC_US_VW(SQL View) |
Index Back |
---|---|
View of ESTAB_LOC_USView of ESTAB_LOC_US. |
SELECT A.SETID , A.LOCATION , A.EFFDT , B.ESTABID , A.EFF_STATUS , C.DESCR FROM PS_LOCATION_TBL A , PS_ESTAB_LOC_US B , PS_ESTAB_TBL C WHERE A.SETID = B.SETID AND A.LOCATION = B.LOCATION AND A.EFFDT = B.EFFDT AND C.ESTABID = B.ESTABID AND C.EFFDT = ( SELECT MAX(C1.EFFDT) FROM PS_ESTAB_TBL C1 WHERE C1.ESTABID = C.ESTABID AND C1.EFFDT <= C.EFFDT) AND C.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID_LOCATION | Character(5) | VARCHAR2(5) NOT NULL | Location SetID |
2 | LOCATION_JOB_SP | Character(10) | VARCHAR2(10) NOT NULL | HCM Job Location |
3 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | ESTABID | Character(12) | VARCHAR2(12) NOT NULL | Establishment ID |
5 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |