RC_RMA_EML_VW(SQL View) |
Index Back |
---|---|
RMA Phone Prompt ViewRetrieves the customer contact's Phone numbers. |
SELECT DISTINCT A.BO_ID , A.PROFILE_CM_SEQ , A.CM_CONCAT ,EMAIL_ADDR FROM PS_BO_SRCH_EML A WHERE A.ROLE_TYPE_ID IN (2,9) AND (A.PRIMARY_IND = 'Y' OR (A.PRIMARY_IND <> 'Y' AND A.BO_CM_START_DT = ( SELECT MAX(B.BO_CM_START_DT) FROM PS_BO_SRCH_EML B WHERE A.BO_ID = B.BO_ID AND A.CM_CONCAT = B.CM_CONCAT AND B.BO_CM_START_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 | PROFILE_CM_SEQ_EML | Number(31,0) | DECIMAL(31) NOT NULL | Used to store the contact method sequence number for a email address. |
3 | CM_CONCAT | Character(100) | VARCHAR2(100) NOT NULL | Concatenated Contact Method |
4 | EMAIL_ADDR | Character(70) | VARCHAR2(70) NOT NULL | Email address to store the address of email. |