RF_PRSN_PC_VW(SQL View) |
Index Back |
---|---|
View for Partner ContactSearch for Partner Contacts of Installed Product |
SELECT B.BO_ID_2 , B.BO_ID_1 , A.PERSON_ID , A.FIRST_NAME , A.LAST_NAME , A.BO_NAME_DISPLAY , A.BO_NAME_AC , A.TITLE , A.EMPLID , A.SETID , A.CONTACT_FLAG %Concat A.CONSUMER_FLAG %Concat A.WORKER_FLAG , A.MARKET , A.SYNCID , B.REL_TYPE_ID , B.BO_ID_1 , B.ROLE_TYPE_ID_1 , B.ROLE_TYPE_ID_2 FROM PS_RD_PRSN_ROLES A , PS_BO_REL B WHERE B.REL_TYPE_ID IN (46, 47) AND B.BO_ID_1 = A.BO_ID AND B.START_DT <= %CurrentDateIn AND (B.END_DT > %CurrentDateIn OR B.END_DT IS NULL) AND A.CONTACT_FLAG = 'Y' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID_PTNR_CMP | Signed Number(32,0) | DECIMAL(31) NOT NULL | Partner Company Business Object ID. |
2 | BO_ID_PTNR_CNT | Signed Number(32,0) | DECIMAL(31) NOT NULL | Partner Contact Business Object ID. |
3 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
4 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
5 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
6 | BO_NAME_DISPLAY | Character(80) | VARCHAR2(80) NOT NULL | Full name of the Business Object |
7 | BO_NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
8 | TITLE | Character(35) | VARCHAR2(35) NOT NULL | Title |
9 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
10 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
11 | ROLES | Character(4) | VARCHAR2(4) NOT NULL |
Role Combination Indicator for Individual. The characters in the fields are used to represent different combinations of roles a person could have. See the translation values defined in the field.
NNN=None NNNN=None NNNY=POI NNY=Worker NNYN=Worker NNYY=Worker, POI NYN=Consumer NYNN=Consumer NYNY=Consumer,POI NYY=Consumer, Worker NYYN=Consumer, Worker NYYY=Consumer, Worker, POI YNN=Contact YNNN=Contact YNNY=Contact, POI YNY=Contact, Worker YNYN=Contact, Worker YNYY=Contact, Worker, POI YYN=Contact, Consumer YYNN=Contact, Consumer YYNY=Contact, Consumer, POI YYY=Contact, Consumer, Worker YYYN=Contact, Consumer, Worker YYYY=Contact, Consumer, Worker, POI |
12 | MARKET | Character(3) | VARCHAR2(3) NOT NULL | Market |
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 | REL_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Relationship Type ID |
15 | BO_ID_1 | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID 1 |
16 | ROLE_TYPE_ID_1 | Number(12,0) | DECIMAL(12) NOT NULL | Role Type ID |
17 | ROLE_TYPE_ID_2 | Number(12,0) | DECIMAL(12) NOT NULL | Role Type ID |