RSF_PER_EMAILVW

(SQL View)
Index Back

Person Email Vw

A view of all Sales Person Email IDs

SELECT DISTINCT D.PERSON_ID , A.EMAIL_ADDR , A.PROFILE_CM_SEQ , A.PRIMARY_IND FROM PS_BO_SRCH_EML A , PS_RD_PERSON D WHERE A.BO_CM_USE_TYPE = 'R' AND A.BO_ID = D.BO_ID AND A.ROLE_TYPE_ID IN (8, 9) AND A.BO_CM_START_DT = ( SELECT MAX (BO_CM_START_DT) FROM PS_BO_SRCH_EML 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 EMAILID Character(70) VARCHAR2(70) NOT NULL A user's E-mail address
3 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.
4 PRIMARY_IND Character(1) VARCHAR2(1) NOT NULL Flag that indicates whether or not it is Primary
N=No
Y=Yes