ZSP_ODM_TRAIN_OPTY

This table is used to store the trained opportunities in ODM.

Details

  • Schema: FUSION

  • Object owner: ZSP

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

ZSP_ODM_TRAIN_OPTY_PK

TRAIN_OPTY_ID

Columns

Name Datatype Length Precision Not-null Comments
TRAIN_OPTY_ID NUMBER 18 Yes TRAIN_OPTY_ID
SALES_ACCOUNT_ID NUMBER 18 Sales Account Identifier.
REVN_ID NUMBER 18 Yes REVN_ID
CUSTOMER_ID NUMBER 18 CUSTOMER_ID
PROD_ID NUMBER 18 PROD_ID
CUST_CLUSTER_ID NUMBER 18 Yes CUST_CLUSTER_ID
PROD_CLUSTER_ID NUMBER 18 Yes PROD_CLUSTER_ID
OPTY_CLUSTER_ID NUMBER 18 OPTY_CLUSTER_ID
SALE_PRICE NUMBER SALE_PRICE
REVENUE NUMBER REVENUE
TIME_TO_CLOSE NUMBER TIME_TO_CLOSE
CLOSE_DATE DATE CLOSE_DATE
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_TRAIN_OPTY zsp_odm_clusters CUST_CLUSTER_ID
ZSP_ODM_TRAIN_OPTY zsp_odm_clusters PROD_CLUSTER_ID

Indexes

Index Uniqueness Tablespace Columns
ZSP_ODM_TRAIN_OPTY_N1 Non Unique Default SALES_ACCOUNT_ID
ZSP_ODM_TRAIN_OPTY_N2 Non Unique Default CUSTOMER_ID
ZSP_ODM_TRAIN_OPTY_N3 Non Unique Default CUST_CLUSTER_ID, PROD_CLUSTER_ID, PROD_ID
ZSP_ODM_TRAIN_OPTY_PK Unique FUSION_TS_TX_IDX TRAIN_OPTY_ID