RSF_ACCT_MBR_VW

(SQL View)
Index Back

Account Member View


SELECT A.REL_TYPE_ID_1 , A.BO_ID_1 , A.ROLE_TYPE_ID_1 , A.BO_ID_2 , A.ROLE_TYPE_ID_2 , A.START_DT , A.END_DT , A.BO_REL_ID , P.PERSON_ID , BC.CUST_STATUS , %subrec(RB_AUDIT_SBR, COMP) FROM PS_BO_REL_ACCTTEAM A , PS_RD_PERSON P , PS_BC BC , PS_RD_COMPANY COMP WHERE A.BO_ID_1 = P.BO_ID AND A.BO_ID_2 = BC.BO_ID AND A.BO_ID_2 = COMP.BO_ID AND A.REL_TYPE_ID_1 = 32 AND BC.CUST_STATUS = 'A' AND A.START_DT <= %CurrentDateIn AND A.END_DT > %CurrentDateIn

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 REL_TYPE_ID_1 Number(12,0) DECIMAL(12) NOT NULL Relationship Type ID

Prompt Table: BO_REL_TYPE

2 BO_ID_1 Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID 1

Prompt Table: BO

3 ROLE_TYPE_ID_1 Number(12,0) DECIMAL(12) NOT NULL Role Type ID

Prompt Table: RB_VALID_ROLTYP

4 BO_ID_2 Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID 2

Prompt Table: BO

5 ROLE_TYPE_ID_2 Number(12,0) DECIMAL(12) NOT NULL Role Type ID

Prompt Table: RB_VALID_ROLTYP

6 START_DT Date(10) DATE Start date field to store start date value.
7 END_DT Date(10) DATE This field stores the end date values.
8 BO_REL_ID Signed Number(32,0) DECIMAL(31) NOT NULL Relationship ID of a Business Object
9 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
10 CUST_STATUS Character(1) VARCHAR2(1) NOT NULL Customer Status Indicator. BC.CUST_STATUS
A=Active
I=Inactive
11 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
12 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
13 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
14 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
15 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.
16 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time