REVENUESOLICITOR

Stores solicitors for a revenue detail record.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
AMOUNT money Default = 0 The portion of the gift that is being soft credited.
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) yes CONVERT(bigint, TS) Numeric representation of the timestamp.
ORGANIZATIONAMOUNT money Default = 0 The amount of the revenue split in organization currency.

Foreign Keys

Foreign Key Field Type Null Notes Description
REVENUESPLITID uniqueidentifier FINANCIALTRANSACTIONLINEITEM.ID FK to REVENUE table.
CONSTITUENTID uniqueidentifier CONSTITUENT.LOCALID FK to CONSTITUENT table.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
BUSINESSUNITCODEID uniqueidentifier yes BUSINESSUNITCODE.ID FK to BUSINESSUNITCODE
BASECURRENCYID uniqueidentifier yes CURRENCY.ID The base currency associated with this revenue split.
ORGANIZATIONEXCHANGERATEID uniqueidentifier yes CURRENCYEXCHANGERATE.ID The exchange rate used to convert from amount to organization amount.

Indexes

Index Name Fields Unique Primary Clustered
IX_REVENUESOLICITOR_CONSTITUENTID CONSTITUENTID
IX_REVENUESOLICITOR_DATEADDED DATEADDED yes
IX_REVENUESOLICITOR_DATECHANGED DATECHANGED
IX_REVENUESOLICITOR_REVENUESPLITID REVENUESPLITID
PK_REVENUESOLICITOR ID yes yes

Triggers

Trigger Name Description
TR_REVENUESOLICITOR_INSERTUPDATE_CURRENCY
TR_REVENUESOLICITOR_AUDIT_UPDATE
TR_REVENUESOLICITOR_AUDIT_DELETE
TR_REVENUESOLICITOR_AUDIT_ETLDELETEDID