CN_RS_ATTR_USAGES_ALL
This Table has the mapping for all the Attributes and the Usages.
Details
-
Schema: FUSION
-
Object owner: CN
-
Object type: TABLE
-
Tablespace: REFERENCE
Primary Key
| Name | Columns |
|---|---|
|
CN_RS_ATTR_USAGES_ALL_PK |
ATTR_USAGE_ID, ORG_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| ATTR_USAGE_ID | NUMBER | 18 | Yes | Unique Identifier | |
| 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. | |
| ORG_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated to the row. | |
| USAGE_ID | NUMBER | 18 | Yes | Foriegn Key to CN_RS_USAGES_ALL_B.usage_id | |
| ATTRIBUTE_ID | NUMBER | 18 | Yes | Foriegn Key to CN_RS_ATTRIBUTES_ALL_B.attribute_id | |
| ENABLED_FLAG | VARCHAR2 | 1 | Yes | Indicates whether the attribute is active | |
| INDEXED_COL_NAME | VARCHAR2 | 30 | Column name of the TRANS table which should be part of the index for this attribute | ||
| SEEDED_FLAG | VARCHAR2 | 1 | Indicates whether the row is seeded or not | ||
| DISPLAY_TYPE | VARCHAR2 | 30 | Determines which columns in the value table will be used to store the attribute values | ||
| CONVERT_TO_ID_FLAG | VARCHAR2 | 1 | Indicates whether to store the ID or the CODE | ||
| SOURCE_COLUMN_NAME | VARCHAR2 | 30 | Source column information in transaction table | ||
| REAL_TIME_SELECT | CLOB | Select stmt used to form real time matching SQL | |||
| REAL_TIME_WHERE | CLOB | Where stmt used to form real time matching SQL | |||
| REAL_TIME_WHERE_NOT_EQLTO | CLOB | Where statement used to form real time matching SQL for "not equal to" operator | |||
| REAL_TIME_WHERE_NOTLIKE | CLOB | Where statement used to form real time matching SQL for "not like" operator. | |||
| REAL_TIME_FROM | CLOB | From stmt used to form real time matching SQL | |||
| BATCH_OP_EQL | CLOB | Rule SQL for equal op in batch mode | |||
| BATCH_OP_LIKE | CLOB | Rule SQL for like op in batch mode | |||
| BATCH_OP_BETWEEN | CLOB | Rule SQL for between op in batch mode | |||
| BATCH_OP_NOT_EQLTO | CLOB | Rule SQL for "not equal to" operator in batch mode | |||
| BATCH_OP_NOTLIKE | CLOB | Rule SQL for "not like" operator in batch mode | |||
| BATCH_OP_COMMON_WHERE | CLOB | Common where clause in batch mode | |||
| ATTR_RELATION_FACTOR | NUMBER | 18 | Unique prime number | ||
| COMPARISON_OPERATOR_CN | VARCHAR2 | 30 | Column Name in denormalized rule condition table | ||
| LOW_VALUE_CHAR_CN | VARCHAR2 | 30 | Column Name in denormalized rule condition table | ||
| HIGH_VALUE_CHAR_CN | VARCHAR2 | 30 | Column Name in denormalized rule condition table | ||
| LOW_VALUE_CHAR_ID_CN | VARCHAR2 | 30 | Column Name in denormalized rule condition table | ||
| LOW_VALUE_NUMBER_CN | VARCHAR2 | 30 | Column Name in denormalized rule condition table | ||
| HIGH_VALUE_NUMBER_CN | VARCHAR2 | 30 | Column Name in denormalized rule condition table | ||
| VALUE1_ID_CN | VARCHAR2 | 30 | Column Name in denormalized rule condition table | ||
| VALUE2_ID_CN | VARCHAR2 | 30 | Column Name in denormalized rule condition table | ||
| VALUE3_ID_CN | VARCHAR2 | 30 | Column Name in denormalized rule condition table | ||
| VALUE4_ID_CN | VARCHAR2 | 30 | Column Name in denormalized rule condition table | ||
| FIRST_CHAR_CN | VARCHAR2 | 30 | Column Name in denormalized rule condition table | ||
| CURRENCY_CODE_CN | VARCHAR2 | 30 | Column Name in denormalized rule condition table | ||
| UPDATE_ATTR_VAL_STMT | CLOB | Update stmt to populate the denormalized rule conditions | |||
| INSERT_ATTR_VAL_STMT | CLOB | Insert stmt to populate the denormalized rule conditions | |||
| HTML_LOV_SQL1 | VARCHAR2 | 1000 | LOV SQL for UI | ||
| HTML_LOV_SQL2 | VARCHAR2 | 1000 | LOV SQL for UI | ||
| HTML_LOV_SQL3 | VARCHAR2 | 1000 | LOV SQL for UI | ||
| HIERARCHY_TYPE | VARCHAR2 | 30 | Indentifies geography hierarchy type | ||
| EQUAL_FLAG | VARCHAR2 | 1 | Flag to indicate whether equal op is allowed | ||
| LIKE_FLAG | VARCHAR2 | 1 | Flag to indicate whether like op is allowed | ||
| BETWEEN_FLAG | VARCHAR2 | 1 | Flag to indicate whether between op is allowed | ||
| NOT_EQLTO_FLAG | VARCHAR2 | 1 | Flag to indicate whether "not equal to" operator is allowed | ||
| NOTLIKE_FLAG | VARCHAR2 | 1 | Flag to indicate whether "not like" operator is allowed | ||
| ALIAS_RULE1 | VARCHAR2 | 200 | Populated for attribute usages which have a corresponding MV | ||
| 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. | ||
| 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. | ||
| ATTRIBUTE_CATEGORY | VARCHAR2 | 30 | Descriptive Flexfield: structure definition of the user descriptive flexfield. | ||
| ATTRIBUTE1 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE2 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE3 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE4 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE5 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE6 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE7 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE8 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE9 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE10 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE11 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE12 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE13 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE14 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE15 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| 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 |
|---|---|---|
| CN_RS_ATTR_USAGES_ALL | cn_rs_usages_all_b | USAGE_ID, ORG_ID |
| CN_RS_ATTR_USAGES_ALL | cn_rs_attributes_all_b | ATTRIBUTE_ID, ORG_ID |
| cn_rs_rule_attributes_all | cn_rs_attr_usages_all | ATTR_USAGE_ID, ORG_ID |
| cn_rs_attr_factors | cn_rs_attr_usages_all | ATTR_USAGE_ID, ORG_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| CN_RS_ATTR_USAGES_N1 | Non Unique | Default | SOURCE_COLUMN_NAME, ENABLED_FLAG, USAGE_ID, ORG_ID |
| CN_RS_ATTR_USAGES_U1 | Unique | Default | ATTR_USAGE_ID, ORG_ID, ORA_SEED_SET1 |
| CN_RS_ATTR_USAGES_U11 | Unique | Default | ATTR_USAGE_ID, ORG_ID, ORA_SEED_SET2 |
| CN_RS_ATTR_USAGES_U2 | Unique | Default | ATTRIBUTE_ID, USAGE_ID, ORG_ID, ORA_SEED_SET1 |
| CN_RS_ATTR_USAGES_U21 | Unique | Default | ATTRIBUTE_ID, USAGE_ID, ORG_ID, ORA_SEED_SET2 |