RSF_TR_CUST_VW

(SQL View)
Index Back

The Contact Customer view

This view returns all the customers the person belongs to.

SELECT B.SETID , A.BO_ID , A.BO_NAME , C.ROLE_TYPE_ID , D.DESCR FROM PS_BO A , PS_BC B , PS_BO_ROLE C , PS_BO_ROLE_TYPE D WHERE A.BO_ID = B.BO_ID AND A.BO_ID = C.BO_ID AND B.CUSTOMER_IND = 'Y' AND C.ROLE_TYPE_ID IN (2, 9) AND C.ROLE_TYPE_ID = D.ROLE_TYPE_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.

Default Value: OPR_DEF_TBL_FS.SETID

Prompt Table: SP_SETID_NONVW

2 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
3 NAME1 Character(50) VARCHAR2(50) NOT NULL Generic 50 character name field for storing names.
4 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
5 ROLE_TYPE_NAME Character(30) VARCHAR2(30) NOT NULL Role Type Name