RBW_HH_BO_VW

(SQL View)
Index Back

Household member view

View of the members in a Wealth Management Household

SELECT REL.BO_ID_2 , REL.BO_ID_1 , P.PERSON_ID , RCR.USE_CM_INFO_FLG , HH.SYNCID FROM PS_BO_REL REL , PS_RD_HOUSEHOLD HH , PS_RD_PERSON P , PS_RBW_REL_CLASS RC , PS_RBW_REL_CLS_ROL RCR , PS_BO_REL_TYPE RELT WHERE REL.BO_ID_2 = HH.BO_ID AND REL.BO_ID_1 = P.BO_ID AND RC.ROLE_TYPE_ID_ORG = REL.ROLE_TYPE_ID_2 AND RC.ACTIVE_FLG = 'Y' AND RC.REL_CLASS_ID = RCR.REL_CLASS_ID AND RCR.REL_TYPE_ID = RELT.REL_TYPE_ID AND REL.ROLE_TYPE_ID_1 = RELT.ROLE_TYPE_ID_1 AND REL.START_DT <= %CurrentDateIn AND (REL.END_DT > %CurrentDateIn OR REL.END_DT IS NULL)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BO_ID_ORG Number(31,0) DECIMAL(31) NOT NULL Business Object ID
2 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
3 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
4 USE_CM_INFO_FLG Character(1) VARCHAR2(1) NOT NULL Indicates where to pull Contact information from

Y/N Table Edit

5 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.