PARTICIPANTEMAILTEMPLATE
Participant Custom Templates
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| NAME |
nvarchar(255) |
|
Default = '' |
Template Name |
| DESCRIPTION |
nvarchar(512) |
|
Default = '' |
Template description |
| CONTENTHTML |
nvarchar(max) |
|
Default = '' |
Content HTML |
| CONTENTTEXT |
nvarchar(max) |
|
Default = '' |
Content Text |
| SUBJECT |
nvarchar(255) |
|
Default = '' |
Subject |
| CONTACTTYPE |
nvarchar(255) |
|
Default = '' |
Contact type |
| DELETED |
bit |
|
Default = 0 |
Is Template Deleted |
| 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. |
| AVAILABLEASLETTER |
bit |
|
Default = 0 |
Available as letter template. |
| LASTDAYSENT |
datetime |
yes |
|
|
| ISLETTER |
bit |
|
Default = 0 |
|
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| EVENTID |
uniqueidentifier |
|
EVENT.ID
|
Event ID |
| CLIENTUSERSID |
int |
|
ClientUsers.ID
|
FK to CLIENTUSERS |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| FAFTASKID |
uniqueidentifier |
yes |
FAFTASK.ID
|
|
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_PARTICIPANTEMAILTEMPLATE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_PARTICIPANTEMAILTEMPLATE_DATECHANGED |
DATECHANGED |
|
|
|
| PK_PARTICIPANTEMAILTEMPLATE |
ID |
yes |
yes |
|
| UIX_PARTICIPANTEMAILTEMPLATE_EVENTID_CLIENTUSERSID_NAME |
EVENTID, CLIENTUSERSID, NAME |
yes |
|
|
Triggers