PSC_COM_CC_RESOURCE_RELATIONS

Contains Resource relationship data.

Details

  • Schema: FUSION

  • Object owner: PSC_CC

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

PSC_COM_CC_RESOURCE_RELAT_PK

RESOURCE_RELATION_ID

Columns

Name Datatype Length Precision Not-null Comments
RESOURCE_RELATION_ID NUMBER 18 Yes This column is used to indicate primary key column.
RESOURCE_RELATION_CODE VARCHAR2 100 Yes This column is used to indicate alternate key column.
ANCHOR_RESOURCE_ID NUMBER 18 Yes This column is used to indicate Primary key of the Anchor Resource.
RELATED_RESOURCE_ID NUMBER 18 Yes This column is used to indicate Primary key of the Related Resource.
ANCHOR_FIRST_KEY_NAME VARCHAR2 100 Anchor Resource key name for the first key for the Related Resource.
RELATED_FIRST_KEY_NAME VARCHAR2 100 Field name for the first key of the Related Resource.
ANCHOR_SECOND_KEY_NAME VARCHAR2 100 Anchor Resource key name for the second key for the Related Resource.
RELATED_SECOND_KEY_NAME VARCHAR2 100 Field name for the second key of the Related Resource.
ANCHOR_THIRD_KEY_NAME VARCHAR2 100 Anchor Resource key name for the third key for the Related Resource.
RELATED_THIRD_KEY_NAME VARCHAR2 100 Field name for the third key of the Related Resource.
ANCHOR_FOURTH_KEY_NAME VARCHAR2 100 Anchor Resource key name for the fourth key for the Related Resource.
RELATED_FOURTH_KEY_NAME VARCHAR2 100 Field name for the fourth key of the Related Resource.
ANCHOR_FIFTH_KEY_NAME VARCHAR2 100 Anchor Resource key name for the fifth key for the Related Resource.
RELATED_FIFTH_KEY_NAME VARCHAR2 100 Field name for the fifth key of the Related Resource.
CONTACT_TYPE_RES_FLAG VARCHAR2 1 Yes Indicates if the resource relation is established based of a contact type or not.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
MODULE_ID VARCHAR2 32 Seed Data Framework: indicates the module that owns the row. A module is an entry in Application Taxonomy such as a Logical Business Area. When the MODULE_ID column exists and the owner of the row is not specified, then the Seed Data Framework will not extract the row as seed data.
SEED_DATA_LOCK NUMBER 1 Yes Indicates wheher the row is a seed data. Valid values are 0 for data that is for customer data, 1 for data that can not be modified , and 2 indicates that the seed data can be modified.
DELETED_FLAG VARCHAR2 1 Yes Indicates whether the record is logically deleted (Y or N). Valid values are Y for deleted record, and N for active record. Default value is N.
SEED_DATA_SOURCE VARCHAR2 512 Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file.
ORA_SEED_SET1 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N.
ORA_SEED_SET2 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N.

Foreign Keys

Table Foreign Table Foreign Key Column
PSC_COM_CC_RESOURCE_RELATIONS psc_com_cc_resources_b ANCHOR_RESOURCE_ID
PSC_COM_CC_RESOURCE_RELATIONS psc_com_cc_resources_b RELATED_RESOURCE_ID

Indexes

Index Uniqueness Tablespace Columns
PSC_COM_CC_RESRC_RELAT_FK1 Non Unique Default RELATED_RESOURCE_ID
PSC_COM_CC_RESRC_RELAT_PK Unique Default RESOURCE_RELATION_ID, ORA_SEED_SET1
PSC_COM_CC_RESRC_RELAT_PK1 Unique Default RESOURCE_RELATION_ID, ORA_SEED_SET2
PSC_COM_CC_RESRC_RELAT_U1 Unique Default ANCHOR_RESOURCE_ID, RELATED_RESOURCE_ID, ORA_SEED_SET1
PSC_COM_CC_RESRC_RELAT_U11 Unique Default ANCHOR_RESOURCE_ID, RELATED_RESOURCE_ID, ORA_SEED_SET2
PSC_COM_CC_RESRC_RELAT_U2 Unique Default RESOURCE_RELATION_CODE, ORA_SEED_SET1
PSC_COM_CC_RESRC_RELAT_U21 Unique Default RESOURCE_RELATION_CODE, ORA_SEED_SET2