RF_RMA_PHON_VW2(SQL View) |
Index Back |
---|---|
RMA Phone Prompt ViewRetrieves the customer contact's Phone numbers. |
SELECT DISTINCT A.BO_ID_2 , A.BO_ID_1 , B.PROFILE_CM_SEQ , D.DESCR , C.COUNTRY_CODE , C.PHONE , C.EXTENSION , C.COUNTRY_CODE %Concat C.PHONE %Concat 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_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 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | COUNTRY_CODE | Character(3) | VARCHAR2(3) NOT NULL | This field stores the Country Code values. |
6 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | This field stores the Telephone number. |
7 | EXTENSION | Character(6) | VARCHAR2(6) NOT NULL | This field stores the Phone extension. |
8 | DESCR40 | Character(40) | VARCHAR2(40) NOT NULL | This is a description field that holds 40 characters. |