RBF_SITE_SRH_VW(SQL View) |
Index Back |
---|---|
FSI Location Site SearchThis view holds records for FSI Site Locator Search with physical current address only. It's filtered by SERVICE_LOC_SW = 'Y' (flag of service location) and CM_PURPOSE_TYPE_ID = 5 (Physical location of address type). |
SELECT DISTINCT st.SETID , st.SITE_ID , ss.SERVICE_ID , st.BO_ID , ad.ADDRESS1 , ad.ADDRESS2 , ad.ADDRESS3 , ad.ADDRESS4 , ad.CITY ,ad.CITY_AC , ad.STATE , ad.POSTAL , ad.COUNTRY FROM PS_RDFSITE_SERVICE ss , PS_RDFSITE_VW st , PS_BO_ROLECM_PADDR ad WHERE ss.SETID = st.SETID AND ss.SITE_ID = st.SITE_ID AND st.BO_ID = ad.BO_ID AND ad.ROLE_TYPE_ID = 3 AND st.SERVICE_LOC_SW = 'Y' AND st.FSI_SITE_STATUS IN ('1', '3') AND ss.START_DATE <= %CurrentDateIn AND (ss.END_DATE IS NULL OR ss.END_DATE > %CurrentDateIn) AND ad.CM_PURPOSE_TYPE_ID = 5 |
# | 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 | SERVICE_ID | Character(20) | VARCHAR2(20) NOT NULL | Service ID |
4 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
5 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
6 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
7 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
8 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
9 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
10 | CITY_AC | Character(30) | VARCHAR2(30) NOT NULL | CITY_AC |
11 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
12 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
13 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |