SAE_LDAP_PHONVW

(SQL View)
Index Back

SAIP LDAP PHONE VIEW

SAIP LDAP PHONE VIEW

SELECT PHON.EMPLID ,PHON.PHONE_TYPE ,XLAT.XLATLONGNAME ,%subrec(PHONE_SBR,PHON) ,PHON.EXTENSION ,PHON.PREF_PHONE_FLAG FROM %Table(HCR_PER_PHONE_I) PHON ,%Table(PSXLATITEM) XLAT WHERE XLAT.FIELDNAME = 'PHONE_TYPE' AND XLAT.FIELDVALUE = PHON.PHONE_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 PHONE_TYPE Character(4) VARCHAR2(4) NOT NULL Phone Type
BUSN=Business
CAMP=Campus
CELL=Mobile
DORM=Dormitory
FAX=FAX
HOME=Home
MAIN=Main
OTR=Other
PGR1=Pager 1
PGR2=Pager 2
TELX=Telex
WORK=Work
3 XLATLONGNAME Character(30) VARCHAR2(30) NOT NULL Translate Long Name
4 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL Country Code
5 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
6 EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone number extension
7 PREF_PHONE_FLAG Character(1) VARCHAR2(1) NOT NULL Preferred