DATAFORMEXTENSION

The DATAFORMEXTENSION table stores extensions for data form instances.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
ENABLED bit Default = 1 Indicates whether or not the extension is enabled
SEQUENCE int Default = 0 Provides a sequence when loading multiple extensions for a data form
DATEADDED datetime Default = getdate() Indicates the date this record was added.
DATECHANGED datetime Default = getdate() Indicates the date this record was last changed.
TS timestamp Timestamp.
TSLONG bigint (Computed) yes CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Keys

Foreign Key Field Type Null Notes Description
ID uniqueidentifier DATAFORMINSTANCECATALOG.ID Primary Key.
DATAFORMINSTANCEID uniqueidentifier DATAFORMINSTANCECATALOG.ID FK to DATAFORMINSTANCECATALOG. Represents the data form instance being extended.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_DATAFORMEXTENSION_DATEADDED DATEADDED yes
IX_DATAFORMEXTENSION_DATECHANGED DATECHANGED
PK_DATAFORMEXTENSION ID yes yes

Triggers

Trigger Name Description
TR_DATAFORMEXTENSION_AUDIT_UPDATE
TR_DATAFORMEXTENSION_AUDIT_DELETE