SVC_WO_ASSETS
This table is used to store assets associated to field service work orders. WO_ASSET_ID is primary / unique key in this table.
Details
-
Schema: FUSION
-
Object owner: FUSION
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
SVC_WO_ASSETS_PK |
WO_ASSET_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
WO_ASSET_ID | NUMBER | 18 | Yes | Auto-generated number and primary key for this table. | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated 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. | |
WO_ID | NUMBER | 18 | Yes | Foreign key referencing SVC_WORK_ORDER (WO_ID), the work order the asset is associated with. | |
ASSET_ID | NUMBER | 18 | Yes | Foreign key referencing ZCA_ASSET (ASSET_ID), the asset the work order is associated with. | |
PRIMARY_FLAG | VARCHAR2 | 1 | Yes | Indicates whether the associated object is the primary object (Y or N). |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
SVC_WO_ASSETS | svc_work_orders | WO_ID |
SVC_WO_ASSETS | zca_asset | ASSET_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
SVC_WO_ASSETS_F1 | Unique | Default | WO_ID, ASSET_ID |
SVC_WO_ASSETS_F2 | Non Unique | Default | ASSET_ID |
SVC_WO_ASSETS_PK | Unique | Default | WO_ASSET_ID |