RC_ER_OPR_LVW(SQL View) |
Index Back |
---|---|
ER CasesThis is a security Operator view for ER Case. |
SELECT DISTINCT E.OPRID , E.PERSON_ID , C.PNLGRPNAME , C.MARKET , C.DISP_TMPL_FAM_CD , D.RC_VERTICAL , D.CASE_ID , B.LANGUAGE_CD , B.DESCR FROM PS_BUS_UNIT_TBL_RC A , PS_BUS_UNIT_LANG B , PS_BUS_UNIT_RC_DEF C , PS_RC_CASE D , PSOPRALIAS E , PS_RC_CASE_ASSIGN G WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND C.DISP_TMPL_FAM_CD = D.DISP_TMPL_FAM_CD AND D.CASE_ID = G.CASE_ID AND D.BUSINESS_UNIT = G.BUSINESS_UNIT AND E.OPRALIASTYPE ='PER' AND ( ( E.PERSON_ID =( SELECT H.RC_ER_MANAGER FROM PS_BUS_UNIT_TBL_RC H WHERE H.BUSINESS_UNIT= G.BUSINESS_UNIT AND H.RC_ER_MANAGER <> ' ')) OR (G.RC_ASSIGNMENT_TYPE='I' AND G.RC_ER_ASSIGNED_TO = E.PERSON_ID AND G.START_DATE <=%CurrentDateIn AND (G.END_DATE IS NULL OR G.END_DATE >=%CurrentDateIn)) OR ( G.RC_ASSIGNMENT_TYPE='G' AND G.RC_PROVIDER_GRP_ID = ( SELECT P.PROVIDER_GRP_ID FROM PS_RF_GRP_MEMBER P , PS_SET_CNTRL_REC S WHERE S.SETCNTRLVALUE = G.BUSINESS_UNIT AND S.RECNAME = 'RF_PROVIDER_GRP' AND P.SETID = S.SETID AND P.PROVIDER_GRP_ID = G.RC_PROVIDER_GRP_ID AND P.PERSON_ID = E.PERSON_ID AND P.STATUS = 'A' AND P.PERSON_ID NOT IN( SELECT ASG.RC_ER_ASSIGNED_TO FROM PS_RC_CASE_ASSIGN ASG WHERE ASG.CASE_ID = G.CASE_ID AND ASG.BUSINESS_UNIT = G.BUSINESS_UNIT AND ASG.RC_ASSIGNMENT_TYPE = 'I') ) AND G.START_DATE <=%CurrentDateIn AND (G.END_DATE IS NULL OR G.END_DATE >=%CurrentDateIn))) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | PERSON_ID_AGENT | Character(15) | VARCHAR2(15) NOT NULL | Person ID Agent |
3 | PNLGRPNAME | Character(18) | VARCHAR2(18) NOT NULL | Component Name |
4 | MARKET | Character(3) | VARCHAR2(3) NOT NULL | Market |
5 | DISP_TMPL_FAM_CD | Character(30) | VARCHAR2(30) NOT NULL | Display Template Family Code |
6 | RC_VERTICAL | Character(4) | VARCHAR2(4) NOT NULL |
Specifies the CallCenter type.
See translates for valid values.
HD=HelpDesk SW=Support |
7 | 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.
Default Value: 999999999999999 |
8 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
9 | BUSINESSUNITDESCR | Character(30) | VARCHAR2(30) NOT NULL | Business Unit Description |