RSEC_BO_CUST_VW(SQL View) |
Index Back |
---|---|
Customers and ConsumersThis is view that pulls in all the companies/customers and consumers. |
SELECT A.SYNCID , A.BO_ID , B.BO_NAME , B.BO_NAME_UPPER , B.NAME , B.LAST_NAME , B.FIRST_NAME , B.MIDDLE_NAME , D.SETID FROM PS_BO A , PS_BO_NAME B , PS_BO_ROLE C , PS_BC D WHERE A.BO_ID = B.BO_ID AND B.BO_ID = C.BO_ID AND B.PRIMARY_IND = 'Y' AND C.ROLE_TYPE_ID IN (2, 9) AND A.BO_ID = D.BO_ID AND D.CUST_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SYNCID | Number(10,0) | DECIMAL(10) NOT NULL | The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle. |
2 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
3 | BO_NAME | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
4 | BO_NAME_UPPER | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
5 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
6 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
7 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
8 | MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | Middle Name |
9 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |