RB_PRSN_SITE_VW

(SQL View)
Index Back

SELECT A.PERSON_ID , D.SETID , D.SITE_ID , B.BO_ID_2 , B.START_DT , B.ROLE_TYPE_ID_1 , B.ROLE_TYPE_ID_2 , B.REL_TYPE_ID FROM PS_RD_PERSON A , PS_BO_REL B , PS_RD_SITE D WHERE A.BO_ID = B.BO_ID_1 AND ROLE_TYPE_ID_1 = 8 AND ROLE_TYPE_ID_2 = 3 AND B.BO_ID_2 = D.BO_ID 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 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.
3 SITE_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
4 BO_ID_SITE Number(31,0) DECIMAL(31) NOT NULL Business Object ID
5 START_DT Date(10) DATE Start date field to store start date value.
6 ROLE_TYPE_ID_1 Number(12,0) DECIMAL(12) NOT NULL Role Type ID
7 ROLE_TYPE_ID_2 Number(12,0) DECIMAL(12) NOT NULL Role Type ID
8 REL_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Relationship Type ID