| Field |
Field Type |
Null |
Notes |
Description |
PROJECT |
nvarchar(100) |
|
Default = '' |
Project field |
REFERENCE |
nvarchar(255) |
|
Default = '' |
Reference field |
AMOUNT |
money |
|
Default = 0 |
Amount |
ACCOUNT |
nvarchar(100) |
|
Default = '' |
Account |
TRANSACTIONTYPECODE |
tinyint |
|
Default = 0 |
The transaction type (debit or credit) for the record |
TRANSACTIONTYPE |
nvarchar(6) (Computed) |
 |
CASE [TRANSACTIONTYPECODE] WHEN 0 THEN N'Debit' WHEN 1 THEN N'Credit' END |
Provides a translation for the 'TRANSACTIONTYPECODE' field. |
OUTDATED |
bit |
|
Default = 0 |
Specifies whether or not this distribution is outdated. |
REVENUEID |
uniqueidentifier |
 |
|
Logical foreign key to REVENUE table. |
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 distribution in organization currency. |
TRANSACTIONAMOUNT |
money |
|
Default = 0 |
The amount of the distribution in transaction currency. |
| Foreign Key |
Field Type |
Null |
Notes |
Description |
PLANNEDGIFTPAYOUTID |
uniqueidentifier |
 |
PLANNEDGIFTPAYOUT.ID |
ForeignKey to PLANNEDGIFTPAYOUT table |
GLPAYMENTMETHODREVENUETYPEMAPPINGID |
uniqueidentifier |
|
GLPAYMENTMETHODREVENUETYPEMAPPING.ID |
Foreign key to GLPaymentMethodRevenueTypeMapping table |
GLTRANSACTIONID |
uniqueidentifier |
 |
GLTRANSACTION.ID |
Foreign key to the GLTRANSACTION table. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID |
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID |
FK to CHANGEAGENT. |
BASECURRENCYID |
uniqueidentifier |
 |
CURRENCY.ID |
The base currency associated with this distribution. |
ORGANIZATIONEXCHANGERATEID |
uniqueidentifier |
 |
CURRENCYEXCHANGERATE.ID |
The exchange rate used to convert to organization amount. |
TRANSACTIONCURRENCYID |
uniqueidentifier |
 |
CURRENCY.ID |
The transaction currency associated with this distribution amount. |
BASEEXCHANGERATEID |
uniqueidentifier |
 |
CURRENCYEXCHANGERATE.ID |
The exchange rate used to convert from transaction amount to amount. |
| Index Name |
Field(s) |
Unique |
Primary |
Clustered |
IX_PLANNEDGIFTPAYOUTGLDISTRIBUTION_BASECURRENCYID |
BASECURRENCYID |
|
|
|
IX_PLANNEDGIFTPAYOUTGLDISTRIBUTION_BASEEXCHANGERATEID |
BASEEXCHANGERATEID |
|
|
|
IX_PLANNEDGIFTPAYOUTGLDISTRIBUTION_DATEADDED |
DATEADDED |
|
|
 |
IX_PLANNEDGIFTPAYOUTGLDISTRIBUTION_DATECHANGED |
DATECHANGED |
|
|
|
IX_PLANNEDGIFTPAYOUTGLDISTRIBUTION_GLPAYMENTMETHODREVENUETYPEMAPPINGID |
GLPAYMENTMETHODREVENUETYPEMAPPINGID |
|
|
|
IX_PLANNEDGIFTPAYOUTGLDISTRIBUTION_GLTRANSACTIONID |
GLTRANSACTIONID |
|
|
|
IX_PLANNEDGIFTPAYOUTGLDISTRIBUTION_ORGANIZATIONEXCHANGERATEID |
ORGANIZATIONEXCHANGERATEID |
|
|
|
IX_PLANNEDGIFTPAYOUTGLDISTRIBUTION_PLANNEDGIFTPAYOUTID |
PLANNEDGIFTPAYOUTID |
|
|
|
IX_PLANNEDGIFTPAYOUTGLDISTRIBUTION_TRANSACTIONCURRENCYID |
TRANSACTIONCURRENCYID |
|
|
|
PK_PLANNEDGIFTPAYOUTGLDISTRIBUTION |
ID |
 |
 |
|