EVENTEMAILTEMPLATE (4.0SP20)

Store confirmation and notification templates for a given event

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

EVENTID

uniqueidentifier

false

Event ID

EMAILTEMPLATEID

int

false

EventTemplate ID

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

NCNOTIFICATIONID

int

true

NetCommunity Nofication ID

FAFTASKID

uniqueidentifier

true

Fields
Field Field Type Null Notes Description

CONFIRMATIONTYPECODE

tinyint

false

1

Email Type code

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.

ISAVAILABLETOINDIVIDUAL

bit

false

1

Allow this participant communication template to individual participants

ISAVAILABLETOHOUSEHOLD

bit

false

1

Allow this participant communication template to household participants

ISAVAILABLETOTEAMMEMBER

bit

false

1

Allow this participant communication to team members

ISAVAILABLETOTEAMLEADER

bit

false

1

Allow this participant communication to team leaders

ISAVAILABLETOCOMPANYLEADER

bit

false

1

Allow this participant communication to company leaders

ISAVAILABLETOFUNDRAISINGCOACH

bit

false

1

Allow this participant communication to fundraising coach

ISAVAILABLETOSPONSOR

bit

false

1

Allow this participant communication to sponsor

ISACTIVE

bit

false

1

Template is activate or not

RECIPIENTDONOR

bit

false

0

The recommended contact type to donors

RECIPIENTPROSPECT

bit

false

0

The recommended contact type to prospects

RECIPIENTINDIVIDUAL

bit

false

0

The recommended contact type to individuals

RECIPIENTHOUSEHOLDMEMBER

bit

false

0

The recommended contact type to household members

RECIPIENTHOUSEHOLDLEADER

bit

false

0

The recommended contact type to household leaders

RECIPIENTTEAMMEMBER

bit

false

0

The recommended contact type to team members

RECIPIENTTEAMLEADER

bit

false

0

The recommended contact type to team leaders

RECIPIENTCOMPANYLEADER

bit

false

0

The recommended contact type to company leaders

RECIPIENTSTATUSPREVIOUS

bit

false

0

The recipient previous status

RECIPIENTSTATUSCURRENT

bit

false

0

The recipient current status

AVAILABLEASLETTER

bit

false

0

Make available as a letter template

ISAVAILABLETOHOUSEHOLDMEMBER

bit

false

1

ISDEFAULTFORTASK

bit

false

0

CONFIRMATIONTYPE

nvarchar(51) (Computed)

true

Indexes
Index Name Field(s) Unique Primary Clustered

IX_EVENTEMAILTEMPLATE_DATEADDED

DATEADDED

False

False

True

IX_EVENTEMAILTEMPLATE_DATECHANGED

DATECHANGED

False

False

False

IX_EVENTEMAILTEMPLATE_EVENTID

EVENTID

False

False

False

PK_EVENTEMAILTEMPLATE

ID

True

True

False

Triggers
Trigger Name Description

TR_EVENTEMAILTEMPLATE_AUDIT_UPDATE

TR_EVENTEMAILTEMPLATE_AUDIT_DELETE