RD_SITE_GS_VW

(SQL View)
Index Back

RD_SITE_GS_VW

SELECT A.SETID , A.SITE_ID , A.BO_ID , C.BO_NAME , C.BO_NAME_AC , C.BO_NAME , E.CM_NICKNAME , H.CUST_ID , H.CUST_STATUS , A.SYNCID FROM PS_RD_SITE A , PS_BO_NAME C , PS_BO_CM E , PS_BO_CM_USE F , PS_BC H WHERE A.BO_ID = H.BO_ID AND A.BO_ID = C.BO_ID AND A.BO_ID = E.BO_ID AND E.CM_TYPE_ID = 1 AND E.BO_CM_START_DT <= %CurrentDateIn AND E.BO_CM_END_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 F.CM_USE_END_DT > %CurrentDateIn

SELECT A.SETID , A.SITE_ID , A.BO_ID , B.BO_NAME , B.BO_NAME_UPPER , B.BO_NAME_AC , F.BO_NAME_PARENT , F.BO_NAME_UPPER , C.CM_NICKNAME , G.ADDRESS1 , G.CITY , G.STATE , G.POSTAL , G.COUNTRY , F.CUST_ID , E.CUST_STATUS , A.SYNCID FROM PS_RD_SITE A , PS_BO_NAME B , PS_BO_CM C , PS_BC E , PS_RD_SITE_PARENT F , PS_CM G WHERE A.BO_ID = B.BO_ID AND A.BO_ID = F.BO_ID AND A.BO_ID_PARENT = F.BO_ID_PARENT AND A.BO_ID = C.BO_ID AND A.BO_ID = E.BO_ID AND C.CM_TYPE_ID = 1 AND C.BO_CM_START_DT <= %CurrentDateIn AND C.BO_CM_END_DT >= %CurrentDateIn AND C.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.

Prompt Table: SP_SETID_NONVW
Set Control Field: SETID

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_NAME Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
5 BO_NAME_UPPER 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_SRCH Character(50) VARCHAR2(50) NOT NULL BO_NAME_SRCH
9 CM_NICKNAME Character(30) VARCHAR2(30) NOT NULL Nickname of a Contact Method
10 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
11 CITY Character(30) VARCHAR2(30) NOT NULL City
12 STATE Character(6) VARCHAR2(6) NOT NULL State
13 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
14 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
15 CUST_ID Character(15) VARCHAR2(15) NOT NULL Customer ID
16 CUST_STATUS Character(1) VARCHAR2(1) NOT NULL Customer Status Indicator. BC.CUST_STATUS
A=Active
I=Inactive
17 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.