INSTALLMENTSPLITWRITEOFF
Contains installment split writeoff information for a given pledge writeoff record.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
AMOUNT |
money |
|
Default = 0 |
|
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 |
The amount of the installment split writeoff in organization currency. |
TRANSACTIONAMOUNT |
money |
|
Default = 0 |
The amount of the installment split writeoff in transaction currency. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
WRITEOFFID |
uniqueidentifier |
|
FINANCIALTRANSACTION.ID
|
FK to WRITEOFF |
INSTALLMENTSPLITID |
uniqueidentifier |
|
INSTALLMENTSPLIT.ID
|
FK to INSTALLMENTPAYMENT table. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
BASECURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The base currency associated with this installment split writeoff. |
ORGANIZATIONEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
The exchange rate used to convert from amount to organization amount. |
TRANSACTIONCURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The transaction currency associated with this installment split writeoff. |
BASEEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
The exchange rate used to convert from transaction amount to amount. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_INSTALLMENTSPLITWRITEOFF_BASECURRENCYID |
BASECURRENCYID |
|
|
|
IX_INSTALLMENTSPLITWRITEOFF_BASEEXCHANGERATEID |
BASEEXCHANGERATEID |
|
|
|
IX_INSTALLMENTSPLITWRITEOFF_DATEADDED |
DATEADDED |
|
|
yes |
IX_INSTALLMENTSPLITWRITEOFF_DATECHANGED |
DATECHANGED |
|
|
|
IX_INSTALLMENTSPLITWRITEOFF_INSTALLMENTSPLITID |
INSTALLMENTSPLITID |
|
|
|
IX_INSTALLMENTSPLITWRITEOFF_ORGANIZATIONEXCHANGERATEID |
ORGANIZATIONEXCHANGERATEID |
|
|
|
IX_INSTALLMENTSPLITWRITEOFF_TRANSACTIONCURRENCYID |
TRANSACTIONCURRENCYID |
|
|
|
IX_INSTALLMENTSPLITWRITEOFF_WRITEOFFID |
WRITEOFFID |
|
|
|
PK_INSTALLMENTSPLITWRITEOFF |
ID |
yes |
yes |
|
Triggers