RD_WS_P_EML_SVW(SQL View) |
Index Back |
---|---|
WS Search for Person EmailThis view listed out all person emails that are current for BO_CM_START_DT and BO_CM_END_DT It does not include any Worker Home Contacts. That means it is secured for Worker Security. |
SELECT A.SYNCID , A.BO_ID , B.PROFILE_CM_SEQ , B.CM_ID , B.EMAIL_ADDR FROM PS_RD_PERSON A , PS_BO_SRCH_EML B WHERE A.BO_ID = B.BO_ID AND B.BO_CM_START_DT <= %CurrentDateIn AND B.BO_CM_END_DT > %CurrentDateIn AND B.PRIMARY_IND = 'Y' AND B.CM_ID NOT IN ( SELECT D.CM_ID FROM PS_BO_CM_USE_W_VW D WHERE D.BO_ID = B.BO_ID) |
# | 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. |