MOT_QM_RESOURCE_QUOTAS
Stores quotas for a particular resource.
Details
-
Schema: FUSION
-
Object owner: MOT
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
MOT_QM_RESOURCE_QUOTAS_PK |
RESOURCE_QUOTA_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
RESOURCE_QUOTA_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. | |
RESOURCE_ID | NUMBER | 18 | Yes | Foreign Key to HZ_PARTIES.PARTY_ID | |
GOAL_ID | NUMBER | 18 | Yes | FK: MOT_QM_GOALS_B. Not null colum | |
ORG_ID | NUMBER | 18 | Indicates the identifier of the business unit associated to the row. | ||
TERRITORY_QUOTA_ID | NUMBER | 18 | FK to MOT_QM_TERRITORY_QUOTAS | ||
RESOURCE_QUOTA | NUMBER | Quota assigned by the manager. | |||
INCENTIVE_PLAN_ID | NUMBER | 18 | Tentative | ||
QUOTA_TYPE_CODE | VARCHAR2 | 30 | Defaulted to REVENUE | ||
DEFAULT_RESOURCE_QUOTA_FLAG | VARCHAR2 | 1 | Used for the ManageSalesQuota display purpose only. | ||
START_DATE | DATE | Start date for the resource quota | |||
END_DATE | DATE | End date for the resource quota | |||
CURRENCY_CODE | VARCHAR2 | 3 | CURRENCY_CODE | ||
CURR_EXCHANGE_RATE | NUMBER | Currency exchange rate | |||
CRM_CORP_CURRENCY_CODE | VARCHAR2 | 15 | Crm corporate currency code | ||
CRM_CURR_CONV_RATE_TYPE | VARCHAR2 | 30 | Crm currency conversion rate type | ||
SEASONALITY_APPLIED_FLAG | VARCHAR2 | 1 | Tentative. To identify if seasonality has been applied or not. | ||
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. | ||
LAST_UPDATED_BY_PARTY_ID | NUMBER | 18 | Contains the party id of the user who updated the record recently. | ||
ICM_STATUS_CODE | VARCHAR2 | 30 | ICM_STATUS_CODE | ||
ICM_SUBMITTED_DATE | TIMESTAMP | ICM_SUBMITTED_DATE | |||
ICM_LAST_ACTION_DATE | TIMESTAMP | ICM_LAST_ACTION_DATE | |||
ICM_JUSTIFICATION_CODE | VARCHAR2 | 30 | Justification code for the incentive compensation | ||
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. | ||
ALLOCATION_COMMENTS | VARCHAR2 | 500 | Allocation Comments for the resource quota. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
MOT_QM_RESOURCE_QUOTAS | mot_qm_territory_quotas | TERRITORY_QUOTA_ID |
MOT_QM_RESOURCE_QUOTAS | mot_qm_goals_b | GOAL_ID |
mot_qm_resource_quota_periods | mot_qm_resource_quotas | RESOURCE_QUOTA_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
MOT_QM_RESOURCE_QUOTAS_F1 | Non Unique | Default | RESOURCE_ID |
MOT_QM_RESOURCE_QUOTAS_F2 | Non Unique | Default | GOAL_ID |
MOT_QM_RESOURCE_QUOTAS_N1 | Non Unique | Default | LAST_UPDATE_DATE |
MOT_QM_RESOURCE_QUOTAS_N2 | Non Unique | Default | TRUNC("CREATION_DATE") |
MOT_QM_RESOURCE_QUOTAS_PK | Unique | Default | RESOURCE_QUOTA_ID |
MOT_QM_RESOURCE_QUOTAS_U1 | Unique | Default | TERRITORY_QUOTA_ID, RESOURCE_ID, GOAL_ID, QUOTA_TYPE_CODE |
MOT_QM_RESOURCE_QUOTAS_U2 | Unique | Default | RESOURCE_QUOTA_ID, LAST_UPDATE_DATE |