RBF_BO_CST_C_VW

(SQL View)
Index Back

Business Contact - Contact Vw.

This view returns all the Business Contact - Contacts. The Business Contact will be returned to the BO_ID_CUST field and the Contact will be returned to the BO_ID field.

SELECT A.REL_TYPE_ID , A.BO_ID_CUST , A.ROLE_TYPE_ID_CUST , A.SETID , A.CUST_ID , A.CUST_STATUS , ' ' , A.BO_ID , A.ROLE_TYPE_ID_CNTCT FROM PS_BO_BC_REL_VW A , PS_BO_SRCH_GRP_TYP B WHERE A.ROLE_TYPE_ID_CUST = B.ROLE_TYPE_ID AND B.SRCH_GROUP_ID = 23

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 REL_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Relationship Type ID
2 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
3 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
4 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.
5 CUST_ID Character(15) VARCHAR2(15) NOT NULL Customer ID
6 CUST_STATUS Character(1) VARCHAR2(1) NOT NULL Customer Status Indicator. BC.CUST_STATUS
A=Active
I=Inactive
7 SHIP_TO_FLG Character(1) VARCHAR2(1) NOT NULL A flag indicating that the customer or address is a valid Ship To customer or address.
8 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
9 ROLE_TYPE_ID_CNTCT Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the contact