SVC_WO_LINKS

This table is used to store and represent the links between field service work orders using Oracle Field Service linking feature. WO_LINK_ID is primary / unique key in this table.

Details

  • Schema: FUSION

  • Object owner: SVC

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

SVC_WO_LINKS_PK

WO_LINK_ID

Columns

Name Datatype Length Precision Not-null Comments
WO_LINK_ID NUMBER 18 Yes An autogenerated number and primary key for this table.
LINK_TEMPLATE_ID NUMBER 18 Yes The foreign key that maps this record to the SVC_WO_TEMPLATES_B(LINK_TEMPLATE_ID) table.
LINK_TYPE_DIRECTION_CD VARCHAR2 30 Yes Lookup code that indicates the direction of the activity in link template, such as LINK_FOR_FIRST, LINK_FOR_SECOND, LINK_FOR_SECOND,LINK_FOR_BOTH.
FIRST_WO_ID NUMBER 18 Yes The foreign key that maps this record to the SVC_WORK_ORDERS(WO_ID) table.
SECOND_WO_ID NUMBER 18 Yes The foreign key that maps this record to the SVC_WORK_ORDERS(WO_ID) 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_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.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
FS_SECOND_ACTIVITY_ID NUMBER 18 Yes Property used to indicate the activity id of the second Activity in OFS.
FS_FIRST_ACTIVITY_ID NUMBER 18 Yes Property used to indicate the activity id of the first Activity in OFS.
MAX_INTERVAL_VAL NUMBER 9 Property used to indicate the maximumm time interval between activities.
MIN_INTERVAL_VAL NUMBER 9 Property used to indicate the minimum time interval between activities.
LAST_UPDATE_SOURCE_CD VARCHAR2 30 Source code that indicates how the work order was last updated such as ORA_SVC_REDWOOD_AGENT_UI or ORA_SVC_OFSC or ORA_SVC_API.

Foreign Keys

Table Foreign Table Foreign Key Column
SVC_WO_LINKS svc_work_orders FIRST_WO_ID
SVC_WO_LINKS svc_work_orders SECOND_WO_ID

Indexes

Index Uniqueness Tablespace Columns
SVC_WO_LINKS_F2 Non Unique Default SECOND_WO_ID
SVC_WO_LINKS_PK Unique Default WO_LINK_ID
SVC_WO_LINKS_U1 Unique Default FIRST_WO_ID, SECOND_WO_ID, LINK_TEMPLATE_ID