RF_RMA_PHONLVW2(SQL View) |
Index Back |
---|---|
RMA Phone Prompt RL ViewRetrieves the customer contact's Phone numbers. |
SELECT DISTINCT A.BO_ID_2 , A.BO_ID_1 , B.PROFILE_CM_SEQ , D.LANGUAGE_CD , D.DESCR , C.COUNTRY_CODE , C.PHONE , C.EXTENSION FROM PS_BO_REL A , PS_BO_CM B , PS_CM C , PS_CM_PURP_TYP_LNG 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_CNTCT | Number(31,0) | DECIMAL(31) NOT NULL | This field represents the business object ID for a Contact |
3 | PROFILE_CM_SEQ_PHN | Number(31,0) | DECIMAL(31) NOT NULL | Used to store the contact method sequence number for a phone number. |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | COUNTRY_CODE | Character(3) | VARCHAR2(3) NOT NULL | This field stores the Country Code values. |
7 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | This field stores the Telephone number. |
8 | EXTENSION | Character(6) | VARCHAR2(6) NOT NULL | This field stores the Phone extension. |