BO_PMCT_EML_VW(SQL View) |
Index Back |
---|---|
Primary Contact EmailThis is the Primary Contact Email view. |
SELECT A.BO_ID_2 , D.BO_ID , E.CM_ID , E.EMAIL_ADDR FROM PS_BO_REL A , PS_BO_REL_CAT_ITEM B , PS_BO D , PS_BO_PRIM_REL_EML E WHERE B.BO_REL_CATEGORY_ID = 2 AND A.START_DT <= %CurrentDateIn AND A.END_DT > %CurrentDateIn AND A.REL_TYPE_ID = B.REL_TYPE_ID AND A.BO_ID_1 = D.BO_ID AND D.BO_ID = E.BO_ID AND A.BO_REL_ID = E.BO_REL_ID |
# | 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 | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
3 | CM_ID | Number(31,0) | DECIMAL(31) NOT NULL | Contact Method ID |
4 | EMAIL_ADDR | Character(70) | VARCHAR2(70) NOT NULL | Email address to store the address of email. |