BO_SITE_GBL_VW1

(SQL View)
Index Back

Site View

Site View used as a Prompt tables in records/views.

SELECT A.SETID , A.SITE_ID , A.BO_ID , A.BO_ID_PARENT , C.BO_NAME , C.BO_NAME_AC , D.BO_NAME , D.BO_NAME_AC , E.ADDRESS1 , E.ADDRESS1_AC , E.ADDRESS2 , E.ADDRESS2_AC , E.CITY , E.CITY_AC , E.COUNTRY , E.STATE , E.POSTAL , B.CUST_ID , %subrec(RB_MARKET_SBR, A) , %subrec(RB_AUDIT_SBR, A) FROM PS_RD_SITE A LEFT OUTER JOIN PS_BO_NAME D ON A.BO_ID_PARENT = D.BO_ID AND D.PRIMARY_IND = 'Y' , PS_BC B , PS_BO_NAME C , PS_BO_SRCH_ADD E WHERE A.MARKET = 'GBL' AND A.BO_ID = B.BO_ID AND A.BO_ID = C.BO_ID AND C.PRIMARY_IND = 'Y' AND A.BO_ID = E.BO_ID AND E.BO_CM_USE_TYPE = 'R' AND E.ROLE_TYPE_ID = 3 AND E.PRIMARY_IND = 'Y' AND A.BO_ID_PARENT=0

# 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 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.
3 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
4 BO_ID_PARENT Number(31,0) DECIMAL(31) NOT NULL Business Object ID of the Parent Company.
5 BO_NAME Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
6 BO_NAME_AC Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
7 BO_NAME_PARENT Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
8 BO_NAME_PARENT_AC Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
9 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
10 ADDRESS1_AC Character(55) VARCHAR2(55) NOT NULL ADDRESS1_AC
11 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
12 ADDRESS2_AC Character(55) VARCHAR2(55) NOT NULL ADDRESS2_AC
13 CITY Character(30) VARCHAR2(30) NOT NULL City
14 CITY_AC Character(30) VARCHAR2(30) NOT NULL CITY_AC
15 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
16 STATE Character(6) VARCHAR2(6) NOT NULL State
17 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
18 CUST_ID Character(15) VARCHAR2(15) NOT NULL Customer ID
19 MARKET Character(3) VARCHAR2(3) NOT NULL Market
20 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
21 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
22 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
23 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
24 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.
25 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time