WC_CNTPHN_VW

(SQL View)
Index Back

View used for Contact Telephon

View used for Contact Telephon

SELECT A.SETID , A.CONTACT_ID , A.PHONE_TYPE , A.COUNTRY_CODE , A.PHONE , A.EXTENSION FROM PS_CONTACT_PHN A WHERE A.PHONE_TYPE = 'BUSN' AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_CONTACT_PHN A1 WHERE A1.CONTACT_ID = A.CONTACT_ID AND A1.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Default Value: OPR_DEF_TBL_FS.SETID

2 CONTACT_ID Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts
3 PHONE_TYPE Character(4) VARCHAR2(4) NOT NULL Phone Type
BUSN=Business Phone
CAMP=Campus Phone
CELL=Cellular Phone
DORM=Dormitory Phone
FAX=FAX
HOME=Home Phone
MAIN=Main
OTR=Other
PGR1=Pager 1
PGR2=Pager 2
TELX=Telex
4 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL Int'l Prefix
5 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
6 EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone Extension