REVENUELETTER
Stores information pertaining to revenue details and their corresponding letters.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
PROCESSDATE |
datetime |
yes |
|
Date acknowledgement process was run for this letter. |
ACKNOWLEDGEDATE |
datetime |
yes |
|
Date letter was sent. |
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. |
OUTOFDATE |
bit |
|
Default = 0 |
Specifies whether or not the letter is out of date and should be re-acknowledged. |
Foreign Keys
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_REVENUELETTER_ACKNOWLEDGEEID |
ACKNOWLEDGEEID |
|
|
|
IX_REVENUELETTER_DATEADDED |
DATEADDED |
|
|
yes |
IX_REVENUELETTER_DATECHANGED |
DATECHANGED |
|
|
|
IX_REVENUELETTER_MKTPACKAGEID |
MKTPACKAGEID |
|
|
|
IX_REVENUELETTER_REVENUEID_LETTERCODEID |
REVENUEID, LETTERCODEID |
|
|
|
IX_REVENUELETTER_REVENUEID_MKTPACKAGEID |
REVENUEID, MKTPACKAGEID |
|
|
|
PK_REVENUELETTER |
ID |
yes |
yes |
|
Triggers
Referenced by