RD_PRSN_PC_S_VW(SQL View) |
Index Back |
---|---|
View for Person SearchBasic View for Person Search. This view is used by the users who don't have eligibility of viewing workers sensitive information and semi-sensitive information. |
SELECT A.PERSON_ID , A.FIRST_NAME , C.FIRST_NAME_SRCH , A.LAST_NAME , C.LAST_NAME_SRCH , C.BO_NAME , C.BO_NAME_UPPER , A.BO_NAME_AC , A.TITLE , A.EMPLID , A.SETID , A.BO_ID , 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 FROM PS_RD_PRSN_ROLES A , PS_BO_REL B , PS_BO_NAME C WHERE A.BO_ID = B.BO_ID_1 AND B.BO_ID_2 = C.BO_ID AND A.CONTACT_FLAG = 'Y' AND B.REL_TYPE_ID IN (46, 47) AND B.START_DT <= %CurrentDateIn AND B.END_DT > %CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
2 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
3 | FIRST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | First Name |
4 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
5 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
6 | BO_NAME | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
7 | BO_NAME_UPPER | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
8 | BO_NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
9 | TITLE | Character(35) | VARCHAR2(35) NOT NULL | Title |
10 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
11 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
12 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
13 | 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 |
14 | MARKET | Character(3) | VARCHAR2(3) NOT NULL | Market |
15 | 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. |
16 | REL_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Relationship Type ID |
17 | BO_ID_1 | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID 1 |
18 | ROLE_TYPE_ID_1 | Number(12,0) | DECIMAL(12) NOT NULL | Role Type ID |