ZCA_AI_OBJECT_HINTS
Stores AI hint instances specific to an object along with user responses to the hints.
Details
-
Schema: FUSION
-
Object owner: ZCA
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
ZCA_AI_OBJECT_HINTS_PK |
OBJECT_HINT_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| OBJECT_HINT_ID | NUMBER | 18 | Yes | Primary key which is system generated. | |
| EXPLANATIONS | CLOB | The explanations in Json format | |||
| TASK_ID | NUMBER | 18 | ID of the task that was created for the recommendation | ||
| OBJECT_INSTANCE_ID | NUMBER | 18 | Yes | ID of the object specified by OBJECT_TYPE column. | |
| OBJECT_UUID | VARCHAR2 | 50 | Yes | Unique ID which is an alternate key. | |
| OBJECT_TYPE | VARCHAR2 | 30 | Yes | Object for which hint is applicable; for example, OPPORTUNITY, LEAD, etc. | |
| HINT_CODE | VARCHAR2 | 10 | Yes | Code used to identify recommendation. | |
| TOP_HINT_FLAG | VARCHAR2 | 1 | Yes | Indicates the current highest ranked recommendation to display in the UI. | |
| PRED_WIN_PROB | NUMBER | Win Probability predicted by the AI engine. | |||
| USER_RESPONSE | VARCHAR2 | 1 | User's response to a recommendation. | ||
| RESP_RESOURCE_ID | NUMBER | 18 | Resource ID of the user who provided feedback on the recommendation. | ||
| START_DATE | TIMESTAMP | Start date of when the hint is active. | |||
| END_DATE | TIMESTAMP | End date of when the hint is active. | |||
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated 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. | |
| 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 |
|---|---|---|
| ZCA_AI_OBJECT_HINTS | zca_ai_hints_b | HINT_CODE |
| ZCA_AI_OBJECT_HINTS | hz_parties | RESP_RESOURCE_ID |
| ZCA_AI_OBJECT_HINTS | zmm_activities | TASK_ID |
| zca_ai_obj_hint_ca | zca_ai_object_hints | OBJECT_HINT_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| ZCA_AI_OBJECT_HINTS_N1 | Non Unique | Default | OBJECT_INSTANCE_ID, OBJECT_TYPE, HINT_CODE |
| ZCA_AI_OBJECT_HINTS_N2 | Non Unique | Default | OBJECT_TYPE, LAST_UPDATE_DATE |
| ZCA_AI_OBJECT_HINTS_U1 | Unique | Default | OBJECT_HINT_ID |
| ZCA_AI_OBJECT_HINTS_U2 | Unique | Default | OBJECT_UUID |