RD_CTCP_ADDR_VW

(SQL View)
Index Back

contact snapshot view

This is the record for the view that shows the Primary Address for the Business Object by Relationship.

SELECT P.PERSON_ID , B.BO_NAME_DISPLAY , E.ADDRESS1 , E.CITY , E.STATE , E.POSTAL FROM PS_BO_REL A , PS_BO_NAME B , PS_BO_CM_USE C , PS_BO_CM D , PS_CM E , PS_RD_PERSON P WHERE B.BO_ID = C.BO_ID AND C.PROFILE_CM_SEQ = D.PROFILE_CM_SEQ AND A.REL_TYPE_ID = 9 AND A.BO_ID_2 = C.BO_ID AND C.ROLE_TYPE_ID = 2 AND C.PRIMARY_IND = 'Y' AND D.CM_ID = E.CM_ID AND A.BO_ID_1 = P.BO_ID AND D.CM_TYPE_ID = 1

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
2 BO_NAME_DISPLAY Character(80) VARCHAR2(80) NOT NULL Full name of the Business Object
3 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
4 CITY Character(30) VARCHAR2(30) NOT NULL City
5 STATE Character(6) VARCHAR2(6) NOT NULL State
6 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal