BATCHSPONSORSHIPCONSTITUENTGROUPMEMBER (4.0SP17)

Stores group members for groups/households added to sponsorship batch.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

GROUPID

uniqueidentifier

false

The ID of the batch SPONSORSHIP constituent group record

MEMBERID

uniqueidentifier

false

The ID of the batch SPONSORSHIP constituent member record

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

ISPRIMARY

bit

false

0

Indicates whether or not the group member is the primary contact for the group.

COPYMEMBERCONTACTINFOTOGROUP

bit

false

0

Indicates whether or not the member's contact info should be copied onto the group.

COPYGROUPCONTACTINFOTOMEMBER

bit

false

0

Indicates whether or not the group's contact info should be copied onto the member.

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.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BATCHSPONSORSHIPCONSTITUENTGROUPMEMBER_DATEADDED

DATEADDED

False

False

True

IX_BATCHSPONSORSHIPCONSTITUENTGROUPMEMBER_DATECHANGED

DATECHANGED

False

False

False

IX_BATCHSPONSORSHIPCONSTITUENTGROUPMEMBER_GROUPID_MEMBERID

GROUPID

MEMBERID

False

False

False

IX_BATCHSPONSORSHIPCONSTITUENTGROUPMEMBER_MEMBERID_GROUPID

MEMBERID

GROUPID

False

False

False

PK_BATCHSPONSORSHIPCONSTITUENTGROUPMEMBER

ID

True

True

False

Triggers
Trigger Name Description

TR_BATCHSPONSORSHIPCONSTITUENTGROUPMEMBER_AUDIT_UPDATE

TR_BATCHSPONSORSHIPCONSTITUENTGROUPMEMBER_AUDIT_DELETE