SP_RCASEIDNONVW

(SQL View)
Index Back

HRHD Cases No Security 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 No Security.

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

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PERSON_ID_AGENT Character(15) VARCHAR2(15) NOT NULL Person ID Agent
2 RC_VERTICAL Character(4) VARCHAR2(4) NOT NULL Specifies the CallCenter type. See translates for valid values.
HD=HelpDesk
SW=Support
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Default Value: OPR_DEF_TBL_RB.BUSINESS_UNIT

Prompt Table: SP_BU_RC_NONVW

4 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

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