BO_BC_CNTCT2_VW(SQL View) |
Index Back |
---|---|
Contacts ViewList of Contacts for a Person_ID |
SELECT P.PERSON_ID , A.* , B.BO_NAME FROM PS_BO_CST_CNTCT_VW A , PS_RD_PERSON P , PS_BO_NAME B WHERE A.BO_ID = P.BO_ID AND A.BO_ID_CUST = B.BO_ID (+) AND B.PRIMARY_IND = 'Y' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
2 | REL_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Relationship Type ID |
3 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
4 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
5 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
6 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Customer ID |
7 | CUST_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Customer Status Indicator. BC.CUST_STATUS
A=Active I=Inactive |
8 | SHIP_TO_FLG | Character(1) | VARCHAR2(1) NOT NULL | A flag indicating that the customer or address is a valid Ship To customer or address. |
9 | SOLD_TO_FLG | Character(1) | VARCHAR2(1) NOT NULL | A boolean that flags whether or not the customer is a valid Sold To customer. |
10 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
11 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact |
12 | BO_NAME | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |