GROUPTYPE

This table contains custom constituent group type records.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
ISACTIVE bit Default = 1 Indicates if the group type is no longer used.
CANBEDONOR bit Default = 1 Indicates whether or not revenue can be applied to groups of this type.
INCLUDEMEMBERGIVING bit Default = 0 Indicates whether or not groups of this type roll-up the individual giving of their members
NAME nvarchar(150) Default = '' The name of the group type
DESCRIPTION nvarchar(300) Default = '' A detailed description of the group type's purpose
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
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_GROUPTYPE_DATEADDED DATEADDED yes
IX_GROUPTYPE_DATECHANGED DATECHANGED
PK_GROUPTYPE ID yes yes
UC_GROUPTYPE_NAME NAME yes

Triggers

Trigger Name Description
TR_GROUPTYPE_AUDIT_UPDATE
TR_GROUPTYPE_AUDIT_DELETE

Referenced by

Referenced by Field
BATCHAUCTIONITEMCONSTITUENT GROUPTYPEID
BATCHCONSTITUENT GROUPTYPEID
BATCHREVENUECONSTITUENT GROUPTYPEID
BATCHSPONSORSHIPCONSTITUENT GROUPTYPEID
GROUPDATA GROUPTYPEID
MKTFINDERNUMBERCONSTITUENT GROUPTYPEID