SVC_IOT_CRM_ASSET_REL_INT
This table is used as interface table (for import) to store the asset instance that would maintain the mapping between CRM asset and IoT device/asset.
Details
-
Schema: FUSION
-
Object owner: FUSION
-
Object type: TABLE
-
Tablespace: INTERFACE
Primary Key
Name | Columns |
---|---|
SVC_IOT_CRM_ASSET_REL_INT_PK |
BATCH_ID, INTERFACE_ROW_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments | Status |
---|---|---|---|---|---|---|
ASSET_REL_ID | NUMBER | 18 | Auto-generated number and primary key for this table. | |||
ASSET_ORIG_SYSTEM | VARCHAR2 | 30 | Additional column to resolve ASSET_ID using original system reference keys. | |||
ASSET_ORIG_SYSTEM_REFERENCE | VARCHAR2 | 255 | Additional column to resolve ASSET_ID using original system reference keys. | |||
ASSET_NUMBER | VARCHAR2 | 100 | Additional column to resolve ASSET_ID using alternate key ASSET_NUMBER. | |||
BATCH_ID | NUMBER | 18 | Yes | For each run of the job, import wizard generates a new batch id and this batch id will be used uniquely. | ||
INTERFACE_ROW_ID | NUMBER | 18 | Yes | Used to link this record with the error record. | ||
FILE_RECORD_NUM | NUMBER | 10 | This column is required by import wizard to relate record in the interface table to the file row. | |||
ERROR_MESSAGE | VARCHAR2 | 3000 | This is an optional column and would be useful if consumers want any error message as the first error. | |||
IMPORT_STATUS_CODE | VARCHAR2 | 1 | This column indicates import wizard if the import to base table was successful or Erorred out. | |||
FILE_NAME_SYSTASK_ID | NUMBER | 18 | This column is required for bulk import operations. | |||
ACTION_CODE | VARCHAR2 | 30 | Action code will be used to determine what operation should be done: insert,update,delete. | |||
INTERNAL_ACTION_CODE | VARCHAR2 | 30 | Internal action code will be populated internally by framework based on outcome of match step. | |||
INTERNAL_OVN | NUMBER | 9 | The Object Version Number of the record being updated. Used for Optimistic Locking as part of Incremental Update. | |||
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. | |||
ORIGINAL_SYSTEM_REFERENCE | VARCHAR2 | 255 | Specifies the original system reference if record was imported. | |||
CREATION_DATE | TIMESTAMP | Who column: indicates the date and time of the creation of the row. | Active | |||
CREATED_BY | VARCHAR2 | 64 | Who column: indicates the user who created the row. | Active | ||
LAST_UPDATE_DATE | TIMESTAMP | Who column: indicates the date and time of the last update of the row. | Active | |||
LAST_UPDATED_BY | VARCHAR2 | 64 | Who column: indicates the user who last updated the row. | Active | ||
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | Active | ||
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. | Active | |
REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | |||
CRM_ASSET_ID | NUMBER | 18 | Foreign key corresponding to CRM Asset | |||
IOT_OBJECT_TYPE_CD | VARCHAR2 | 30 | Lookup code that indicates where this record is created from, either Device or Asset. | |||
IOT_OBJECT_ID | VARCHAR2 | 255 | Stores object Id of the device or asset. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
SVC_IOT_CRM_ASSET_INT_N1 | Non Unique | Default | BATCH_ID, IMPORT_STATUS_CODE |
SVC_IOT_CRM_ASSET_INT_N2 | Non Unique | Default | BATCH_ID, ORIGINAL_SYSTEM_REFERENCE |
SVC_IOT_CRM_ASSET_INT_U1 | Unique | Default | BATCH_ID, INTERFACE_ROW_ID |