RSFM_PARTCNT_VW(SQL View) |
Index Back |
---|---|
The Contact Partner ViewThis view returns all the Contacts for the Partner(Company). |
SELECT A.SETID , B.BO_ID_2 , A.PERSON_ID , N.BO_NAME_DISPLAY , C.FIRST_NAME , C.LAST_NAME , C.BO_NAME , A.BO_ID , B.START_DT , B.ROLE_TYPE_ID_1 , B.ROLE_TYPE_ID_2 , B.REL_TYPE_ID , A.SYNCID , A.SYNCDTTM FROM PS_RD_PERSON A , PS_BO_REL B , PS_BO_NAME C , PS_BO_NAME N WHERE A.BO_ID = B.BO_ID_1 AND A.BO_ID = C.BO_ID AND B.BO_ID_2 = N.BO_ID AND B.ROLE_TYPE_ID_1 = 8 AND B.ROLE_TYPE_ID_2 IN (2, 9, 11) AND B.REL_TYPE_ID IN (46, 47) AND B.START_DT <= %CurrentDateIn AND B.END_DT > %CurrentDateIn AND C.PRIMARY_IND = 'Y' |
# | 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_CUST | Number(31,0) | DECIMAL(31) NOT NULL |
This field stores the Business Object ID for the customer.
Prompt Table: RB_BO_CUST_VW |
3 | CONTACT_ID | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
4 | BO_NAME_DISPLAY | Character(80) | VARCHAR2(80) NOT NULL | Full name of the Business Object |
5 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
6 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
7 | BO_NAME | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
8 | BO_ID_CNTCT | Number(31,0) | DECIMAL(31) NOT NULL | This field represents the business object ID for a Contact |
9 | START_DT | Date(10) | DATE | Start date field to store start date value. |
10 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact |
11 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
12 | REL_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Relationship Type ID |
13 | 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. |
14 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |