GROUPDATA (4.0SP20)

This table contains data that is specific to group constituents.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

GROUPTYPEID

uniqueidentifier

true

Points to a custom group type definition in the GROUPTYPE table

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

NAMEFORMATFUNCTIONID

uniqueidentifier

true

The name format function which will be used to generate the household name if specified.

Fields
Field Field Type Null Notes Description

GROUPTYPECODE

tinyint

false

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.

STARTDATE

datetime

true

The date of the group's inception

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.

DESCRIPTION

nvarchar(300)

false

''

Provides a user-friendly description of the purpose of a group.

GROUPTYPE

nvarchar(9) (Computed)

true

Provides a translation for the 'GROUPTYPECODE' field.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_GROUPDATA_DATEADDED

DATEADDED

False

False

True

IX_GROUPDATA_DATECHANGED

DATECHANGED

False

False

False

IX_GROUPDATA_ID

ID

False

False

False

PK_GROUPDATA

ID

True

True

False

Triggers
Trigger Name Description

TR_GROUPDATA_AUDIT_ETLDELETEDID

TR_GROUPDATA_MARKNONHOUSEHOLDASCONSTITUENT

TR_GROUPDATA_INSERT_HOUSEHOLD_UPDATE

TR_GROUPDATA_DELETE_HOUSEHOLD_UPDATE

TR_GROUPDATA_T2BDELETE

TR_GROUPDATA_T2BINSERT

TR_GROUPDATA_AUDIT_UPDATE

TR_GROUPDATA_AUDIT_DELETE

Referenced by
Referenced by Field

GROUPGOAL

GROUPID

TEAMEXTENSION

HOUSEHOLDID