MOT_IMP_RESOURCE_QUOTAS
This is a staging table used for importing resource quotas
Details
-
Schema: FUSION
-
Object owner: MOT
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
MOT_IMP_RESOURCE_QUOTAS_PK |
BATCH_ID, INTERFACE_ROW_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
INTERFACE_ROW_ID | NUMBER | 18 | Yes | An internally generated identifier for interface table. It is part of the primary key. | |
BATCH_ID | NUMBER | 18 | Yes | Externally generated id to mark actual set of imported records | |
IMPORT_STATUS_CODE | VARCHAR2 | 30 | Indicates the import status of the record. | ||
ACTION_CODE | VARCHAR2 | 30 | Action code will be used to determine what operation should be done: insert,update,delete | ||
INTERNAL_ACTION_CODE | VARCHAR2 | 30 | This is to handle null action code | ||
FILE_RECORD_NUM | NUMBER | 10 | File record number | ||
FILE_NAME_SYSTASK_ID | NUMBER | 18 | Indicates import sys task id for multi CSV upload | ||
INTERNAL_OVN | NUMBER | 9 | This is used for optimistic locking | ||
REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
QUOTA_PLAN_NAME | VARCHAR2 | 100 | Name of the quota plan for which the territory quota is updated. Part of user key | ||
TERRITORY_NUMBER | VARCHAR2 | 30 | Unique identification number for this territory. Part of user key | ||
RESOURCE_EMAIL | VARCHAR2 | 320 | Email of the resource. Part of user key | ||
GOAL_NUMBER | VARCHAR2 | 30 | Associated goal. Part of user key | ||
RESOURCE_QUOTA_ID | NUMBER | 18 | Identifier of resource quota | ||
TERRITORY_QUOTA_ID | NUMBER | 18 | Identifier of territory quota | ||
QUOTA_PLAN_ID | NUMBER | 18 | Identifier of quota plan | ||
TERRITORY_VERSION_ID | NUMBER | 18 | Identifier of territory | ||
RESOURCE_ID | NUMBER | Identifier of resource | |||
GOAL_ID | NUMBER | 18 | Identifier of goal | ||
RESOURCE_QUOTA | NUMBER | Quota allocated to a resource | |||
UNIT_OF_MEASURE | VARCHAR2 | 30 | Unit of measure for goal | ||
RESOURCE_NAME | VARCHAR2 | 360 | Resource name | ||
GOAL_NAME | VARCHAR2 | 100 | Goal name | ||
PARENT_TERITORY_NAME | VARCHAR2 | 60 | Name of the parent territory | ||
TERRITORY_NAME | VARCHAR2 | 60 | Name of the territory | ||
CURRENCY_CODE | VARCHAR2 | 15 | Column to hold the currency code | ||
START_DATE | DATE | Resource quota start date | |||
END_DATE | DATE | Resource quota end date | |||
ICM_STATUS_CODE | VARCHAR2 | 30 | Resource quota ICM status code | ||
ICM_SUBMITTED_DATE | DATE | ICM submitted date | |||
ALLOCATION_COMMENTS | VARCHAR2 | 500 | Comments on resource quota allocation | ||
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. | ||
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. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
MOT_IMP_RESOURCE_QUOTAS_N1 | Non Unique | Default | BATCH_ID, QUOTA_PLAN_NAME, TERRITORY_NUMBER, RESOURCE_EMAIL, GOAL_NUMBER |
MOT_IMP_RESOURCE_QUOTAS_U1 | Unique | Default | BATCH_ID, INTERFACE_ROW_ID |