| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ORIGINALAMOUNT |
money | Default = 0 | The original amount of a pledge. | |
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) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
TRANSACTIONAMOUNT |
money | Default = 0 | The original amount of a pledge in the transaction currency. | |
ORGANIZATIONAMOUNT |
money | Default = 0 | The original amount of a pledge in the organization currency. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ID |
uniqueidentifier | FINANCIALTRANSACTION.ID | Primary Key. | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
BASECURRENCYID |
uniqueidentifier | ![]() |
CURRENCY.ID | The base currency associated with this record. |
ORGANIZATIONEXCHANGERATEID |
uniqueidentifier | ![]() |
CURRENCYEXCHANGERATE.ID | The exchange rate used to convert to the organization amount. |
TRANSACTIONCURRENCYID |
uniqueidentifier | ![]() |
CURRENCY.ID | The transaction currency associated with this record. |
BASEEXCHANGERATEID |
uniqueidentifier | ![]() |
CURRENCYEXCHANGERATE.ID | The exchange rate used to calculate the base amount. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_PLEDGEORIGINALAMOUNT_BASECURRENCYID |
BASECURRENCYID | |||
IX_PLEDGEORIGINALAMOUNT_BASEEXCHANGERATEID |
BASEEXCHANGERATEID | |||
IX_PLEDGEORIGINALAMOUNT_DATEADDED |
DATEADDED | ![]() |
||
IX_PLEDGEORIGINALAMOUNT_DATECHANGED |
DATECHANGED | |||
IX_PLEDGEORIGINALAMOUNT_ORGANIZATIONEXCHANGERATEID |
ORGANIZATIONEXCHANGERATEID | |||
IX_PLEDGEORIGINALAMOUNT_TRANSACTIONCURRENCYID |
TRANSACTIONCURRENCYID | |||
PK_PLEDGEORIGINALAMOUNT |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_PLEDGEORIGINALAMOUNT_AUDIT_UPDATE |
|
TR_PLEDGEORIGINALAMOUNT_AUDIT_DELETE |
|
TR_PLEDGEORIGINALAMOUNT_INSERTUPDATE_CURRENCY |

ID
ORIGINALAMOUNT
TSLONG
ID
IX_PLEDGEORIGINALAMOUNT_BASECURRENCYID
IX_PLEDGEORIGINALAMOUNT_DATEADDED