RSF_BC_CUST_VW(SQL View) |
Index Back |
---|---|
The Contact Customer viewThis view returns all the customers the person belongs to. |
SELECT A.BO_ID , A.BO_NAME , C.ROLE_TYPE_ID , D.DESCR FROM PS_BO A , PS_BC B , PS_BO_ROLE C , PS_BO_ROLE_TYPE D WHERE A.BO_ID = B.BO_ID AND A.BO_ID = C.BO_ID AND B.CUSTOMER_IND = 'Y' AND C.ROLE_TYPE_ID IN (2, 9) AND C.ROLE_TYPE_ID = D.ROLE_TYPE_ID |
# | 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.
Prompt Table: RB_BO_CUST_VW |
2 | NAME1 | Character(50) | VARCHAR2(50) NOT NULL | Generic 50 character name field for storing names. |
3 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
4 | ROLE_TYPE_NAME | Character(30) | VARCHAR2(30) NOT NULL | Role Type Name |