BO_SITE_GBL_VW(SQL View) |
Index Back |
---|---|
Site ViewSite 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 , G.ADDRESS1 , G.ADDRESS1_AC , G.ADDRESS2 , G.ADDRESS2_AC , G.CITY , G.CITY_AC , G.COUNTRY , G.STATE , G.POSTAL , B.CUST_ID , %subrec(RB_MARKET_SBR, A) , %subrec(RB_AUDIT_SBR, A) FROM PS_RD_SITE A , PS_BC B , PS_BO_NAME C , PS_BO_NAME D , PS_BO_CM E , PS_BO_CM_USE F , PS_CM G , PS_BO H 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_PARENT = D.BO_ID (+) AND D.PRIMARY_IND(+) = 'Y' AND A.BO_ID = E.BO_ID AND E.CM_TYPE_ID = 1 AND E.BO_CM_START_DT <= %CurrentDateIn AND E.BO_ID = F.BO_ID AND E.PROFILE_CM_SEQ = F.PROFILE_CM_SEQ AND F.BO_CM_USE_TYPE = 'R' AND F.ROLE_TYPE_ID = 3 AND F.PRIMARY_IND = 'Y' AND F.CM_USE_START_DT <= %CurrentDateIn AND A.BO_ID = H.BO_ID AND H.MERGE_STATUS = 'A' AND E.CM_ID = G.CM_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 | 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 |