ZSP_JOB_DETAILS

This table is used to store the details information for a batch thread.

Details

  • Schema: FUSION

  • Object owner: ZSP

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

ZSP_JOB_DETAILS_PK

JOB_THREAD_ID, JOB_CODE

Columns

Name Datatype Length Precision Not-null Comments
JOB_THREAD_ID NUMBER 18 Yes Primary Key for the table.
JOB_CODE VARCHAR2 30 Yes Foreign key from ZSP_JOBS table. Primary Key
OPTY_EVENT_LEARNED_NUM NUMBER 18 Total number of events corresponding to the opportunities that are learned by the model for a job.
OPTY_CLOSED_LEARNED_NUM NUMBER 18 Total number of closed opportunities that are learned by the model and can be used for prediction
EARLIEST_OPTY_CLOSE_DT DATE The earliest close date of all opportunities for a job.
LATEST_OPTY_CLOSE_DT DATE The latest close date of all opportunities for a job.
RECOMMEND_NUM NUMBER 18 Total number of recommendations (customer, product combination) that are generated by the model for a job.
RECOMMEND_CUST_NUM NUMBER 18 Total number of customers which will be processed for this job. Used for both training and lead gen jobs.
LEARNED_CUST_NUM NUMBER 18 Number of customers processed so far. Used for both training and lead gen jobs.
CHILD_REQUEST_ID NUMBER 18 Child request Id from ESS Job.
MARKETING_JOB_ID NUMBER 18 Marketing ODI import job will generate this ID.
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_JOB_DETAILS zsp_jobs JOB_CODE
zsp_opty_events zsp_job_details JOB_THREAD_ID, JOB_CODE
zsp_task_details zsp_job_details JOB_THREAD_ID, JOB_CODE
zsp_correlation_drivers zsp_job_details JOB_THREAD_ID, JOB_CODE

Indexes

Index Uniqueness Tablespace Columns
ZSP_JOB_DETAILS_F1 Non Unique FUSION_TS_TX_DATA JOB_CODE
ZSP_JOB_DETAILS_N1 Non Unique FUSION_TS_TX_DATA CHILD_REQUEST_ID
ZSP_JOB_DETAILS_PK Unique FUSION_TS_TX_DATA JOB_THREAD_ID, JOB_CODE