Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
datetime | The date of this membership transaction. | ||
![]() |
datetime | ![]() |
The expiration date for the membership set by this transaction. | |
![]() |
bit | Default = 0 | Indicates that this membership transaction was purchased by a constituent other than the member. | |
![]() |
smallint | Default = ((0)) | The number of children allowed on this membership. | |
![]() |
nvarchar(1000) | Default = '' | Remarks about this membership. | |
![]() |
tinyint | Default = 0 | The action of this transaction on the membership. | |
![]() |
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(9) (Computed) | ![]() |
CASE [ACTIONCODE] WHEN 0 THEN N'Join' WHEN 1 THEN N'Renew' WHEN 2 THEN N'Upgrade' WHEN 3 THEN N'Downgrade' WHEN 4 THEN N'Drop' WHEN 5 THEN N'Rejoin' WHEN 6 THEN N'Cancel' END | |
![]() |
money | Default = 0 | ||
![]() |
tinyint | Default = 0 | ||
![]() |
nvarchar(15) (Computed) | ![]() |
CASE [UPGRADEMETHODCODE] WHEN 0 THEN N'Not an upgrade' WHEN 1 THEN N'Renewal upgrade' WHEN 2 THEN N'Midterm upgrade' END |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | MEMBERSHIP.ID | FK to MEMBERSHIP | |
![]() |
uniqueidentifier | MEMBERSHIPLEVEL.ID | FK to MEMBERSHIPLEVEL | |
![]() |
uniqueidentifier | MEMBERSHIPLEVELTERM.ID | FK to MEMBERSHIPLEVELTERM | |
![]() |
uniqueidentifier | ![]() |
CONSTITUENT.LOCALID | The constituent who purchased this membership as a gift. |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | ![]() |
MEMBERSHIPLEVELTYPECODE.ID | The type of membership. |
![]() |
uniqueidentifier | ![]() |
FINANCIALTRANSACTIONLINEITEM.ID | The REVENUESPLIT record that is linked to this membership transaction. |
![]() |
uniqueidentifier | ![]() |
MEMBERSHIPPROMO.ID |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
DONORID | |||
![]() |
MEMBERSHIPID | |||
![]() |
REVENUESPLITID | |||
![]() |
TRANSACTIONDATE | |||
![]() |
TRANSACTIONDATE, DATEADDED | |||
![]() |
ID | ![]() |
![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |
|
![]() |
Referenced by | Field |
---|---|
![]() |
MEMBERSHIPTRANSACTIONID |
![]() |
MEMBERSHIPTRANSACTIONID |
![]() |
ORIGINALMEMBERSHIPTRANSACTIONID |
![]() |
CURRENTMEMBERSHIPTRANSACTIONID |
![]() |
MEMBERSHIPTRANSACTIONID |
![]() |
MEMBERSHIPTRANSACTIONID |