APEXFORMTYPE

Form type

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
FORMTYPE nvarchar(256) Default = '' Form type
MAPPINGFILEPATH nvarchar(512) Default = '' Spec fields to form elements mapping file path
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.
ENABLED bit Default = 1 Indicates if this form type will be shown to the users as a form type option.
PRODUCTID uniqueidentifier The product that the form type belongs to

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
SPECDATAFORMINSTANCEID uniqueidentifier yes DATAFORMINSTANCECATALOG.ID Data form instance ID in the data form spec

Indexes

Index Name Fields Unique Primary Clustered
IX_APEXFORMTYPE_DATEADDED DATEADDED yes
IX_APEXFORMTYPE_DATECHANGED DATECHANGED
PK_APEXFORMTYPE ID yes yes

Triggers

Trigger Name Description
TR_APEXFORMTYPE_AUDIT_UPDATE
TR_APEXFORMTYPE_AUDIT_DELETE

Referenced by

Referenced by Field
APEXFORM FORMTYPEID