DONORCHALLENGESPLIT
Stores designation splits for donor challenges.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| AMOUNT |
money |
|
Default = 0 |
The amount for the given split. |
| DATEADDED |
datetime |
|
Default = getdate() |
Indicates the date this record was added. |
| DATECHANGED |
datetime |
|
Default = getdate() |
Indicates the date this record was last changed. |
| TS |
timestamp |
|
|
Timestamp. |
| TSLONG |
bigint (Computed) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
| ORGANIZATIONAMOUNT |
money |
|
Default = 0 |
AMOUNT in the organization currency. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| DONORCHALLENGEID |
uniqueidentifier |
|
DONORCHALLENGE.ID
|
The donor challenge record to which this designation belongs. |
| DESIGNATIONID |
uniqueidentifier |
yes |
DESIGNATION.ID
|
Designation record for the given split. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| BASECURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The base currency of this donor challenge split (matches the donor challenge). |
| ORGANIZATIONEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
FK to CURRENCYEXCHANGERATE |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_DONORCHALLENGESPLIT_DATEADDED |
DATEADDED |
|
|
yes |
| IX_DONORCHALLENGESPLIT_DATECHANGED |
DATECHANGED |
|
|
|
| PK_DONORCHALLENGESPLIT |
ID |
yes |
yes |
|
| UIX_DONORCHALLENGESPLIT_DONORCHALLENGEID_DESIGNATIONID |
DONORCHALLENGEID, DESIGNATIONID |
yes |
|
|
Triggers