RC_CONTACT_VW

(SQL View)
Index Back

SELECT DISTINCT A.BO_ID , B.BO_ID_1 , C.BO_NAME , F.BO_NAME_AC , D.BO_NAME ,F.BO_NAME_AC FROM PS_BC A , PS_BO_REL B , PS_BO C , PS_BO D , PS_BO_REL_CAT_ITEM E ,PS_BO_NAME F WHERE A.BO_ID = B.BO_ID_2 AND A.CUSTOMER_IND = 'Y' AND B.REL_TYPE_ID = E.REL_TYPE_ID AND E.BO_REL_CATEGORY_ID IN (1, 2) AND C.BO_ID = B.BO_ID_2 AND D.BO_ID = B.BO_ID_1 AND F.BO_ID = B.BO_ID_1 AND B.START_DT <= %CurrentDateIn AND (B.END_DT > %CurrentDateIn OR B.END_DT IS NULL)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
2 BO_ID_CONTACT Number(31,0) DECIMAL(31) NOT NULL This field indicates the Business Object ID for the contact.
3 BO_NAME_1 Character(50) VARCHAR2(50) NOT NULL BO Name 1
4 BO_NAME_PARENT_AC Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
5 BO_NAME_2 Character(50) VARCHAR2(50) NOT NULL BO Name 2
6 BO_NAME_AC Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object