COMBINATIONMEMBER (4.0SP14)

Combination membership eligibility.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

COMBINATIONID

uniqueidentifier

false

The ID of the Combination record the Member/Program is for.

MEMBERSHIPPROGRAMID

uniqueidentifier

false

The ID of the Membership Program the Discount is valid for.

MEMBERSHIPLEVELID

uniqueidentifier

true

The ID of the Membership Program Level the Discount is valid for, NULL for all levels.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

SEQUENCE

int

false

0

The sequence in which programs/levels are entered.

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_COMBINATIONMEMBER_DATEADDED

DATEADDED

False

False

True

IX_COMBINATIONMEMBER_DATECHANGED

DATECHANGED

False

False

False

PK_COMBINATIONMEMBER

ID

True

True

False

UIX_COMBINATIONMEMBER_COMBINATIONID_MEMBERSHIPPROGRAMID_MEMBERSHIPLEVELID

COMBINATIONID

MEMBERSHIPPROGRAMID

MEMBERSHIPLEVELID

True

False

False

Triggers
Trigger Name Description

TR_COMBINATIONMEMBER_AUDIT_UPDATE

TR_COMBINATIONMEMBER_AUDIT_DELETE