ADDR_USAGE_VW2

(SQL View)
Index Back

Addr Usage Selection View 2

This view is used for selecting the E-Mail address based upon the address usage from the address search panel. This view utilizes the address order table to find the matching E-Mail address, if any.

SELECT A.EMPLID , A.E_ADDR_TYPE , B.ADDR_USAGE , B.ADDR_USAGE_ORDER , B.ADDR_USAGE_TYPE , A.EMAIL_ADDR FROM PS_EMAIL_ADDRESSES A , PS_ADDR_ORDER_TBL B WHERE A.E_ADDR_TYPE = B.E_ADDR_TYPE AND B.ADDR_USAGE_TYPE = 'EM'

# 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 E_ADDR_TYPE Character(4) VARCHAR2(4) NOT NULL Email Address Type. Note: Dorm long name has been updated as Dormitory as part of PI26 updates. And, the owner id of the field is updated to CC from HR.
BUSN=Business
CAMP=Campus
DORM=Dormitory
HOME=Home
OTHR=Other
3 ADDR_USAGE Character(10) VARCHAR2(10) NOT NULL Address Usage
4 ADDR_USAGE_ORDER Number(4,0) SMALLINT NOT NULL Address Usage Order
5 ADDR_USAGE_TYPE Character(2) VARCHAR2(2) NOT NULL Address Usage Type
AD=Address
EM=E-Mail
6 EMAIL_ADDR Character(70) VARCHAR2(70) NOT NULL Email Address