RSF_PER_C_PH_VW

(SQL View)
Index Back

Person Cntct Ph Vw

A view of all person contact phones

SELECT DISTINCT D.PERSON_ID , A.PHONE , A.COUNTRY_CODE , A.PROFILE_CM_SEQ , A.PRIMARY_IND FROM PS_BO_SRCH_PHN A , PS_RD_PERSON D WHERE A.BO_CM_USE_TYPE = 'R' AND A.BO_ID = D.BO_ID AND A.CM_PURPOSE_TYPE_ID = 12 AND A.ROLE_TYPE_ID IN (8, 9) AND A.BO_CM_START_DT = ( SELECT MAX (BO_CM_START_DT) FROM PS_BO_SRCH_PHN WHERE BO_ID = A.BO_ID AND PROFILE_CM_SEQ = A.PROFILE_CM_SEQ)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CONTACT_ID Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts
2 CELL_PHONE Character(24) VARCHAR2(24) NOT NULL Cell Phone
3 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL This field stores the Country Code values.
4 PROFILE_CM_SEQ Number(31,0) DECIMAL(31) NOT NULL The Contact Method Profile ID is a key field that is used to reference the details of a Contact Method in various CM tables.
5 PRIMARY_IND Character(1) VARCHAR2(1) NOT NULL Flag that indicates whether or not it is Primary
N=No
Y=Yes