RC_EMAIL_VW(SQL View) |
Index Back |
---|---|
BO Email addressThis view brings email address of a specific customer, contact. |
SELECT DISTINCT A.BO_ID_2 , A.BO_ID_1 , B.PROFILE_CM_SEQ , D.DESCR , D.DESCR , C.EMAIL_ADDR FROM PS_BO_REL A , PS_BO_CM B , PS_CM C , PS_CM_PURP_TYPE D WHERE (A.BO_ID_2 = B.BO_ID OR A.BO_ID_1 = B.BO_ID) AND A.START_DT <= %CurrentDateIn AND A.END_DT > %CurrentDateIn AND B.CM_TYPE_ID = 4 AND B.CM_TYPE_ID = C.CM_TYPE_ID AND B.CM_ID = C.CM_ID AND B.CM_PURPOSE_TYPE_ID = D.CM_PURPOSE_TYPE_ID AND B.BO_CM_START_DT <= %CurrentDateIn AND B.BO_CM_END_DT > %CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
2 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
3 | PROFILE_CM_SEQ_EML | Number(31,0) | DECIMAL(31) NOT NULL | Used to store the contact method sequence number for a email address. |
4 | RC_PURP_TYPE_DSC30 | Character(30) | VARCHAR2(30) NOT NULL | Email Type |
5 | RC_PURP_TYPE_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Short Description |
6 | EMAIL_ADDR | Character(70) | VARCHAR2(70) NOT NULL | Email address to store the address of email. |