RC_PHONE_VW(SQL View) |
Index Back |
---|---|
View for PhoneCall Center application view for Phone. |
SELECT A.BO_ID_2 , A.BO_ID_1 , A.ROLE_TYPE_ID_2 , A.ROLE_TYPE_ID_1 , B.PROFILE_CM_SEQ , D.DESCR , D.DESCR , C.PHONE , C.EXTENSION FROM PS_BO_REL A , PS_BO_CM B , PS_CM C , PS_CM_PURP_TYPE D WHERE (A.BO_ID_2 = B.BO_ID OR A.BO_ID_1 = B.BO_ID) AND A.START_DT <= %CurrentDateIn AND A.END_DT > %CurrentDateIn AND B.CM_TYPE_ID = 2 AND B.CM_ID = C.CM_ID AND B.CM_TYPE_ID = C.CM_TYPE_ID AND B.CM_PURPOSE_TYPE_ID = D.CM_PURPOSE_TYPE_ID 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 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
2 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
3 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
4 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact |
5 | PROFILE_CM_SEQ_PHN | Number(31,0) | DECIMAL(31) NOT NULL | Used to store the contact method sequence number for a phone number. |
6 | RC_PURP_TYPE_DSC30 | Character(30) | VARCHAR2(30) NOT NULL | Phone Type |
7 | RC_PURP_TYPE_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Short Description |
8 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | This field stores the Telephone number. |
9 | EXTENSION | Character(6) | VARCHAR2(6) NOT NULL | This field stores the Phone extension. |