SAE_LDAPEMUSGVW

(SQL View)
Index Back

SAIP LDAP Email Usage View

SAIP LDAP Email Usage View

SELECT ORD.EMPLID ,ORD.ADDR_USAGE ,ORD.E_ADDR_TYPE ,XLAT.XLATLONGNAME ,ORD.EMAIL_ADDR FROM %Table(SAE_LDAPEMORDVW) ORD , %Table(PSXLATITEM) XLAT WHERE ORD.ADDR_USAGE_ORDER = ( SELECT MIN(ORD2.ADDR_USAGE_ORDER) FROM %Table(SAE_LDAPEMORDVW) ORD2 WHERE ORD2.EMPLID = ORD.EMPLID AND ORD2.ADDR_USAGE = ORD.ADDR_USAGE) AND XLAT.FIELDNAME = 'E_ADDR_TYPE' AND XLAT.FIELDVALUE = ORD.E_ADDR_TYPE AND %EffdtCheck(PSXLATITEM XLAT2, XLAT, %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 ADDR_USAGE Character(10) VARCHAR2(10) NOT NULL Address Usage
3 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
4 XLATLONGNAME Character(30) VARCHAR2(30) NOT NULL Translate Long Name
5 EMAIL_ADDR Character(70) VARCHAR2(70) NOT NULL Email Address