SCC_PU_PHONE_VW(SQL View) |
Index Back |
---|---|
Phone View |
SELECT PHONE.EMPLID , USAGETBL.ADDR_USAGE , PHONE.PHONE_TYPE , PHONE.COUNTRY_CODE , PHONE.PHONE , PHONE.EXTENSION FROM %Table(HCR_PER_PHONE_I) PHONE , %Table(PHONE_USAGE_TBL) USAGETBL , %Table(PHONE_ORDER_TBL) ORD WHERE USAGETBL.ADDR_USAGE = ORD.ADDR_USAGE AND PHONE.PHONE_TYPE = ORD.PHONE_TYPE AND ORD.ADDR_USAGE_ORDER = ( SELECT MIN(ORD1.ADDR_USAGE_ORDER) FROM %Table(PERSONAL_PHONE) PHONE1 , %Table(PHONE_ORDER_TBL) ORD1 WHERE USAGETBL.ADDR_USAGE = ORD1.ADDR_USAGE AND PHONE1.PHONE_TYPE = ORD1.PHONE_TYPE AND PHONE1.EMPLID = PHONE.EMPLID) |
# | 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 | 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 |