RI_WRKORD_ST_VW

(SQL View)
Index Back

HelpDesk Case view

HelpDesk Case view used in 360-Degree View

SELECT A.BO_ID_CONTACT , A.ROLE_TYPE_ID_CNTCT , A.BO_ID_CUST , A.ROLE_TYPE_ID_CUST , A.RC_STATUS , A.BUSINESS_UNIT , A.CASE_ID , A.RC_SUMMARY , B.BUSINESS_UNIT_WO , B.WO_ID , B.DESCR254 , A.CASE_CONTACT , A.BO_ID_SITE , E.STATUS_CD , E.DESCR , N.BO_NAME_DISPLAY , %subrec(RB_TD_360P_SBR, A) , %subrec(RB_AUDIT_SBR, B) FROM PS_RC_CASE A , PS_RC_CASE_WO B , PS_WM_STATUS_HDR E , PS_BO_NAME N WHERE A.RC_VERTICAL = 'HD' AND A.DISP_TMPL_FAM_CD IN ( SELECT D.DISP_TMPL_FAM_CD FROM PS_RDT_TMPL_DEFN D , PS_RDT_TMPL_OPT F WHERE F.DISP_TMPL_ID = D.DISP_TMPL_ID AND F.PNLGRPNAME = 'RC_CASE' AND F.MARKET = 'GBL' AND F.LIC_PROD_CD = 'RH') AND A.BO_ID_REPORTED_BY = N.BO_ID AND N.PRIMARY_IND = 'Y' AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.CASE_ID = B.CASE_ID AND E.STATUS_CD = B.STATUS_CD AND E.SETID=( SELECT X.SETID FROM PS_SET_CNTRL_REC X WHERE X.SETCNTRLVALUE=A.BUSINESS_UNIT AND X.RECNAME = 'WM_STATUS_HDR')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BO_ID_CONTACT Number(31,0) DECIMAL(31) NOT NULL This field indicates the Business Object ID for the contact.
2 ROLE_TYPE_ID_CNTCT Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the contact
3 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
4 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
5 RC_STATUS Character(5) VARCHAR2(5) NOT NULL Case Status

Default Value: NEW

Prompt Table: RC_STATUS_TBL

6 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
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: 0

8 RC_SUMMARY Character(80) VARCHAR2(80) NOT NULL Typically a summary of a long field.
9 BUSINESS_UNIT_WO Character(5) VARCHAR2(5) NOT NULL This field contains the Work Order Business Unit from Work Order Management.
10 WO_ID Character(10) VARCHAR2(10) NOT NULL This field contains the Work Order ID for the work order in FMS.
11 DESCR254 Character(254) VARCHAR2(254) NOT NULL Description of length 254
12 CASE_CONTACT Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts

Prompt Table: RC_CNTCT_VW

13 BO_ID_SITE Number(31,0) DECIMAL(31) NOT NULL Business Object ID
14 STATUS_CD Character(4) VARCHAR2(4) NOT NULL This field contains the status code for a work order in FMS.
15 DESCR Character(30) VARCHAR2(30) NOT NULL Description
16 NAME_REPORTED_BY Character(80) VARCHAR2(80) NOT NULL Reported by name. It's a name field contains the reported by person's name.
17 BO_ID_PARTNER Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID of Partner Company.
18 ROLE_TYPE_ID_PART Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the partner
19 BO_ID_PART_CONT Signed Number(32,0) DECIMAL(31) NOT NULL This is the business object identifier for the partner contact.
20 ROLE_TYPE_ID_PARTC Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the partner contact
21 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
22 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
23 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
24 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
25 SYNCID Number(10,0) DECIMAL(10) NOT NULL The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle.
26 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time