RD_CMPSITE_VW02

(SQL View)
Index Back

Sites for a Company

View containing a list of Sites for a Company.

SELECT A.SETID , A.COMPANYID , B.BO_ID , B.SITE_ID , C.BO_NAME FROM PS_BO_REL D , PS_RD_COMPANY A , PS_RD_SITE B , PS_BO C WHERE D.REL_TYPE_ID = 4 AND D.BO_ID_1 = A.BO_ID AND D.BO_ID_2 = B.BO_ID AND B.BO_ID = C.BO_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.
2 COMPANYID Character(15) VARCHAR2(15) NOT NULL Company ID
3 BO_ID_SITE Number(31,0) DECIMAL(31) NOT NULL Business Object ID
4 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.
5 BO_NAME Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object