Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 AMOUNT money   Default = 0
 DATE datetime  
 SEQUENCE int   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) CONVERT(bigint, TS) Numeric representation of the timestamp.
 ORGANIZATIONAMOUNT money   Default = 0 The amount of the installment in organization currency.
 TRANSACTIONAMOUNT money   Default = 0 The amount of the installment in transaction currency.
 RECEIPTAMOUNT money   Default = 0
 ORGANIZATIONRECEIPTAMOUNT money   Default = 0
 TRANSACTIONRECEIPTAMOUNT money   Default = 0

Foreign Key Field Type Null Notes Description
 REVENUEID uniqueidentifier   FINANCIALTRANSACTION.ID FK to REVENUE
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 BASECURRENCYID uniqueidentifier CURRENCY.ID The base currency associated with this installment.
 ORGANIZATIONEXCHANGERATEID uniqueidentifier CURRENCYEXCHANGERATE.ID The exchange rate used to convert from amount to organization amount.
 TRANSACTIONCURRENCYID uniqueidentifier CURRENCY.ID The transaction currency associated with this installment.
 BASEEXCHANGERATEID uniqueidentifier CURRENCYEXCHANGERATE.ID The exchange rate used to convert from transaction amount to amount.

Index Name Field(s) Unique Primary Clustered
 IX_INSTALLMENT_BASECURRENCYID BASECURRENCYID      
 IX_INSTALLMENT_BASEEXCHANGERATEID BASEEXCHANGERATEID      
 IX_INSTALLMENT_DATEADDED DATEADDED    
 IX_INSTALLMENT_DATECHANGED DATECHANGED      
 IX_INSTALLMENT_ID ID      
 IX_INSTALLMENT_ORGANIZATIONEXCHANGERATEID ORGANIZATIONEXCHANGERATEID      
 IX_INSTALLMENT_REVENUEID_DATE REVENUEID, DATE      
 IX_INSTALLMENT_TRANSACTIONCURRENCYID TRANSACTIONCURRENCYID      
 PK_INSTALLMENT ID  

Trigger Name Description
 TR_INSTALLMENT_INSERTUPDATE_CURRENCY
 TR_INSTALLMENT_AUDIT_ETLDELETEDID
 TR_INSTALLMENT_INSERTUPDATE_RECEIPTAMOUNT
 TR_INSTALLMENT_INSERTUPDATE_CHECK
 TR_INSTALLMENT_AUDIT_UPDATE
 TR_INSTALLMENT_AUDIT_DELETE

Referenced by Field
 INSTALLMENTSPLIT INSTALLMENTID

Entity-Relationship diagram of this table