BO_PRI_EMAIL_VW

(SQL View)
Index Back

Primary Email for a Bus Object

This is the Primary Email for a Bus Object view for Person and Company SES.

SELECT A.BO_ID ,A.ROLE_TYPE_ID , A.EMAIL_ADDR FROM PS_BO_SRCH_EML A WHERE A.CM_USE_START_DT <= %CurrentDateIn AND A.CM_USE_END_DT > %CurrentDateIn AND A.ROLE_TYPE_ID <> 4 AND primary_ind='Y' UNION SELECT A.BO_ID ,86 , A.EMAIL_ADDR FROM PS_BO_SRCH_EML A WHERE A.CM_USE_START_DT <= %CurrentDateIn AND A.CM_USE_END_DT > %CurrentDateIn AND A.ROLE_TYPE_ID = 4 AND cm_purpose_type_id = 27

# 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 ROLE_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Role Type ID
3 EMAIL_ADDR Character(70) VARCHAR2(70) NOT NULL Email address to store the address of email.