PARTICIPANTEMAILTEMPLATE (4.0)

Participant Custom Templates

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

EVENTID

uniqueidentifier

false

Event ID

CLIENTUSERSID

int

false

FK to CLIENTUSERS

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

FAFTASKID

uniqueidentifier

true

Fields
Field Field Type Null Notes Description

NAME

nvarchar(255)

false

''

Template Name

DESCRIPTION

nvarchar(512)

false

''

Template description

CONTENTHTML

nvarchar(max)

false

''

Content HTML

CONTENTTEXT

nvarchar(max)

false

''

Content Text

SUBJECT

nvarchar(255)

false

''

Subject

CONTACTTYPE

nvarchar(255)

false

''

Contact type

DELETED

bit

false

0

Is Template Deleted

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

AVAILABLEASLETTER

bit

false

0

Available as letter template.

LASTDAYSENT

datetime

true

ISLETTER

bit

false

0

Indexes
Index Name Field(s) Unique Primary Clustered

IX_PARTICIPANTEMAILTEMPLATE_DATEADDED

DATEADDED

False

False

True

IX_PARTICIPANTEMAILTEMPLATE_DATECHANGED

DATECHANGED

False

False

False

PK_PARTICIPANTEMAILTEMPLATE

ID

True

True

False

UIX_PARTICIPANTEMAILTEMPLATE_EVENTID_CLIENTUSERSID_NAME

EVENTID

CLIENTUSERSID

NAME

True

False

False

Triggers
Trigger Name Description

TR_PARTICIPANTEMAILTEMPLATE_AUDIT_UPDATE

TR_PARTICIPANTEMAILTEMPLATE_AUDIT_DELETE