SAE_LDAPPHUSGVW(SQL View) |
Index Back |
---|
SELECT ORD.EMPLID ,ORD.ADDR_USAGE ,ORD.PHONE_TYPE ,XLAT.XLATLONGNAME ,%subrec(PHONE_SBR, ORD) ,ORD.EXTENSION FROM %Table(SAE_LDAPPHORDVW) ORD ,%Table(PSXLATITEM) XLAT WHERE ORD.ADDR_USAGE_ORDER = ( SELECT MIN(ORD2.ADDR_USAGE_ORDER) FROM %Table(SAE_LDAPPHORDVW) ORD2 WHERE ORD2.EMPLID = ORD.EMPLID AND ORD2.ADDR_USAGE = ORD.ADDR_USAGE) AND XLAT.FIELDNAME = 'PHONE_TYPE' AND XLAT.FIELDVALUE = ORD.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 | ADDR_USAGE | Character(10) | VARCHAR2(10) NOT NULL | Address Usage |
3 | 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 |
4 | XLATLONGNAME | Character(30) | VARCHAR2(30) NOT NULL | Translate Long Name |
5 | COUNTRY_CODE | Character(3) | VARCHAR2(3) NOT NULL | Country Code |
6 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | Telephone |
7 | EXTENSION | Character(6) | VARCHAR2(6) NOT NULL | Phone number extension |