RD_RV_BO_VW_1

(SQL View)
Index Back

Relationship Viewer

Retrieve relationships for a particular Business Object.

SELECT A.REL_TYPE_ID , A.BO_ID_1 , A.ROLE_TYPE_ID_1 , A.BO_ID_2 , A.ROLE_TYPE_ID_2 , A.START_DT , A.END_DT , A.BO_REL_ID , %subrec(RB_AUDIT_SBR, A) , B.BO_NAME_DISPLAY FROM PS_BO_REL A , PS_BO_NAME B WHERE A.BO_ID_1 = B.BO_ID AND B.PRIMARY_IND ='Y' AND A.START_DT <= %CurrentDateIn AND A.END_DT > %CurrentDateIn

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 REL_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Relationship Type ID

Prompt Table: BO_REL_TYPE

2 BO_ID_1 Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID 1

Prompt Table: BO

3 ROLE_TYPE_ID_1 Number(12,0) DECIMAL(12) NOT NULL Role Type ID

Prompt Table: RB_VALID_RLTYP1

4 BO_ID_2 Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID 2

Prompt Table: BO

5 ROLE_TYPE_ID_2 Number(12,0) DECIMAL(12) NOT NULL Role Type ID

Prompt Table: RB_VALID_RLTYP2

6 START_DT Date(10) DATE Start date field to store start date value.
7 END_DT Date(10) DATE This field stores the end date values.
8 BO_REL_ID Signed Number(32,0) DECIMAL(31) NOT NULL Relationship ID of a Business Object
9 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
10 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
11 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
12 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
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
15 BO_NAME_DISPLAY Character(80) VARCHAR2(80) NOT NULL Full name of the Business Object