RSF_COMP_PHN_VW(SQL View) |
Index Back |
---|---|
Phone/FAX for Company |
SELECT A.SETID , A.COMPANYID , C.CM_ID , B.BO_ID , B.PROFILE_CM_SEQ , B.CM_TYPE_ID , B.CM_PURPOSE_TYPE_ID , C.COUNTRY_CODE , C.PHONE , C.EXTENSION , D.DESCRSHORT FROM PS_RD_COMPANY A ,PS_BO_CM B , PS_CM C ,PS_CM_PURP_TYPE D WHERE A.BO_ID = B.BO_ID AND B.CM_ID = C.CM_ID AND B.CM_TYPE_ID = C.CM_TYPE_ID AND C.CM_TYPE_ID = 2 AND B.CM_PURPOSE_TYPE_ID IN (11, 14) 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 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
2 | COMPANYID | Character(15) | VARCHAR2(15) NOT NULL | Company ID |
3 | CM_ID | Number(31,0) | DECIMAL(31) NOT NULL | Contact Method ID |
4 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object 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_TYPE_ID | Number(6,0) | INTEGER NOT NULL | Contact Method Type ID |
7 | CM_PURPOSE_TYPE_ID | Number(6,0) | INTEGER NOT NULL | Relationship Contact Method Purpose ID |
8 | COUNTRY_CODE | Character(3) | VARCHAR2(3) NOT NULL | This field stores the Country Code values. |
9 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | This field stores the Telephone number. |
10 | EXTENSION | Character(6) | VARCHAR2(6) NOT NULL | This field stores the Phone extension. |
11 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |