FO_CUSTCONT_VW

(SQL View)
Index Back

cust associated w/ the contact

This record view is to be used in Self Service Orders

SELECT DISTINCT A.CUST_ID , C.OPRID , A.SETID , A.CONTACT_ID FROM PS_CONTACT_CUST A , PSOPRALIAS C WHERE A.CONTACT_ID = ( SELECT CONTACT_ID FROM PSOPRALIAS B WHERE B.OPRALIASTYPE = 'CNT' AND B.OPRID = C.OPRID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 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.
2 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
3 SETID Character(5) VARCHAR2(5) NOT NULL SetID
4 CONTACT_ID Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts