ORG_CNT_PH_VW(SQL View) |
Index Back |
---|---|
Org Contact Business Phone VwThis view selects the current active "Business" phone for a contact. |
SELECT b.ext_org_id , b.org_contact , b.effdt , b.phone_type , b.phone , b.country_code , b.extension , b.pref_phone_flag FROM PS_ORG_CNTCT_PHN b WHERE b.pref_phone_flag = 'Y' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL | External Org ID |
2 | ORG_CONTACT | Number(4,0) | SMALLINT NOT NULL | Contact Nbr |
3 | EFFDT | Date(10) | DATE | Effective Date |
4 | 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 |
5 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | Telephone |
6 | COUNTRY_CODE | Character(3) | VARCHAR2(3) NOT NULL | Country Code |
7 | EXTENSION | Character(6) | VARCHAR2(6) NOT NULL | Phone number extension |
8 | PREF_PHONE_FLAG | Character(1) | VARCHAR2(1) NOT NULL | Preferred |