Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
tinyint | Default = 0 | Indicates the type of group. A group type of Custom indicates that GROUPTYPEID will point to a custom group type record in the GROUPTYPE table. | |
![]() |
datetime | ![]() |
The date of the group's inception | |
![]() |
datetime | Default = getdate() | Indicates the date this record was added. | |
![]() |
datetime | Default = getdate() | Indicates the date this record was last changed. | |
![]() |
timestamp | Timestamp. | ||
![]() |
bigint (Computed) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
![]() |
nvarchar(300) | Default = '' | Provides a user-friendly description of the purpose of a group. | |
![]() |
nvarchar(9) (Computed) | ![]() |
CASE [GROUPTYPECODE] WHEN 0 THEN N'Household' WHEN 1 THEN N'Custom' END | Provides a translation for the 'GROUPTYPECODE' field. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | CONSTITUENT.LOCALID | Primary Key. | |
![]() |
uniqueidentifier | ![]() |
GROUPTYPE.ID | Points to a custom group type definition in the GROUPTYPE table |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | ![]() |
NAMEFORMATFUNCTION.ID | The name format function which will be used to generate the household name if specified. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
ID | |||
![]() |
ID | ![]() |
![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
Referenced by | Field |
---|---|
![]() |
GROUPID |
![]() |
HOUSEHOLDID |