GM_IN_EMAIL_VW

(SQL View)
Index Back

E-Mail Addresses VIEW


SELECT A.EMPLID , A.E_ADDR_TYPE , B.XLATSHORTNAME , A.EMAIL_ADDR FROM PS_EMAIL_ADDRESSES A , PSXLATITEM B WHERE B.FIELDNAME='E_ADDR_TYPE' AND A.E_ADDR_TYPE=B.FIELDVALUE AND B.EFFDT = ( SELECT MAX(D.EFFDT) FROM PSXLATITEM D WHERE D.FIELDNAME = B.FIELDNAME AND D.FIELDVALUE = B.FIELDVALUE AND D.EFF_STATUS = 'A' AND D.EFFDT <= %CurrentDateIn)

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

Default Value: GM_IN_CONTACTS.EMPLID

2 E_ADDR_TYPE Character(4) VARCHAR2(4) NOT NULL Email Type
BUSN=Business
CAMP=Campus
DORM=Dorm
HOME=Home
OTHR=Other
3 XLATSHORTNAME Character(10) VARCHAR2(10) NOT NULL Translate Value Short Name
4 EMAIL_ADDR Character(70) VARCHAR2(70) NOT NULL Email Address