MOT_QM_TERR_QUOTA_CONFIG
Stores the parameters used by the prediction formulae. Also stores the default values for these parameters.
Details
-
Schema: FUSION
-
Object owner: MOT
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
MOT_QM_TERR_QUOTA_CONFIG_PK |
QUOTA_CONFIG_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| QUOTA_CONFIG_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 | Territory ID, will be unique in this table. | ||
| TERRITORY_VERSION_ID | NUMBER | 18 | Territory Version Id from MOT_TERRITORIES | ||
| PROPOSAL_ID | NUMBER | 18 | FK : MOT_TERR_PROPOSALS | ||
| SEASONALITY_FACTOR_DEFN_ID | NUMBER | 18 | FK : MOT_QM_SEASON_FACTOR_DEFN_B | ||
| QUOTA_PLAN_ID | NUMBER | 18 | Yes | FK : MOT_QM_QUOTA_PLANS | |
| PLAN_DURATION | NUMBER | 9 | Plan duration | ||
| PROPOSAL_DURATION | NUMBER | 9 | Duration of the proposal | ||
| PROP_CONFLICT_EXISTS_FLAG | VARCHAR2 | 1 | Whether the proposals associated with this quota plan cause a conflict | ||
| ALLOW_QUOTA_EDIT_FLAG | VARCHAR2 | 1 | Whether edit is enabled for this territory | ||
| TERRITORY_DELETED_FLAG | VARCHAR2 | 1 | Indicates if territory is deleted | ||
| PAD_THRESHOLD_PERCENT | NUMBER | The pad percentage threshold. Expressed as a percentage of the alloted quota. | |||
| COPY_PREDICTION_FLAG | VARCHAR2 | 1 | Whether predicted quota must be copied to territory quota. | ||
| 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. | ||
| 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. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| MOT_QM_TERR_QUOTA_CONFIG | mot_qm_season_factor_defn_b | SEASONALITY_FACTOR_DEFN_ID |
| MOT_QM_TERR_QUOTA_CONFIG | mot_qm_quota_plans_b | QUOTA_CONFIG_ID |
| MOT_QM_TERR_QUOTA_CONFIG | mot_territories | TERRITORY_VERSION_ID |
| MOT_QM_TERR_QUOTA_CONFIG | mot_terr_proposals | PROPOSAL_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| MOT_QM_TERR_QUOTA_CONFIG_PK | Unique | Default | QUOTA_CONFIG_ID |
| MOT_QM_TERR_QUOTA_CONFIG_U1 | Unique | Default | TERRITORY_ID, QUOTA_PLAN_ID |
| MOT_QM_TERR_QUOTA_CONFIG_U2 | Unique | Default | QUOTA_CONFIG_ID, LAST_UPDATE_DATE |
| MOT_QM_TERR_QUOTA_CON_FK1 | Non Unique | Default | SEASONALITY_FACTOR_DEFN_ID |
| MOT_QM_TERR_QUOTA_CON_FK2 | Non Unique | Default | QUOTA_PLAN_ID |
| MOT_QM_TERR_QUOTA_CON_FK3 | Non Unique | Default | TERRITORY_VERSION_ID |
| MOT_QM_TERR_QUOTA_CON_FK4 | Non Unique | Default | PROPOSAL_ID |