TRIBUTELETTERCODE (3.0)

Stores information pertaining to tribute letters.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

QUERYVIEWID

uniqueidentifier

true

A foreign key to the query view used for this tribute letter.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

EXPORTDEFINITIONID

uniqueidentifier

true

A foreign key to the export definition used for this letter.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(100)

false

''

Name of the tribute letter code.

DESCRIPTION

nvarchar(255)

false

''

Description for the tribute letter code.

WORDTEMPLATEFILENAME

nvarchar(255)

false

''

Filename of the word template to use for this tribute letter.

WORDFILE

varbinary

true

The actual template file to use for this tribute letter.

ISACTIVE

bit

false

1

Indicates whether or not the tribute letter code is active.

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.

CUSTOMPARAMETERDATAFORMITEM

xml

true

Custom parameters for the query view chosen for this letter code.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_TRIBUTELETTERCODE_DATEADDED

DATEADDED

False

False

True

IX_TRIBUTELETTERCODE_DATECHANGED

DATECHANGED

False

False

False

PK_TRIBUTELETTERCODE

ID

True

True

False

UC_TRIBUTELETTERCODE_NAME

NAME

True

False

False

Triggers
Trigger Name Description

TR_TRIBUTELETTERCODE_AUDIT_UPDATE

TR_TRIBUTELETTERCODE_AUDIT_DELETE

Referenced by
Referenced by Field

REVENUETRIBUTELETTER

TRIBUTELETTERCODEID

TRIBUTEACKNOWLEDGEE

TRIBUTELETTERCODEID

TRIBUTEACKNOWLEDGEMENTPROCESS

TRIBUTELETTERCODEID

TRIBUTELETTERCODESITE

TRIBUTELETTERCODEID