MOT_RES_QUOTA_PERIODS_INT
Interface table for supporting resource quota periods import
Details
-
Schema: FUSION
-
Object owner: MOT
-
Object type: TABLE
-
Tablespace: INTERFACE
Primary Key
Name | Columns |
---|---|
MOT_RES_QUOTA_PERIODS_INT_PK |
BATCH_ID, INTERFACE_ROW_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
BATCH_ID | NUMBER | 18 | Yes | Externally generated id to mark actual set of imported records | |
INTERFACE_ROW_ID | NUMBER | 18 | Yes | An internally generated identifier for interface table. It is part of the primary key | |
IMPORT_STATUS_CODE | VARCHAR2 | 30 | Indicates the import status of the record | ||
INTERNAL_ACTION_CODE | VARCHAR2 | 30 | This column is to handle the null action code | ||
FILE_RECORD_NUM | NUMBER | 10 | File record number | ||
INTERNAL_OVN | NUMBER | 9 | This is used for optimistic locking | ||
FILE_NAME_SYSTASK_ID | NUMBER | 18 | Indicates import sys task id for multi CSV upload | ||
ERROR_MESSAGE | VARCHAR2 | 3000 | This column would be populated by consumer when there is any error in PLSQL | ||
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 | ||
PERIOD_NAME | VARCHAR2 | 15 | Period name for which the quota is defined. 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_PERIOD_ID | NUMBER | 18 | Identifier of resource period quota | ||
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_PERIOD_QUOTA | NUMBER | Period level Quota allocated to a resource | |||
CREATED_BY | VARCHAR2 | 64 | Who column: indicates the user who created the row. | ||
CREATION_DATE | TIMESTAMP | Who column: indicates the date and time of the creation of the row. | |||
LAST_UPDATED_BY | VARCHAR2 | 64 | Who column: indicates the user who last updated the row. | ||
LAST_UPDATE_DATE | TIMESTAMP | 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_RES_QM_PERIODS_INT_N1 | Non Unique | Default | BATCH_ID, QUOTA_PLAN_NAME, TERRITORY_NUMBER, RESOURCE_EMAIL, GOAL_NUMBER, PERIOD_NAME |
MOT_RES_QM_PERIODS_INT_U1 | Unique | Default | BATCH_ID, INTERFACE_ROW_ID |