RDE_CSITE_OVW_1

(SQL View)
Index Back

Customer Site View

Energy specific customer Site View

SELECT A.BO_ID , R.BO_ID_2 , R.ROLE_TYPE_ID_2 ,0 ,0 ,A.SETID ,A.SITE_ID ,B.BO_NAME ,O.OPRID , A.BO_ID ,0 ,0 ,0 ,0 ,%subrec(RB_AUDIT_SBR,A) FROM PS_RD_SITE A , PS_BO_REL R , PS_SEC_SETID_OPR O , PS_BO_NAME B WHERE R.BO_ID_1 = A.BO_ID AND A.BO_ID = B.BO_ID AND R.ROLE_TYPE_ID_1 = 3 AND R.ROLE_TYPE_ID_2 IN (2,9,65,66,67) AND R.START_DT <= %CurrentDateIn AND R.END_DT > %CurrentDateIn AND A.SETID = O.SETID AND B.PRIMARY_IND ='Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
2 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
3 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
4 BO_ID_CONTACT Number(31,0) DECIMAL(31) NOT NULL This field indicates the Business Object ID for the contact.
5 ROLE_TYPE_ID_CNTCT Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the contact
6 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.

Default Value: OPR_DEF_TBL_RB.SETID

Prompt Table: SP_SETID_NONVW

7 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.

Default Value: NEXT

8 BO_NAME Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
9 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
10 BO_ID_SITE Number(31,0) DECIMAL(31) NOT NULL Business Object ID
11 BO_ID_PARTNER Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID of Partner Company.
12 ROLE_TYPE_ID_PART Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the partner
13 BO_ID_PART_CONT Signed Number(32,0) DECIMAL(31) NOT NULL This is the business object identifier for the partner contact.
14 ROLE_TYPE_ID_PARTC Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the partner contact
15 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
16 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
17 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
18 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
19 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.
20 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time