BO_ROLECM_CVW(SQL View) |
Index Back |
---|---|
All Current Role CM8.8 all role CMs for current data within the ROLE_START/END_DT, CM_USE_START/END_DT, CM_START/END_DT. |
SELECT A.BO_ID , A.ROLE_TYPE_ID , B.PROFILE_CM_SEQ , A.ROLE_START_DT , A.ROLE_END_DT , C.BO_CM_START_DT , C.BO_CM_END_DT , B.CM_USE_START_DT , B.CM_USE_END_DT , B.PRIMARY_IND , C.CM_NICKNAME , C.CM_TYPE_ID , C.CM_PURPOSE_TYPE_ID , C.CM_ID , C.PHYSICAL_LOCATION FROM PS_BO_ROLE A , PS_BO_CM_USE B , PS_BO_CM C WHERE A.BO_ID = B.BO_ID AND A.ROLE_TYPE_ID = B.ROLE_TYPE_ID AND B.BO_CM_USE_TYPE = 'R' AND A.BO_ID = C.BO_ID AND B.PROFILE_CM_SEQ = C.PROFILE_CM_SEQ AND A.ROLE_START_DT <= %CurrentDateIn AND A.ROLE_END_DT > %CurrentDateIn AND B.CM_USE_START_DT <= %CurrentDateIn AND B.CM_USE_END_DT > %CurrentDateIn AND C.BO_CM_START_DT <= %CurrentDateIn AND C.BO_CM_END_DT > %CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL |
Business Object ID
Prompt Table: BO |
2 | ROLE_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Role Type 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 | ROLE_START_DT | Date(10) | DATE | Start Date of Role |
5 | ROLE_END_DT | Date(10) | DATE | End Date of Role |
6 | BO_CM_START_DT | Date(10) | DATE | The date that a Contact Method of a Business Object takes effect. |
7 | BO_CM_END_DT | Date(10) | DATE | End date of a Contact Method of a Business Object |
8 | CM_USE_START_DT | Date(10) | DATE | Contact Method Use Start Date |
9 | CM_USE_END_DT | Date(10) | DATE | End date of a Contact Method Use |
10 | PRIMARY_IND | Character(1) | VARCHAR2(1) NOT NULL |
Flag that indicates whether or not it is Primary
N=No Y=Yes |
11 | CM_NICKNAME | Character(30) | VARCHAR2(30) NOT NULL | Nickname of a Contact Method |
12 | CM_TYPE_ID | Number(6,0) | INTEGER NOT NULL | Contact Method Type ID |
13 | CM_PURPOSE_TYPE_ID | Number(6,0) | INTEGER NOT NULL |
Relationship Contact Method Purpose ID
Prompt Table: CM_PURP_TYPE |
14 | CM_ID | Number(31,0) | DECIMAL(31) NOT NULL |
Contact Method ID
Prompt Table: CM |
15 | PHYSICAL_LOCATION | Character(30) | VARCHAR2(30) NOT NULL | Physical Location (Free-Form) |