INSTALLMENTSPLIT

Contains installment split information for a given pledge installment record.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
AMOUNT money Default = 0 The amount for given installment 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 The amount of the installment split in organization currency.
TRANSACTIONAMOUNT money Default = 0 The amount of the installment split in transaction currency.
REVENUESPLITID uniqueidentifier yes

Foreign Keys

Foreign Key Field Type Null Notes Description
INSTALLMENTID uniqueidentifier INSTALLMENT.REVENUE_LOCALID FK to INSTALLMENT table.
PLEDGEID uniqueidentifier FINANCIALTRANSACTION.ID FK to REVENUE
DESIGNATIONID uniqueidentifier yes DESIGNATION.ID FK to DESIGNATION 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.
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.
BASEEXCHANGERATEID uniqueidentifier yes CURRENCYEXCHANGERATE.ID The exchange rate used to convert from transaction amount to amount.

Indexes

Index Name Fields Unique Primary Clustered
IX_INSTALLMENTSPLIT_BASECURRENCYID BASECURRENCYID
IX_INSTALLMENTSPLIT_BASEEXCHANGERATEID BASEEXCHANGERATEID
IX_INSTALLMENTSPLIT_DATEADDED DATEADDED yes
IX_INSTALLMENTSPLIT_DATECHANGED DATECHANGED
IX_INSTALLMENTSPLIT_ID ID
IX_INSTALLMENTSPLIT_INSTALLMENTID INSTALLMENTID
IX_INSTALLMENTSPLIT_ORGANIZATIONEXCHANGERATEID ORGANIZATIONEXCHANGERATEID
IX_INSTALLMENTSPLIT_PLEDGEID PLEDGEID
IX_INSTALLMENTSPLIT_REVENUESPLITID REVENUESPLITID
IX_INSTALLMENTSPLIT_TRANSACTIONCURRENCYID TRANSACTIONCURRENCYID
PK_INSTALLMENTSPLIT ID yes yes

Triggers

Trigger Name Description
TR_INSTALLMENTSPLIT_AUDIT_UPDATE
TR_INSTALLMENTSPLIT_AUDIT_DELETE
TR_INSTALLMENTSPLIT_AUDIT_ETLDELETEDID
TR_INSTALLMENTSPLIT_INSERTUPDATE_CURRENCY
TR_INSTALLMENTSPLIT_INSERTUPDATE_REVENUESPLITID

Referenced by

Referenced by Field
INSTALLMENTSPLITPAYMENT INSTALLMENTSPLITID
INSTALLMENTSPLITWRITEOFF INSTALLMENTSPLITID