BO_PRIM_CM_VW_C(SQL View) |
Index Back |
---|---|
Contact MethodThis is the primary Contact Method view. |
SELECT A.BO_ID , B.CM_ID , C.CM_TYPE_ID , MAX(B.PROFILE_CM_SEQ) , C.CM_CONCAT , C.EMAIL_ADDR , C.CITY , C.STATE , C.COUNTRY FROM PS_BO_CM_USE A , PS_BO_CM B , PS_CM C WHERE A.PROFILE_CM_SEQ = B.PROFILE_CM_SEQ AND A.CM_USE_START_DT = B.BO_CM_START_DT AND %CurrentDateIn >= A.CM_USE_START_DT AND %CurrentDateIn < A.CM_USE_END_DT AND %CurrentDateIn >= B.BO_CM_START_DT AND %CurrentDateIn < B.BO_CM_END_DT AND B.CM_ID = C.CM_ID AND A.PRIMARY_IND = 'Y' AND A.BO_ID = B.BO_ID GROUP BY A.BO_ID, B.CM_ID, C.CM_TYPE_ID, C.CM_CONCAT, C.EMAIL_ADDR, C.CITY, C.STATE, C.COUNTRY |
# | 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 | CM_ID | Number(31,0) | DECIMAL(31) NOT NULL | Contact Method ID |
3 | CM_TYPE_ID | Number(6,0) | INTEGER NOT NULL |
Contact Method Type ID
Prompt Table: CM_TYPE |
4 | 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. |
5 | CM_CONCAT | Character(100) | VARCHAR2(100) NOT NULL | Concatenated Contact Method |
6 | EMAIL_ADDR | Character(70) | VARCHAR2(70) NOT NULL | Email address to store the address of email. |
7 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
8 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
9 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |