BO_PRSNCM_PPHON(SQL View) |
Index Back |
---|---|
Person Primary PhoneThis is the Person Primary Phone view. |
SELECT DISTINCT A.PERSON_ID , B.CM_TYPE_ID , B.CM_USE_START_DT , B.CM_ID , B.PROFILE_CM_SEQ , B.CM_USE_END_DT , B.CM_NICKNAME , B.CM_PURPOSE_TYPE_ID , B.PHYSICAL_LOCATION , B.COUNTRY_CODE , B.PHONE , B.EXTENSION FROM PS_RD_PERSON A , PS_BO_ROLECM_PPHON B WHERE A.BO_ID = B.BO_ID AND B.ROLE_TYPE_ID = 1 AND B.BO_CM_START_DT <= %CurrentDateIn AND B.BO_CM_END_DT > %CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
2 | CM_TYPE_ID | Number(6,0) | INTEGER NOT NULL | Contact Method Type ID |
3 | CM_USE_START_DT | Date(10) | DATE | Contact Method Use Start Date |
4 | CM_ID | Number(31,0) | DECIMAL(31) NOT NULL | Contact Method ID |
5 | 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. |
6 | CM_USE_END_DT | Date(10) | DATE | End date of a Contact Method Use |
7 | CM_NICKNAME | Character(30) | VARCHAR2(30) NOT NULL | Nickname of a Contact Method |
8 | CM_PURPOSE_TYPE_ID | Number(6,0) | INTEGER NOT NULL |
Relationship Contact Method Purpose ID
Prompt Table: CM_PURP_TYPE |
9 | PHYSICAL_LOCATION | Character(30) | VARCHAR2(30) NOT NULL | Physical Location (Free-Form) |
10 | COUNTRY_CODE | Character(3) | VARCHAR2(3) NOT NULL | This field stores the Country Code values. |
11 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | This field stores the Telephone number. |
12 | EXTENSION | Character(6) | VARCHAR2(6) NOT NULL | This field stores the Phone extension. |