HOUSEHOLDRECOGNITIONSETTINGS
Stores recognition settings for a household.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
HOUSEHOLDRECOGNIZEHOUSEHOLD |
bit |
|
Default = 0 |
|
HOUSEHOLDRECOGNIZEMEMBERSCODE |
tinyint |
|
Default = 0 |
0=None, 1=All Members, 2=Specified Members |
HOUSEHOLDRECOGNIZEMEMBERS |
nvarchar(17) (Computed) |
yes |
CASE [HOUSEHOLDRECOGNIZEMEMBERSCODE] WHEN 0 THEN N'None' WHEN 1 THEN N'All Members' WHEN 2 THEN N'Specified Members' END |
Provides a translation for the 'HOUSEHOLDRECOGNIZEMEMBERSCODE' field. |
MEMBERRECOGNIZEHOUSEHOLD |
bit |
|
Default = 0 |
|
MEMBERRECOGNIZEMEMBER |
bit |
|
Default = 0 |
|
MEMBERRECOGNIZEOTHERMEMBERSCODE |
tinyint |
|
Default = 0 |
0=None, 1=All Members, 2=Specified Members |
MEMBERRECOGNIZEOTHERMEMBERS |
nvarchar(17) (Computed) |
yes |
CASE [MEMBERRECOGNIZEOTHERMEMBERSCODE] WHEN 0 THEN N'None' WHEN 1 THEN N'All Members' WHEN 2 THEN N'Specified Members' END |
Provides a translation for the 'MEMBERRECOGNIZEOTHERMEMBERSCODE' field. |
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 |
ID |
uniqueidentifier |
|
CONSTITUENT.LOCALID
|
Primary Key. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
HOUSEHOLDREVENUERECOGNITIONTYPECODEID |
uniqueidentifier |
yes |
REVENUERECOGNITIONTYPECODE.ID
|
The ID of the recognition type for revenue from households to members |
MEMBERREVENUERECOGNITIONTYPECODEID |
uniqueidentifier |
yes |
REVENUERECOGNITIONTYPECODE.ID
|
The ID of the recognition type for revenue from members to members |
MEMBERHOUSEHOLDREVENUERECOGNITIONTYPECODEID |
uniqueidentifier |
yes |
REVENUERECOGNITIONTYPECODE.ID
|
The ID of the recognition type for revenue from members to the household |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_HOUSEHOLDRECOGNITIONSETTINGS_DATEADDED |
DATEADDED |
|
|
yes |
IX_HOUSEHOLDRECOGNITIONSETTINGS_DATECHANGED |
DATECHANGED |
|
|
|
PK_HOUSEHOLDRECOGNITIONSETTINGS |
ID |
yes |
yes |
|
Triggers