RC_REL_TYPE_VW

(SQL View)
Index Back

Relationship type

View to get case_id and corresponding relationship type in a relationship, used in config search.

SELECT DISTINCT A.CASE_ID , A.BUSINESS_UNIT , B.RELATIONSHIP_TYPE , A.SYNCID , A.SYNCDTTM FROM PS_RC_CASE A , PS_RC_RELATIONSHIP B WHERE A.CASE_ID = B.CASE_ID OR A.CASE_ID = B.RELATED_CASE_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 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

2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_RC_VR_NONVW

3 RELATIONSHIP_TYPE Character(5) VARCHAR2(5) NOT NULL Case Relationship Type
4 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.
5 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time