TRIBUTELETTERCODE
Stores information pertaining to tribute letters.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| NAME |
nvarchar(100) |
|
Default = '' |
Name of the tribute letter code. |
| DESCRIPTION |
nvarchar(255) |
|
Default = '' |
Description for the tribute letter code. |
| WORDTEMPLATEFILENAME |
nvarchar(255) |
|
Default = '' |
Filename of the word template to use for this tribute letter. |
| WORDFILE |
varbinary |
yes |
|
The actual template file to use for this tribute letter. |
| ISACTIVE |
bit |
|
Default = 1 |
Indicates whether or not the tribute letter code is active. |
| 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. |
| CUSTOMPARAMETERDATAFORMITEM |
xml |
yes |
|
Custom parameters for the query view chosen for this letter code. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| QUERYVIEWID |
uniqueidentifier |
yes |
QUERYVIEWCATALOG.ID
|
A foreign key to the query view used for this tribute letter. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| EXPORTDEFINITIONID |
uniqueidentifier |
yes |
EXPORTDEFINITION.ID
|
A foreign key to the export definition used for this letter. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_TRIBUTELETTERCODE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_TRIBUTELETTERCODE_DATECHANGED |
DATECHANGED |
|
|
|
| PK_TRIBUTELETTERCODE |
ID |
yes |
yes |
|
| UC_TRIBUTELETTERCODE_NAME |
NAME |
yes |
|
|
Triggers
Referenced by