HR_OWS_ADDR_VW

(SQL View)
Index Back

Person OWS Addresses

Oracle Workforce Scheduling Person Addresses

SELECT A.EMPLID , A.ADDRESS_TYPE , A.EFFDT , A.EFF_STATUS , A.COUNTRY , A.STATE , A.CITY , A.POSTAL , A.ADDRESS1 , A.ADDRESS2 , A.ADDRESS3 , A.ADDRESS4 FROM PS_ADDRESSES A WHERE A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_ADDRESSES A1 WHERE A1.EMPLID=A.EMPLID AND A1.ADDRESS_TYPE = A.ADDRESS_TYPE AND A1.EFF_STATUS = 'A' AND A1.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 ADDRESS_TYPE Character(4) VARCHAR2(4) NOT NULL Address Type

Prompt Table: ADDRESS_TYP_TBL

3 EFFDT Date(10) DATE NOT NULL Effective Date

Default Value: %date

4 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive
5 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: COUNTRY_TBL

6 STATE Character(6) VARCHAR2(6) NOT NULL State

Prompt Table: STATE_TBL

7 CITY Character(30) VARCHAR2(30) NOT NULL City
8 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
9 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
10 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
11 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
12 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4