Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
tinyint | Default = 0 | Specifies the type of add-ons: additional member or guest. | |
![]() |
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(17) (Computed) | ![]() |
CASE [ADDONTYPECODE] WHEN 0 THEN N'Benefit' WHEN 1 THEN N'Additional member' END |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | SALESORDERITEM.ID | Primary Key. | |
![]() |
uniqueidentifier | ![]() |
MEMBERSHIP.ID | The membership ID that add-on is associated to. |
![]() |
uniqueidentifier | ![]() |
SALESORDERITEMMEMBERSHIP.ID | The sales order item membership ID that add-on is associated to. |
![]() |
uniqueidentifier | ![]() |
MEMBERSHIPTRANSACTION.ID | FK to MEMBERSHIPTRANSACTION table |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | ![]() |
ADDON.ID | |
![]() |
uniqueidentifier | ![]() |
MEMBERSHIPADDON.ID |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
ID | ![]() |
![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |