AV_ORG_CT_PH_VW(SQL View) |
Index Back |
---|---|
Org Contact Phone Table ViewThis is a view of the ORG_CNTCT_PHN table where the contact type is Matching Gift. |
SELECT A.EXT_ORG_ID , A.ORG_CONTACT , A.PHONE_TYPE , %subrec(PHONE_SBR, A) , A.EXTENSION , A.PREF_PHONE_FLAG FROM PS_ORG_CNTCT_PHN A , PS_ORG_CONTACT B WHERE A.EXT_ORG_ID = B.EXT_ORG_ID AND A.ORG_CONTACT = B.ORG_CONTACT AND A.EFFDT = B.EFFDT AND %EffdtCheck( ORG_CONTACT B1, B, %CurrentDateIn) AND B.ORG_CONTACT_TYPE='MG' AND B.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL |
External Org ID
Prompt Table: EXT_ORG_TBL |
2 | ORG_CONTACT | Number(4,0) | SMALLINT NOT NULL |
Contact Nbr
Prompt Table: ORG_CONTACT |
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 |
7 | PREF_PHONE_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Preferred
Y/N Table Edit |