ZSP_TASK_DETAILS
This table is used to store the status of a task for a batch/job in sales prediction engine.
Details
-
Schema: FUSION
-
Object owner: ZSP
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
ZSP_TASK_DETAILS_PK |
TASK_CODE, JOB_THREAD_ID, JOB_CODE |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
TASK_CODE | VARCHAR2 | 30 | Yes | Primary Key for the table. | |
JOB_THREAD_ID | NUMBER | 18 | Yes | Job Thread Id. Primary Key | |
JOB_CODE | VARCHAR2 | 30 | Yes | JOB_CODE is foreign key from ZSP_JOBS table. Primary Key | |
SUCCESS_FLAG | VARCHAR2 | 1 | Description of a task. | ||
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_TASK_DETAILS | zsp_tasks | TASK_CODE |
ZSP_TASK_DETAILS | zsp_job_details | JOB_THREAD_ID, JOB_CODE |
Indexes
Index | Uniqueness | Tablespace | Columns | Status |
---|---|---|---|---|
ZSP_TASK_DETAILS_F1 | Non Unique | FUSION_TS_TX_DATA | TASK_CODE | Obsolete |
ZSP_TASK_DETAILS_N1 | Non Unique | FUSION_TS_TX_DATA | SUCCESS_FLAG | |
ZSP_TASK_DETAILS_PK | Unique | FUSION_TS_TX_DATA | TASK_CODE, JOB_THREAD_ID, JOB_CODE |