BO_SRBB_ADD_VW

(SQL View)
Index Back

Business Object View

View for fetching address from Customer Data Model * 11/2011 - HRHD Enhancements SV005 - add selection of cm_purp_type_id of 5 to pick up additional info related to POIs

SELECT A.BO_ID ,B.ROLE_TYPE_ID ,C.CM_CONCAT ,C.CM_CONCAT_UPPER ,C.ADDRESS1 ,C.ADDRESS1_AC ,C.ADDRESS2 ,C.ADDRESS2_AC ,C.CITY ,C.CITY_AC ,C.STATE ,C.POSTAL ,C.COUNTRY FROM %Table(BO_CM) A ,%Table(BO_CM_USE) B ,%Table(CM) C WHERE B.BO_CM_USE_TYPE = 'R' AND A.BO_ID = B.BO_ID AND A.PROFILE_CM_SEQ = B.PROFILE_CM_SEQ AND A.CM_ID = C.CM_ID AND A.CM_TYPE_ID = 1 AND A.CM_TYPE_ID = C.CM_TYPE_ID AND (A.CM_PURPOSE_TYPE_ID = 35 OR A.CM_PURPOSE_TYPE_ID = 5) AND B.PRIMARY_IND = 'Y' AND B.CM_USE_START_DT <= %CurrentDateIn AND B.CM_USE_END_DT > %CurrentDateIn AND A.BO_CM_START_DT <= %CurrentDateIn AND A.BO_CM_END_DT > %CurrentDateIn

# 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 ROLE_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Role Type ID
3 CM_CONCAT Character(100) VARCHAR2(100) NOT NULL Concatenated Contact Method
4 CM_CONCAT_UPPER Character(100) VARCHAR2(100) NOT NULL Uppper Concatenated Contact Method
5 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
6 ADDRESS1_AC Character(55) VARCHAR2(55) NOT NULL ADDRESS1_AC
7 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
8 ADDRESS2_AC Character(55) VARCHAR2(55) NOT NULL ADDRESS2_AC
9 HOME_CITY Character(30) VARCHAR2(30) NOT NULL Created for HRHD 360 Worker Search
10 CITY_AC Character(30) VARCHAR2(30) NOT NULL CITY_AC
11 HOME_STATE Character(6) VARCHAR2(6) NOT NULL Used by HRHD 360 Worker Search
12 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
13 HOME_COUNTRY Character(3) VARCHAR2(3) NOT NULL Used for HRHD 360 Worker Search