RE7INTEGRATIONAVAILABLEFIELD

This table contains fields that are available for adding to and from The Raiser's Edge.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(50) Default = '' Contains the name of the field.
DIRECTIONCODE tinyint Default = 0 Contains whether the field is to or from The Raiser's Edge.
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.
DESCRIPTION nvarchar(255) Default = ''
DIRECTION nvarchar(7) (Computed) yes CASE [DIRECTIONCODE] WHEN 0 THEN N'From RE' WHEN 1 THEN N'To RE' WHEN 2 THEN N'View RE' END

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_RE7INTEGRATIONAVAILABLEFIELD_DATEADDED DATEADDED yes
IX_RE7INTEGRATIONAVAILABLEFIELD_DATECHANGED DATECHANGED
PK_RE7INTEGRATIONAVAILABLEFIELD ID yes yes
UIX_RE7INTEGRATIONAVAILABLEFIELD_NAME_DIRECTIONCODE NAME, DIRECTIONCODE yes

Triggers

Trigger Name Description
TR_RE7INTEGRATIONAVAILABLEFIELD_AUDIT_UPDATE
TR_RE7INTEGRATIONAVAILABLEFIELD_AUDIT_DELETE

Referenced by

Referenced by Field
RE7INTEGRATIONSELECTEDFIELD ID