ZSP_JOBS
This table is used to store the summary information for a batch/job.
Details
-
Schema: FUSION
-
Object owner: ZSP
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
ZSP_JOBS_PK |
JOB_CODE |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| JOB_CODE | VARCHAR2 | 30 | Yes | Primary Key for the table. | |
| JOB_OPTY_EVENT_LEARNED_NUM | NUMBER | 18 | Total number of events corresponding to above opportunities that are learned by the model for a job. | ||
| JOB_OPTY_CLOSED_LEARNED_NUM | NUMBER | 18 | Total number of closed opportunities that are learned by the model for a job 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 | |||
| JOB_RECOMMEND_NUM | NUMBER | 18 | Number of recommendations created so far. | ||
| 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. | ||
| JOB_LEARNED_CUST_NUM | NUMBER | 18 | Number of customers processed so far. Used for both training and lead gen jobs. | ||
| CURRENT_TASK_CODE | VARCHAR2 | 30 | TASK_CODE for currently active task. Link to ZSP_TASKS for task description. Null for jobs that are not currently running. | ||
| END_STATUS | VARCHAR2 | 30 | Status of current job. All possible values are ???Succeeded???, ???Failed???, ???Canceled??? or null. | ||
| 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). | |||
| REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
| JOB_DEFINITION_NAME | VARCHAR2 | 100 | Enterprise Service Scheduler: indicates the name of the job that created or last updated the row. | ||
| JOB_DEFINITION_PACKAGE | VARCHAR2 | 900 | Enterprise Service Scheduler: indicates the package name of the job that created or last updated the row. | ||
| JOB_RECOMMEND_SELECTED | NUMBER | 18 | Number of recommendations selected for a job. | ||
| JOB_LEAD_IMPORTED | NUMBER | 18 | Number of leads imported for a job. | ||
| JOB_CUST_RECOMMEND_SELECTED | NUMBER | 18 | Count of customers whose recommendations are selected in leads preview report. | ||
| JOB_CUST_LEAD_IMPORTED | NUMBER | 18 | Count of customers whose leads are imported in leads preview report. | ||
| TRAINING_JOB_NAME | VARCHAR2 | 100 | TRAINING_JOB_NAME |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| zsp_job_details | zsp_jobs | JOB_CODE |
| zsp_job_param_details | zsp_jobs | JOB_CODE |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| ZSP_JOBS_N1 | Non Unique | Default | REQUEST_ID |
| ZSP_JOBS_N2 | Non Unique | Default | JOB_DEFINITION_NAME |
| ZSP_JOBS_PK | Unique | FUSION_TS_TX_DATA | JOB_CODE |