EO_PE_CDLOC_VW

(SQL View)
Index Back

Comp Dir Locations Search View


SELECT A.SETID , A.LOCATION , A.DESCR , A.DESCR_AC , A.BUILDING , A.FLOOR , A.SECTOR , A.ATTN_TO , A.COUNTRY_CODE , A.PHONE , A.EXTENSION , A.FAX , A.COUNTRY , B.DESCR , A.ADDRESS1 , A.ADDRESS2 , A.ADDRESS3 , A.ADDRESS4 , A.ADDR_FIELD1 , A.ADDR_FIELD2 , A.ADDR_FIELD3 , A.CITY , A.NUM1 , A.NUM2 , A.COUNTY , A.STATE , A.POSTAL FROM PS_LOCATION_TBL A , PS_COUNTRY_TBL B WHERE A.COUNTRY = B.COUNTRY AND A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_LOCATION_TBL A1 WHERE A1.LOCATION = A.LOCATION AND A1.SETID = A.SETID AND A1.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
3 DESCR Character(30) VARCHAR2(30) NOT NULL Description
4 DESCR_AC Character(30) VARCHAR2(30) NOT NULL Alternate Char Description
5 BUILDING Character(10) VARCHAR2(10) NOT NULL Building #
6 FLOOR Character(10) VARCHAR2(10) NOT NULL Floor #
7 SECTOR Character(10) VARCHAR2(10) NOT NULL Sector
8 ATTN_TO Character(30) VARCHAR2(30) NOT NULL Attention
9 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL Country Code
10 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
11 EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone number extension
12 FAX Character(24) VARCHAR2(24) NOT NULL Fax Number
13 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: COUNTRY_TBL

14 EO_PE_CNTRY_DESCR Character(30) VARCHAR2(30) NOT NULL Country
15 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
16 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
17 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
18 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
19 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
20 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
21 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
22 CITY Character(30) VARCHAR2(30) NOT NULL City
23 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
24 NUM2 Character(6) VARCHAR2(6) NOT NULL Number 2
25 COUNTY Character(30) VARCHAR2(30) NOT NULL County
26 STATE Character(6) VARCHAR2(6) NOT NULL State

Prompt Table: %EDIT_STATE

27 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal