RB_CNT_SRCH_VW(SQL View) |
Index Back |
---|---|
Contact Search ViewThis view returns all the contacts for a customer |
SELECT DISTINCT A.BO_ID , A.ROLE_TYPE_ID , M.BO_NAME_DISPLAY , B.BO_ID_CONTACT , N.BO_NAME_DISPLAY , B.ROLE_TYPE_ID_CNTCT , %subrec(RB_AUDIT_SBR,A) FROM PS_BO_ROLE A , PS_BO_ROLE_CNTCT_V B , PS_BO_NAME N , PS_BO_NAME M WHERE A.BO_ID = M.BO_ID AND A.BO_ID = B.BO_ID (+) AND B.ROLE_TYPE_ID_CNTCT = 8 AND A.ROLE_TYPE_ID = B.ROLE_TYPE_ID (+) AND B.START_DT <= %CurrentDateIn AND B.END_DT > %CurrentDateIn AND B.BO_ID_CONTACT = N.BO_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. |
2 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
3 | BO_NAME | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
4 | BO_ID_CNTCT | Number(31,0) | DECIMAL(31) NOT NULL | This field represents the business object ID for a Contact |
5 | BO_NAME_CONTACT | Character(50) | VARCHAR2(50) NOT NULL | BO_NAME_CONTACT |
6 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact |
7 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
8 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
9 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
10 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
11 | 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. |
12 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |