BO_ROLECM_CEMAL

(SQL View)
Index Back

Role Current Email

Shows only Business Object Role's current Email

SELECT A.BO_ID , A.ROLE_TYPE_ID , A.PROFILE_CM_SEQ , A.ROLE_START_DT , A.BO_CM_START_DT , A.CM_USE_START_DT , A.ROLE_END_DT , A.BO_CM_END_DT , A.CM_USE_END_DT , A.CM_TYPE_ID , A.CM_ID , A.PRIMARY_IND , A.CM_NICKNAME , A.CM_PURPOSE_TYPE_ID , A.PHYSICAL_LOCATION , B.EMAIL_ADDR , B.EMAIL_DOMAIN , B.HTML_FLAG FROM PS_BO_ROLE_CM_VW A , PS_CM B WHERE A.CM_ID = B.CM_ID AND B.CM_TYPE_ID = 4 AND A.ROLE_START_DT <= %CurrentDateIn AND A.ROLE_END_DT > %CurrentDateIn AND A.CM_USE_START_DT <= %CurrentDateIn AND A.CM_USE_END_DT > %CurrentDateIn AND A.BO_CM_START_DT <= %CurrentDateIn AND A.BO_CM_END_DT > %CurrentDateIn

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
2 ROLE_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Role Type ID
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 ROLE_START_DT Date(10) DATE Start Date of Role
5 BO_CM_START_DT Date(10) DATE The date that a Contact Method of a Business Object takes effect.
6 CM_USE_START_DT Date(10) DATE Contact Method Use Start Date
7 ROLE_END_DT Date(10) DATE End Date of Role
8 BO_CM_END_DT Date(10) DATE End date of a Contact Method of a Business Object
9 CM_USE_END_DT Date(10) DATE End date of a Contact Method Use
10 CM_TYPE_ID Number(6,0) INTEGER NOT NULL Contact Method Type ID
11 CM_ID Number(31,0) DECIMAL(31) NOT NULL Contact Method ID
12 PRIMARY_IND Character(1) VARCHAR2(1) NOT NULL Flag that indicates whether or not it is Primary
N=No
Y=Yes
13 CM_NICKNAME Character(30) VARCHAR2(30) NOT NULL Nickname of a Contact Method
14 CM_PURPOSE_TYPE_ID Number(6,0) INTEGER NOT NULL Relationship Contact Method Purpose ID

Prompt Table: CM_PURP_TYPE

15 PHYSICAL_LOCATION Character(30) VARCHAR2(30) NOT NULL Physical Location (Free-Form)
16 EMAIL_ADDR Character(70) VARCHAR2(70) NOT NULL Email address to store the address of email.
17 EMAIL_DOMAIN Character(50) VARCHAR2(50) NOT NULL Email Domain
18 HTML_FLAG Character(1) VARCHAR2(1) NOT NULL Field to determine if an Email Address can receive HTML Based Email.
N=No
Y=Yes