MOT_RESOURCE_QUOTAS_INT

Interface table for supporting resource quota import

Details

  • Schema: FUSION

  • Object owner: MOT

  • Object type: TABLE

  • Tablespace: INTERFACE

Primary Key

Name Columns

MOT_RESOURCE_QUOTAS_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
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
ALLOCATION_COMMENTS VARCHAR2 500 Comments on resource quota allocation
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_INT_N1 Non Unique Default BATCH_ID, QUOTA_PLAN_NAME, TERRITORY_NUMBER, RESOURCE_EMAIL, GOAL_NUMBER
MOT_RES_QM_INT_U1 Unique Default BATCH_ID, INTERFACE_ROW_ID