RE_LS_VEN_PHONE

(SQL View)
Index Back

LS Customer Contact Detail


SELECT PRINCIPAL.PARTY_KEY ,PHONE.PHONE_TYPE ,PHONE.COUNTRY_CODE ,PHONE.PHONE ,PHONE.EXTENSION FROM PS_RE_LS_PRNC_PTY PRINCIPAL ,PS_VENDOR_CNTCT VENDOR ,PS_VNDR_CNTCT_PHN PHONE WHERE VENDOR.VENDOR_ID =PRINCIPAL.PRINCIPAL_ID AND VENDOR.CNTCT_SEQ_NUM = PRINCIPAL.CNTCT_SEQ_NUM AND PHONE.SETID=VENDOR.SETID AND PHONE.VENDOR_ID=VENDOR.VENDOR_ID AND PHONE.CNTCT_SEQ_NUM=VENDOR.CNTCT_SEQ_NUM

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PARTY_KEY Number(10,0) DECIMAL(10) NOT NULL Party Key
2 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
3 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL Int'l Prefix
4 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
5 EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone Extension