SCC_ADDR_EFFVW

(SQL View)
Index Back

Effective-Dated Addresses view


SELECT DISTINCT A.Emplid , A.ADDRESS_TYPE FROM PS_HCR_PER_ADDR_I A WHERE (a.effdt = ( SELECT MAX(z.effdt) FROM PS_HCR_PER_ADDR_I z WHERE a.emplid = z.emplid AND a.ADDRESS_TYPE = z.ADDRESS_TYPE AND z.effdt <= %CurrentDateIn) OR a.effdt > %CurrentDateIn ) AND a.eff_status ='A'

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

Prompt Table: PEOPLE_SRCH

2 ADDRESS_TYPE Character(4) VARCHAR2(4) NOT NULL Address Type

Prompt Table: ADDRESS_TYP_TBL