RC_GBL_CLS_VW

(SQL View)
Index Back

Global cases view

View to get global cases and coreesponding child cases.

SELECT B.CASE_ID , B.BUSINESS_UNIT , C.DISP_TMPL_FAM_CD , B.RELATED_CASE_ID , A.bo_id_cust , C.CREATION_DATE , OPRID FROM ps_rc_case A , ps_rc_relationship B , ps_rc_case C , PS_SEC_BU_CLS F , PSOPRDEFN O WHERE A.case_id = B.RELATED_CASE_ID AND A.BUSINESS_UNIT = F.BUSINESS_UNIT AND F.OPRCLASS = O.ROWSECCLASS AND B.case_id = C.CASE_ID AND B.RELATIONSHIP_TYPE = 'GLOBE' AND B.CASE_ID IN ( SELECT C.Case_id FROM ps_rc_case C WHERE C.global_flag = 'Y')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CASE_ID Number(15,0) DECIMAL(15) NOT NULL Case ID. This is a unique ID assigned to a case when it is saved. Unique ID is ensured by getting the next value from the auto-numbering table and updating the table.
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 DISP_TMPL_FAM_CD Character(30) VARCHAR2(30) NOT NULL Display Template Family Code
4 RELATED_CASE_ID Number(15,0) DECIMAL(15) NOT NULL Case Number
5 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
6 CREATION_DATE Date(10) DATE Creation date of the case.
7 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).