TGT_CDH_COMP_VW(SQL View) |
Index Back |
---|---|
Company CDHThis view is used to find matches using data import |
SELECT DISTINCT A.SETID , D.BO_ID , D.BO_ID , A.COMPANYID , C.CUST_ID , A.INDUSTRY_ID , A.STOCK_SYMBOL , A.WEB_URL , D.BO_NAME , D.BO_NAME_AC , A.BUSINESS , A.LOC_TYPE , A.EMPL_TOTAL , A.REVENUE , A.MARKET , A.COUNTRY , C.CUST_STATUS , C.CUST_STATUS_DT , E.PARTY_ID , A.SIC_CODE , A.DUNS_NUMBER FROM PS_RD_COMPANY A , PS_BC C , PS_BO_NAME D , PS_RB_SYSTEM_REF E WHERE A.BO_ID = C.BO_ID AND C.BO_ID = D.BO_ID AND E.BO_ID = A.BO_ID |
# | 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 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
3 | BO_ID_2 | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID 2 |
4 | COMPANYID | Character(15) | VARCHAR2(15) NOT NULL | Company ID |
5 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Customer ID |
6 | INDUSTRY_ID | Character(30) | VARCHAR2(30) NOT NULL | Industry ID. |
7 | STOCK_SYMBOL | Character(10) | VARCHAR2(10) NOT NULL | This field is used to store the Stock Symbol |
8 | WEB_URL | Character(130) | VARCHAR2(130) NOT NULL | URL of a customer's website. |
9 | BO_NAME | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
10 | BO_NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
11 | BUSINESS | Character(4) | VARCHAR2(4) NOT NULL | Business |
12 | LOC_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Location type. For example: Subsidiary, Division, Branch, Heaquarters, Single Location.
01=Subsidiary 02=Division 03=Branch 04=Headquarters 05=Single Location |
13 | EMPL_TOTAL | Number(9,0) | DECIMAL(9) NOT NULL | Total number of employees. Holds up to 9 integer positions. |
14 | REVENUE | Character(4) | VARCHAR2(4) NOT NULL | Revenue |
15 | MARKET | Character(3) | VARCHAR2(3) NOT NULL | Market |
16 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
17 | CUST_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Customer Status Indicator. BC.CUST_STATUS
A=Active I=Inactive |
18 | CUST_STATUS_DT | Date(10) | DATE | The date that the status of a customer takes effect. |
19 | PARTY_ID | Number(15,0) | DECIMAL(15) NOT NULL | CDH INTERFACE TABLE FIELD - PARTY_ID |
20 | SIC_CODE | Character(10) | VARCHAR2(10) NOT NULL | Standard Industry Code |
21 | DUNS_NUMBER | Character(20) | VARCHAR2(20) NOT NULL | DUNS Number |