RSP_RALSTRC_D_V

(SQL View)
Index Back

Distinct BO_IDs in RA_LIST

This view is used by Strategic Planning to retrieve distinct BO_IDs from RA_LIST record and also put the BO_ID (and Role Type ID) for consumer and ORG into same field.

SELECT A.SETID , A.RA_LIST_ID , A.START_DATE , A.BO_ID , A.ROLE_TYPE_ID , B.END_DATE FROM PS_RPM_RA_LIST_REC A , PS_RPM_RA_LIST B WHERE A.SETID = B.SETID AND A.RA_LIST_ID = B.RA_LIST_ID AND B.START_DATE <= %CurrentDateIn AND B.END_DATE >= %CurrentDateIn

# 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 RA_LIST_ID Character(15) VARCHAR2(15) NOT NULL Audience ID
3 START_DATE Date(10) DATE Start Date for Gen Standing PO
4 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
5 ROLE_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Role Type ID
6 END_DATE Date(10) DATE End date field to store an end date.