GIFTAIDDISQUALIFIEDBYATTRIBUTE
This table list all attributes that are disqualified for Gift Aid.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
DATATYPE |
smallint |
|
Default = ((0)) |
The data type for this attribute. |
CODETABLEVALUE |
uniqueidentifier |
yes |
|
The code table that is disqualified for Gift Aid. |
CURRENCYVALUE |
money |
|
Default = 0 |
The currency amount that is disqualified for Gift Aid. |
DATEVALUE |
datetime |
yes |
|
The date that is disqualified for Gift Aid. |
FUZZYDATEVALUE |
UDT_FUZZYDATE |
|
Default = '00000000' |
The fuzzy date that is disqualified for Gift Aid. |
MEMOVALUE |
nvarchar(max) |
|
Default = '' |
The memo value that is disqualified for Gift Aid. |
NUMBERVALUE |
int |
|
Default = 0 |
The number that is disqualified from Gift Aid. |
TEXTVALUE |
nvarchar(255) |
|
Default = '' |
The text value that is disqualified for Gift Aid. |
HOURMINUTEVALUE |
UDT_HOURMINUTE |
|
Default = '' |
The hour minute that is disqualified for Gift Aid. |
BOOLEANVALUE |
bit |
|
Default = 0 |
The boolean value that is disqualified for Gift Aid. |
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. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
ATTRIBUTECATEGORYID |
uniqueidentifier |
|
ATTRIBUTECATEGORY.ID
|
The attribute category for this attribute. |
CONSTITUENTID |
uniqueidentifier |
yes |
CONSTITUENT.LOCALID
|
The constituent id that is disqualified for Gift Aid. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_GIFTAIDDISQUALIFIEDBYATTRIBUTE_CONSTITUENTID |
CONSTITUENTID |
|
|
|
IX_GIFTAIDDISQUALIFIEDBYATTRIBUTE_DATEADDED |
DATEADDED |
|
|
yes |
IX_GIFTAIDDISQUALIFIEDBYATTRIBUTE_DATECHANGED |
DATECHANGED |
|
|
|
PK_GIFTAIDDISQUALIFIEDBYATTRIBUTE |
ID |
yes |
yes |
|
Triggers