RB_CUST_CNT_VW

(SQL View)
Index Back

RB_CUST_360_VW

RB_CUST_360_VW SELECT DISTINCT A.BO_ID , A.ROLE_TYPE_ID , C.BO_NAME , B.BO_ID_CONTACT , B.ROLE_TYPE_ID_CNTCT , D.BO_NAME , G.ADDRESS1 , G.CITY , G.COUNTRY , G.STATE , G.POSTAL , %subrec(RB_AUDIT_SBR, A) FROM PS_BO_ROLE A LEFT OUTER JOIN PS_BO_ROLE_CNTCT_V B ON B.BO_ID = A.BO_ID AND B.START_DT <= %CurrentDateIn AND B.END_DT > %CurrentDateIn LEFT OUTER JOIN PS_BO_NAME D ON D.BO_ID = B.BO_ID_CONTACT AND D.PRIMARY_IND = 'Y' , PS_CM G , PS_BO_CM E , PS_BO_CM_USE F , PS_BO_NAME C WHERE C.BO_ID = A.BO_ID AND C.PRIMARY_IND = 'Y' AND G.CM_ID = E.CM_ID AND E.CM_TYPE_ID = 1 AND E.BO_CM_START_DT <= %CurrentDateIn AND E.BO_CM_END_DT > %CurrentDateIn AND E.BO_ID = F.BO_ID AND E.PROFILE_CM_SEQ = F.PROFILE_CM_SEQ AND F.BO_CM_USE_TYPE = 'R' AND F.PRIMARY_IND = 'Y' AND F.CM_USE_START_DT <= %CurrentDateIn AND F.CM_USE_END_DT > %CurrentDateIn AND E.BO_ID = A.BO_ID AND A.ROLE_TYPE_ID IN (2,9) AND F.ROLE_TYPE_ID = A.ROLE_TYPE_ID

SELECT A.BO_ID , A.ROLE_TYPE_ID , B.BO_ID_CONTACT , B.ROLE_TYPE_ID_CNTCT , N.BO_NAME_DISPLAY , %subrec(RB_AUDIT_SBR,A) FROM PS_BO_ROLE A , PS_BO_ROLE_CNTCT_V B , PS_BO_NAME N WHERE A.BO_ID = B.BO_ID(+) AND B.ROLE_TYPE_ID_CNTCT = 8 AND A.ROLE_TYPE_ID = B.ROLE_TYPE_ID (+) AND B.START_DT <= %CurrentDateIn AND B.END_DT > %CurrentDateIn AND B.BO_ID_CONTACT = N.BO_ID(+)

# 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 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
3 BO_ID_CONTACT Number(31,0) DECIMAL(31) NOT NULL This field indicates the Business Object ID for the contact.
4 ROLE_TYPE_ID_CNTCT Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the contact
5 BO_NAME_DISPLAY_1 Character(80) VARCHAR2(80) NOT NULL This field represents the Display Name for a business object
6 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
7 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
8 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
9 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
10 SYNCID Number(10,0) DECIMAL(10) NOT NULL The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle.
11 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time