RC_PGMGRCASE_VW(SQL View) |
Index Back |
---|---|
Team's Open CasesView contains a list of open cases for a call center manager's team. The call center manager is defined on the provider group page. This table joins cases in a status category of open with the the call center manager that has provider groups assigned to those open cases. |
SELECT A.BUSINESS_UNIT , A.CASE_ID , A.PROVIDER_GRP_ID , E.RC_MANAGER , A.RC_STATUS , A.RC_PRIORITY ,A.DISP_TMPL_FAM_CD FROM PS_RC_CASE A , PS_RC_STATUS_TBL B , PS_SET_CNTRL_TBL C , PS_RF_PROVIDER_GRP E WHERE B.STATUS_CATEGORY = 'O' AND E.PROVIDER_GRP_ID = A.PROVIDER_GRP_ID AND E.SETID = ( SELECT F.SETID FROM PS_SET_CNTRL_REC F WHERE F.SETCNTRLVALUE = A.BUSINESS_UNIT AND F.RECNAME = 'RF_PROVIDER_GRP') AND C.SETCNTRLVALUE = A.BUSINESS_UNIT AND B.RC_STATUS = A.RC_STATUS AND B.SETID = ( SELECT D.SETID FROM PS_SET_CNTRL_REC D WHERE D.SETCNTRLVALUE = A.BUSINESS_UNIT AND D.RECNAME = 'RC_STATUS_TBL') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | 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. |
3 | PROVIDER_GRP_ID | Character(10) | VARCHAR2(10) NOT NULL | Identification number for the provider group. |
4 | RC_MANAGER | Character(15) | VARCHAR2(15) NOT NULL | Call Center Manager. Used in call center business unit setup. |
5 | RC_STATUS | Character(5) | VARCHAR2(5) NOT NULL | Case Status |
6 | RC_PRIORITY | Character(5) | VARCHAR2(5) NOT NULL | Case Priority |
7 | DISP_TMPL_FAM_CD | Character(30) | VARCHAR2(30) NOT NULL | Display Template Family Code |