RD_CTCT_PADDR_V

(SQL View)
Index Back

primary address for contact

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

SELECT P.PERSON_ID , B.BO_ID , B.BO_NAME_DISPLAY , C.PRIMARY_IND , 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 P.BO_ID = A.BO_ID_1 AND D.CM_PURPOSE_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_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
3 BO_NAME_DISPLAY Character(80) VARCHAR2(80) NOT NULL Full name of the Business Object
4 PRIMARY_IND Character(1) VARCHAR2(1) NOT NULL Flag that indicates whether or not it is Primary
N=No
Y=Yes
5 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
6 CITY Character(30) VARCHAR2(30) NOT NULL City
7 STATE Character(6) VARCHAR2(6) NOT NULL State
8 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal