SVC_IOT_CRM_ASSET_REL
Intersection table that would maintain the mapping between CRM asset and IoT device/asset.
Details
-
Schema: FUSION
-
Object owner: FUSION
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
SVC_IOT_CRM_ASSET_REL_PK |
ASSET_REL_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments | Status |
---|---|---|---|---|---|---|
ASSET_REL_ID | NUMBER | 18 | Yes | Auto-generated number and primary key for this table. | ||
ORIGINAL_SYSTEM_REFERENCE | VARCHAR2 | 255 | Specifies the original system reference if record was imported. | |||
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | Active | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | Active | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | Active | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | 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 | |
CRM_ASSET_ID | NUMBER | 18 | Yes | 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. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
SVC_IOT_CRM_ASSET_REL | zca_asset | CRM_ASSET_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
SVC_IOT_CRM_ASSET_REL_F1 | Non Unique | Default | CRM_ASSET_ID |
SVC_IOT_CRM_ASSET_REL_PK | Unique | Default | ASSET_REL_ID |
SVC_IOT_CRM_ASSET_REL_U1 | Unique | Default | ORIGINAL_SYSTEM_REFERENCE |
SVC_IOT_CRM_ASSET_REL_U2 | Unique | Default | LAST_UPDATE_DATE, ASSET_REL_ID |