BO_CM_USE_W_VW(SQL View) |
Index Back |
---|---|
Worker Home Contact MethodsThis view only contains active worker home contact methods |
SELECT B.BO_ID , B.PROFILE_CM_SEQ , B.CM_USE_START_DT , B.CM_USE_ID , B.ROLE_TYPE_ID , B.BO_REL_ID , B.BO_REL_POSITION , C.CM_ID , CASE WHEN B.CM_USE_END_DT > %CurrentDateIn THEN 'A' ELSE 'I' END , B.BO_CM_USE_TYPE , B.CM_USE_START_DT , B.CM_USE_END_DT , B.PRIMARY_IND , B.ROW_LASTMANT_OPRID , B.ROW_LASTMANT_DTTM FROM PS_BO_CM_USE B , PS_BO_CM C WHERE B.PROFILE_CM_SEQ = C.PROFILE_CM_SEQ AND B.BO_ID = C.BO_ID AND B.ROLE_TYPE_ID = 4 AND C.CM_PURPOSE_TYPE_ID IN (35, 15, 30) AND B.CM_USE_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 |
2 | 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. |
3 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | CM_USE_ID | Number(6,0) | INTEGER NOT NULL | Relationship Contact Method Purpose ID |
5 | ROLE_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Role Type ID |
6 | BO_REL_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Relationship ID of a Business Object |
7 | BO_REL_POSITION | Character(1) | VARCHAR2(1) NOT NULL |
This field describes the position of a Relationship pertaining to a BO. i.e. - To identify a BO in a relationship, BO_REL_ID and BO_REL_POSITION give you the relative position F = First, S = Second.
F=First Position S=Second Postion |
8 | CM_ID | Number(31,0) | DECIMAL(31) NOT NULL | Contact Method ID |
9 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
10 | BO_CM_USE_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Use type of a Busines Object's Contact Method.
E=Business Object Relationship R=Business Object Role U=Contact Method Usage |
11 | CM_USE_START_DT | Date(10) | DATE | Contact Method Use Start Date |
12 | CM_USE_END_DT | Date(10) | DATE | End date of a Contact Method Use |
13 | PRIMARY_IND | Character(1) | VARCHAR2(1) NOT NULL |
Flag that indicates whether or not it is Primary
N=No Y=Yes |
14 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
15 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |