Field |
Field Type |
Null |
Notes |
Description |
NAME |
nvarchar(100) |
|
Default = '' |
The name of the letter template. |
DESCRIPTION |
nvarchar(255) |
|
Default = '' |
The description of the letter template. |
LETTERFILE |
varbinary |
|
|
The actual file. |
LETTERFILENAME |
nvarchar(255) |
|
Default = '' |
The file name of the letter template. |
LETTERTEMPLATETYPECODE |
tinyint |
|
Default = 0 |
The type of the letter template. |
CUSTOMPARAMETERDATAFORMITEM |
xml |
 |
|
Custom parameters for the process. |
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) |
 |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
LETTERTEMPLATETYPE |
nvarchar(28) (Computed) |
 |
CASE [LETTERTEMPLATETYPECODE] WHEN 0 THEN N'Acknowledgement' WHEN 1 THEN N'Planned gift acknowledgement' WHEN 2 THEN N'Pledge reminder' WHEN 3 THEN N'Receipt' WHEN 4 THEN N'Correspondence' WHEN 5 THEN N'Constituent letter' WHEN 6 THEN N'Tribute acknowledgement' WHEN 7 THEN N'Group sales contract' WHEN 8 THEN N'Membership card' END |
Provides a translation for the 'LETTERTEMPLATETYPECODE' field. |