RB_COMP_SITE_VW

(SQL View)
Index Back

Company Site View

Show a Company's availabe Sites.

SELECT D.COMPANYID , D.BO_ID , B.SETID , B.SITE_ID , B.BO_ID , C.BO_NAME , B.SYNCID , B.SYNCDTTM FROM PS_BO_REL A , PS_RD_SITE B , PS_BO C , PS_RD_COMPANY D WHERE A.REL_TYPE_ID = 4 AND A.BO_ID_2 = B.BO_ID AND B.BO_ID = C.BO_ID AND A.BO_ID_1 = D.BO_ID AND A.START_DT <= %CurrentDateIn AND A.END_DT > %CurrentDateIn

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

Prompt Table: RB_CUST_SITEALL

5 BO_ID_SITE Number(31,0) DECIMAL(31) NOT NULL Business Object ID
6 BO_NAME Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
7 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.
8 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time