RSP_RALSTREC_V2(SQL View) |
Index Back |
---|---|
Distinct BO_IDs in RA_LISTThis 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 , B.RA_LIST_ID , A.START_DATE , C.END_DATE , A.BO_ID , A.ROLE_TYPE_ID FROM PS_RPM_RA_LIST_REC A , PS_RPM_RA_LIST_MAP B , PS_RPM_RA_LIST C WHERE A.RA_LIST_ID = B.RA_LEAF_LIST_ID AND A.SETID=B.SETID AND A.START_DATE = B.START_DATE AND A.RA_LIST_ID = C.RA_LIST_ID AND A.SETID=C.SETID AND A.START_DATE = C.START_DATE GROUP BY A.SETID , B.RA_LIST_ID, A.START_DATE, C.END_DATE, A.BO_ID, A.ROLE_TYPE_ID |
# | 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 | END_DATE | Date(10) | DATE | End date field to store an end date. |
5 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
6 | ROLE_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Role Type ID |