RD_DQ_PS_EML_VW

(SQL View)
Index Back

Partship Email for Deep Query

This view listed out all Parntership Emails that are current for BO_CM_START_DT and BO_CM_END_DT

SELECT A.SYNCID , A.BO_ID , B.PROFILE_CM_SEQ , B.CM_ID , B.EMAIL_ADDR FROM PS_RBF_PARTSHP A , PS_BO_CM_VW B WHERE A.BO_ID = B.BO_ID AND B.BO_CM_START_DT <= %CurrentDateIn AND B.BO_CM_END_DT > %CurrentDateIn AND B.CM_TYPE_ID = 4

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SYNCID Number(10,0) DECIMAL(10) NOT NULL The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle.
2 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object 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 CM_ID Number(31,0) DECIMAL(31) NOT NULL Contact Method ID
5 EMAIL_ADDR Character(70) VARCHAR2(70) NOT NULL Email address to store the address of email.