CUS_CONTSLDPHVW

(SQL View)
Index Back

Sold-to Contact Primary Phone

Used for mouse-over popup pages.

SELECT CC.CUSTOMER_SETID , CC.CUST_ID , CC.CNTCT_SEQ_NUM , CC.EFFDT , CC.EFF_STATUS , CP.COUNTRY_CODE , CP.PHONE , CP.EXTENSION , ' ' FROM PS_CONTACT_CUST CC , PS_CONTACT_PHN CP WHERE %Join(COMMON_KEYS, CONTACT_PHN CP, CONTACT_CUST CC) AND CC.EFF_STATUS = 'A' AND PRIMARY_PHONE = 'Y'

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

Prompt Table: SP_SETID_NONVW

2 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer
3 CNTCT_SEQ_NUM Number(5,0) INTEGER NOT NULL Contact Sequence Number
4 EFFDT Date(10) DATE NOT NULL Effective Date
5 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive
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 FORMATTED_PHONE Character(35) VARCHAR2(35) NOT NULL Used to concatinate Phone Prefix + Phone Number + Phone Extension