SP_RCASEIDOPRVW

(SQL View)
Index Back

HRHD Cases User ID BU

This view is used by HR HelpDesk for a specific component Business Unit when Setup CRM > Security > Security Options > Type of Security is set to User ID Level Security.

SELECT DISTINCT C.OPRID , B.PERSON_ID , A.RC_VERTICAL , A.BUSINESS_UNIT , A.CASE_ID , A.RC_SUMMARY FROM PS_RC_CASE A , PSOPRALIAS B , PS_SEC_BU_OPR C WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND (A.SECURE_CASE_FLG <> 'Y' OR (A.SECURE_CASE_FLG = 'Y' AND A.PROVIDER_GRP_ID IN ( SELECT D.PROVIDER_GRP_ID FROM PS_RF_GRP_HR_MEM_V D , PS_SET_CNTRL_REC E WHERE E.SETCNTRLVALUE = A.BUSINESS_UNIT AND E.RECNAME = 'RF_PROVIDER_GRP' AND D.SETID = E.SETID AND D.PROVIDER_GRP_ID = A.PROVIDER_GRP_ID AND D.PERSON_ID = B.PERSON_ID AND D.STATUS = 'A')))

# 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 RC_VERTICAL Character(4) VARCHAR2(4) NOT NULL Specifies the CallCenter type. See translates for valid values.
HD=HelpDesk
SW=Support
4 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Default Value: OPR_DEF_TBL_RB.BUSINESS_UNIT

Prompt Table: SP_BU_RC_NONVW

5 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

6 RC_SUMMARY Character(80) VARCHAR2(80) NOT NULL Typically a summary of a long field.