MOT_QM_TERR_PRED_FORMULAS
Stores the territory quota values.
Details
-
Schema: FUSION
-
Object owner: MOT
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
MOT_QM_TERR_PRED_FORMULAS_PK |
TERR_PRED_FORMULA_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
TERR_PRED_FORMULA_ID | NUMBER | 18 | Yes | Primary Key | |
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. | |
TERRITORY_ID | NUMBER | 18 | From MOT_TERRITORIES | ||
QUOTA_PLAN_ID | NUMBER | 18 | Yes | FK : MOT_QM_QUOTA_PLANS | |
PREDICTION_FORMULA_ID | NUMBER | 18 | FK : MOT_QM_PREDICTION_FORMULAS_B | ||
DEFAULT_FLAG | VARCHAR2 | 1 | Indicates if this is the default fromula for a territory. | ||
SELECTED_FLAG | VARCHAR2 | 1 | Tentative. | ||
LAST_RUN_DATE | TIMESTAMP | Last run date for the formula. | |||
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_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated 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. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
MOT_QM_TERR_PRED_FORMULAS | mot_qm_prediction_formula_b | TERR_PRED_FORMULA_ID |
MOT_QM_TERR_PRED_FORMULAS | mot_qm_quota_plans_b | QUOTA_PLAN_ID |
mot_qm_terr_pred_param_values | mot_qm_terr_pred_formulas | TERR_PRED_FORMULA_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
MOT_QM_TERR_PRED_FORMULAS_PK | Unique | Default | TERR_PRED_FORMULA_ID |
MOT_QM_TERR_PRED_FORM_FK1 | Non Unique | Default | PREDICTION_FORMULA_ID |
MOT_QM_TERR_PRED_FORM_U1 | Unique | Default | QUOTA_PLAN_ID, TERRITORY_ID, PREDICTION_FORMULA_ID |
MOT_QM_TERR_PRED_FORM_U2 | Unique | Default | TERR_PRED_FORMULA_ID, LAST_UPDATE_DATE |