SCR_CPHN_ORG_VW

(SQL View)
Index Back

Supplier Contact Telephone Nbr

Supplier Contact Telephone Nbrs

SELECT P.SETID , P.VENDOR_ID , P.CNTCT_SEQ_NUM , P.EFFDT , P.PHONE_TYPE , P.COUNTRY_CODE , P.PHONE , P.EXTENSION , P.EFFDT , P.PHONE_TYPE , P.COUNTRY_CODE , P.PHONE , P.EXTENSION ,'' ,'' FROM PS_VNDR_CNTCT_PHN P , PS_SCR_CNT_SCR_VW S WHERE EFFDT = ( SELECT MAX(Z.EFFDT) FROM PS_VNDR_CNTCT_PHN Z WHERE P.SETID = Z.SETID AND P.VENDOR_ID = Z.VENDOR_ID AND P.CNTCT_SEQ_NUM = Z.CNTCT_SEQ_NUM AND Z.EFFDT <=%CurrentDateIn) AND P.SETID = S.SETID AND P.VENDOR_ID = S.VENDOR_ID AND P.CNTCT_SEQ_NUM = S.CNTCT_SEQ_NUM

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
3 CNTCT_SEQ_NUM Number(5,0) INTEGER NOT NULL Contact Sequence Number
4 EFFDT Date(10) DATE Effective Date

Default Value: %date

5 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
6 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL Int'l Prefix
7 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
8 EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone Extension
9 SCR_EFFDT Date(10) DATE Approved Changes Take Effect
10 PHONE_TYPE2 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
11 COUNTRY_CODE2 Character(3) VARCHAR2(3) NOT NULL Int'l Prefix
12 PHONE2 Character(24) VARCHAR2(24) NOT NULL Telephone
13 EXTENSION2 Character(6) VARCHAR2(6) NOT NULL Phone Extension
14 SCR_USR_ACTION Character(1) VARCHAR2(1) NOT NULL Action
A=Add
D=Remove
U=Update
15 LONGDESC3 Long Character(1300) VARCHAR2(1300) Description