TGT_CMP_SITE_VW(SQL View) |
Index Back |
---|---|
Company / Site Import ViewView used in the data import process (RBIMPORT) used for finding matches of Companies and Sites |
SELECT DISTINCT A.SETID , B.BO_ID_CUST , B.BO_ID_CUST , D.CUST_ID , C.BO_NAME , E.BO_NAME_AC , E.BO_NAME_UPPER , B.BO_ID_SITE , A.SITE_ID , B.ROLE_TYPE_ID_SITE , B.BO_REL_ID , D.CUST_STATUS , D.CUST_STATUS_DT FROM PS_RD_SITE A , PS_BO_SITE_VW B , PS_BO C , PS_BC D , PS_BO_NAME E WHERE A.BO_ID = B.BO_ID_SITE AND B.BO_ID_SITE = C.BO_ID AND C.BO_ID = D.BO_ID AND D.BO_ID = E.BO_ID AND B.START_DT <= %CurrentDateIn AND B.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 | BO_ID_2 | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID 2 |
3 | BO_ID_PARENT | Number(31,0) | DECIMAL(31) NOT NULL | Business Object ID of the Parent Company. |
4 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Customer ID |
5 | BO_NAME | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
6 | BO_NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
7 | BO_NAME_UPPER | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
8 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
9 | SITE_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations. |
10 | ROLE_TYPE_ID_SITE | Number(12,0) | DECIMAL(12) NOT NULL | Role Type ID |
11 | BO_REL_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Relationship ID of a Business Object |
12 | CUST_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Customer Status Indicator. BC.CUST_STATUS
A=Active I=Inactive |
13 | CUST_STATUS_DT | Date(10) | DATE | The date that the status of a customer takes effect. |