RD_ABE_EMAIL_VW(SQL View) |
Index Back |
---|---|
First Email ABE ViewThis is the first Email in the first ABE view. |
SELECT A.BO_ID , A.PROFILE_CM_SEQ , C.EMAIL_ADDR , C.CM_CONCAT FROM PS_BO_CM A , PS_BO_ABE_DTL B , PS_CM C WHERE A.BO_ID = B.BO_ID AND A.PROFILE_CM_SEQ = B.PROFILE_CM_SEQ AND B.ABE_SEQ = 1 AND A.CM_TYPE_ID = 4 AND A.BO_CM_START_DT <= %CurrentDateIn AND A.BO_CM_END_DT > %CurrentDateIn AND A.CM_ID = C.CM_ID AND A.PROFILE_CM_SEQ = ( SELECT MIN(D.PROFILE_CM_SEQ) FROM PS_BO_SRCH_EML D WHERE D.BO_ID = A.BO_ID AND D.BO_CM_START_DT <= %CurrentDateIn AND D.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 | 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. |
3 | EMAIL_ADDR | Character(70) | VARCHAR2(70) NOT NULL | Email address to store the address of email. |
4 | CM_CONCAT | Character(100) | VARCHAR2(100) NOT NULL | Concatenated Contact Method |