ZSP_ODM_ASSOC_RULES
This table stores the associations rules from ODM AR models.
Details
-
Schema: FUSION
-
Object owner: ZSP
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
ZSP_ODM_ASSOC_RULES_PK |
ASSOC_RULE_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| ASSOC_RULE_ID | NUMBER | 18 | Yes | Primary Key Of this table. | |
| MODEL_ID | NUMBER | 18 | Yes | model_id of ZSP_ODM_MODELS table. | |
| ODM_AR_RULE_ID | NUMBER | 18 | Yes | Association Rule Id coming from ODM AR model. | |
| ANTECEDENT_NAME | VARCHAR2 | 250 | Name of Antecedent. | ||
| ANTECEDENT_VALUE | VARCHAR2 | 4000 | Yes | Value of Antecedent. | |
| ANTECEDENT_PROD_TYPE | VARCHAR2 | 30 | Value will be ITEM/PRODGROUP, if antecedent is asset. | ||
| CONSEQUENT_PROD_ID | NUMBER | 18 | Yes | Inventory Item Id/Prod Group ID. | |
| CONSEQUENT_PROD_TYPE | VARCHAR2 | 30 | Value will be ITEM/PRODGROUP. | ||
| RULE_SUPPORT | NUMBER | Value of Rule Support, coming from AR model. | |||
| RULE_CONFIDENCE | NUMBER | Value of Rule Confidence coming from AR model. | |||
| RULE_LIFT | NUMBER | Value of Rule Lift, coming from AR model. | |||
| ANTECEDENT_SUPPORT | NUMBER | Value of Antecedent Support, coming from AR model. | |||
| CONSEQUENT_SUPPORT | NUMBER | Value of Consequent Support, coming from AR model. | |||
| NUMBER_OF_ITEMS | NUMBER | Value of Number of Items, coming from AR model. | |||
| ANTECEDENT_FREQUENCY | NUMBER | Value of Antecedent frequency, calculated value. | |||
| CONSEQUENT_FREQUENCY | NUMBER | Value of Consequent frequency, calculated value. | |||
| ANTE_AND_CONS_FREQUENCY | NUMBER | Value of Antecedent and Consequent frequency, calculated value. | |||
| 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_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. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates 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. | |
| USER_LAST_UPDATE_DATE | TIMESTAMP | Disconnected Mobile: indicates the date and time of the last update of the row. This value is different from LAST_UPDATE_DATE if the update originally happened in a different database (i.e. a different mobile database or the server). |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| ZSP_ODM_ASSOC_RULES | zsp_odm_models | MODEL_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| ZSP_ODM_ASSOC_RULES_N1 | Non Unique | FUSION_TS_TX_DATA | MODEL_ID |
| ZSP_ODM_ASSOC_RULES_N2 | Non Unique | FUSION_TS_TX_DATA | ODM_AR_RULE_ID |
| ZSP_ODM_ASSOC_RULES_N3 | Non Unique | FUSION_TS_TX_DATA | ANTECEDENT_VALUE |
| ZSP_ODM_ASSOC_RULES_N4 | Non Unique | FUSION_TS_TX_DATA | ANTECEDENT_PROD_TYPE |
| ZSP_ODM_ASSOC_RULES_N5 | Non Unique | FUSION_TS_TX_DATA | CONSEQUENT_PROD_ID |
| ZSP_ODM_ASSOC_RULES_N6 | Non Unique | FUSION_TS_TX_DATA | CONSEQUENT_PROD_TYPE |
| ZSP_ODM_ASSOC_RULES_N7 | Non Unique | FUSION_TS_TX_DATA | ANTECEDENT_NAME, ANTECEDENT_VALUE |
| ZSP_ODM_ASSOC_RULES_N8 | Non Unique | FUSION_TS_TX_DATA | RULE_CONFIDENCE |
| ZSP_ODM_ASSOC_RULES_N9 | Non Unique | FUSION_TS_TX_DATA | RULE_LIFT |
| ZSP_ODM_ASSOC_RULES_PK | Unique | FUSION_TS_TX_DATA | ASSOC_RULE_ID |