MOT_QM_QUOTA_PLANS_B

Stores the quota plans. Alos stores related information such as Status, Date of activation and whether it should be available to final users.

Details

  • Schema: FUSION

  • Object owner: MOT

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

MOT_QM_QUOTA_PLANS_B_PK

QUOTA_PLAN_ID

Columns

Name Datatype Length Precision Not-null Comments
QUOTA_PLAN_ID NUMBER 18 Yes Primary Key
COPY_PREDICTION_FLAG VARCHAR2 1 Whether predicted quota must be copied to territory quota.
COPY_QUOTA_PLAN_ID NUMBER 18 Quota plan Id for copying Quota Plan options, Territory Quota and Resource Quota from past Quota Plan
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.
CALENDAR_ID NUMBER 18 Yes FK : GL_CALENDARS
PERIOD_YEAR NUMBER 18 Yes Period year from GL_PERIODS
PLAN_START_DATE TIMESTAMP Yes Quota plans start date
PLAN_END_DATE TIMESTAMP Quota Plans end date
STATUS_CODE VARCHAR2 30 Status of the quota plan - In Plan, Active, Complete
ACTIVATION_DATE TIMESTAMP Date of activation
DEFAULT_PREDICTION_FLAG VARCHAR2 1 Whether predicted quota should be calculated
TRACK_QUOTA_PLAN_FLAG VARCHAR2 1 Whether sales managers should be able to use this quota plan to assign quotas
PAD_THRESHOLD_PERCENT NUMBER The threshold percent for the quota plan
SEASONALITY_FACTOR_DEFN_ID NUMBER 18 FK : MOT_QM_SEASON_FACTOR_DEFN_B
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.
LAST_SYNC_TIME TIMESTAMP Indicates the last time Quota plan was successfully synchronized
SYNC_STATUS VARCHAR2 30 Indicates the Syncronization Status
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_QUOTA_PLANS_B mot_qm_season_factor_defn_b SEASONALITY_FACTOR_DEFN_ID
mot_qm_terr_pred_formulas mot_qm_quota_plans_b QUOTA_PLAN_ID
mot_qm_qp_proposal_mappings mot_qm_quota_plans_b QUOTA_PLAN_ID
mot_qm_quota_ess_logs mot_qm_quota_plans_b QUOTA_PLAN_ID
mot_qm_terr_quota_config mot_qm_quota_plans_b QUOTA_CONFIG_ID
mot_qm_terr_proposal_mappings mot_qm_quota_plans_b QUOTA_PLAN_ID
mot_qm_quota_plans_tl mot_qm_quota_plans_b QUOTA_PLAN_ID
mot_qm_territory_quotas mot_qm_quota_plans_b QUOTA_PLAN_ID

Indexes

Index Uniqueness Tablespace Columns
MOT_QM_QUOTA_PLANS_B_FK1 Non Unique Default CALENDAR_ID
MOT_QM_QUOTA_PLANS_B_FK2 Non Unique Default SEASONALITY_FACTOR_DEFN_ID
MOT_QM_QUOTA_PLANS_B_N1 Non Unique Default LAST_UPDATE_DATE
MOT_QM_QUOTA_PLANS_B_PK Unique Default QUOTA_PLAN_ID
MOT_QM_QUOTA_PLANS_B_U1 Unique Default QUOTA_PLAN_ID, LAST_UPDATE_DATE