RBT_ACCT_MBR_VW

(SQL View)
Index Back

Account Member View

View of Communications Account members

SELECT A.RBTACCTID , REL.BO_ID_1 , REL.ROLE_TYPE_ID_1 , REL.BO_REL_ID , BN.BO_NAME_DISPLAY , BP.PHONE FROM PS_RBT_ACCOUNT A , PS_BO_REL REL LEFT OUTER JOIN PS_RO_PRIM_PHON_VW BP ON REL.BO_ID_1 = BP.BO_ID , PS_BO_NAME BN WHERE A.BO_ID = REL.BO_ID_2 AND REL.REL_TYPE_ID IN (535, 536) AND REL.BO_ID_1 = BN.BO_ID AND BN.PRIMARY_IND = 'Y' 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 RBTACCTID Character(15) VARCHAR2(15) NOT NULL Unique service account indentifier
2 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
3 ROLE_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Role Type ID

Default Value: 91

Prompt Table: RBT_ACT_RLTP_VW

4 BO_REL_ID Signed Number(32,0) DECIMAL(31) NOT NULL Relationship ID of a Business Object
5 BO_NAME_DISPLAY Character(80) VARCHAR2(80) NOT NULL Full name of the Business Object
6 PHONE Character(24) VARCHAR2(24) NOT NULL This field stores the Telephone number.