C360_PRIMCNC3VW

(SQL View)
Index Back

Current Primary Contact


SELECT A.SETID , A.CUST_ID , A.CNTCT_SEQ_NUM , A.CONTACT_ID , A.NAME1 , A.TITLE , A.ADDRESS_SEQ_NUM , A.EMAILID , A.COMM_METHOD , A.COMM_METHOD1 , P.PHONE , P.EXTENSION , A.FAX , P.PHONE %Concat '/'%Concat P.EXTENSION FROM PS_C360_PRIMCNC2VW A , PS_CONTACT_PHN P WHERE P.SETID = A.SETID AND P.CONTACT_ID = A.CONTACT_ID AND P.PRIMARY_PHONE = 'Y'

# 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

Prompt Table: SP_SETID_NONVW

2 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.

Prompt Table: CUSTOMER

3 CNTCT_SEQ_NUM Number(5,0) INTEGER NOT NULL Contact Sequence Number
4 CONTACT_ID Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts

Prompt Table: CNTCT_CUST_VW2

5 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
6 TITLE Character(35) VARCHAR2(35) NOT NULL Title
7 ADDRESS_SEQ_NUM Number(5,0) INTEGER NOT NULL Address Sequence Number
8 EMAILID Character(70) VARCHAR2(70) NOT NULL A user's E-mail address
9 COMM_METHOD Character(1) VARCHAR2(1) NOT NULL Preferred Communication
A=Email Invoice as Attachment
C=Call
E=Email only
F=Fax
I=XML only
M=Standard Mail
N=Email Notification
P=Email & Print
R=XML & Print
10 COMM_METHOD1 Character(30) VARCHAR2(30) NOT NULL Preferred Communication
11 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
12 EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone Extension
13 FAX Character(24) VARCHAR2(24) NOT NULL Fax Number
14 C360_PHONE_EXT Character(31) VARCHAR2(31) NOT NULL