Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
int | Default = 0 | Number of benefits | |
![]() |
money | Default = 0 | Cost or percentage of the benefit | |
![]() |
nvarchar(255) | Default = '' | Comments | |
![]() |
int | Default = 0 | ||
![]() |
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. |
![]() |
bit | Default = 0 | ||
![]() |
decimal(20, 2) | Default = 0 | ||
![]() |
money | Default = 0 | Unit value in organization currency. | |
![]() |
tinyint | Default = 1 | ||
![]() |
tinyint | Default = 1 | ||
![]() |
nvarchar(20) (Computed) | ![]() |
CASE [NUMBERTOOFFERCODE] WHEN 0 THEN N'Base on # of members' WHEN 1 THEN N'specific number' END | |
![]() |
nvarchar(17) (Computed) | ![]() |
CASE [FREQUENCYCODE] WHEN 0 THEN N'Every renewal' WHEN 1 THEN N'Initially joining' END |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | MEMBERSHIPLEVEL.ID | The membership level for this benefit record. | |
![]() |
uniqueidentifier | BENEFIT.ID | The benefit for this record. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | ![]() |
CURRENCYEXCHANGERATE.ID | The exchange rate used to convert from unit value to organization unit value. |
![]() |
uniqueidentifier | ![]() |
CURRENCY.ID | The base currency associated with this membership level benefit. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
BASECURRENCYID | |||
![]() |
BENEFITID | |||
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
MEMBERSHIPLEVELID | |||
![]() |
ORGANIZATIONEXCHANGERATEID | |||
![]() |
ID | ![]() |
![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |
|
![]() |