ID |
uniqueidentifier |
|
Default = (newid()) |
Primary Key. |
REVENUEBENEFITID |
uniqueidentifier |
yes |
|
ForeignKey to REVENUEBENEFIT table |
GLPAYMENTMETHODREVENUETYPEMAPPINGID |
uniqueidentifier |
|
|
Foreign key to GLPaymentMethodRevenueTypeMapping table |
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) |
yes |
CASE [TRANSACTIONTYPECODE] WHEN 0 THEN N'Debit' WHEN 1 THEN N'Credit' END |
Provides a translation for the 'TRANSACTIONTYPECODE' field. |
GLTRANSACTIONID |
uniqueidentifier |
yes |
|
Foreign key to the GLTRANSACTION table. |
OUTDATED |
bit |
|
Default = 0 |
Specifies whether or not this distribution is outdated. |
REVENUEID |
uniqueidentifier |
yes |
|
Logical foreign key to REVENUE table. |
ADDEDBYID |
uniqueidentifier |
|
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
|
FK to CHANGEAGENT. |
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. |
FULLYPAIDSTATUS |
tinyint |
|
Default = 0 |
Identifies Fully Paid benefit (0- none, 1-Fully Paid, 2-Fully Paid Backout). |
BASECURRENCYID |
uniqueidentifier |
yes |
|
The base currency associated with this benefit GL distribution. |
ORGANIZATIONAMOUNT |
money |
|
Default = 0 |
The amount of the benefit GL distribution in organization currency. |
ORGANIZATIONEXCHANGERATEID |
uniqueidentifier |
yes |
|
The exchange rate used to convert to organization amount. |
TRANSACTIONAMOUNT |
money |
|
Default = 0 |
The amount of the benefit GL distribution in transaction currency. |
TRANSACTIONCURRENCYID |
uniqueidentifier |
yes |
|
The transaction currency associated with this benefit GL distribution. |
BASEEXCHANGERATEID |
uniqueidentifier |
yes |
|
The exchange rate used to convert from transaction amount to amount. |
BENEFITTYPECODE |
tinyint |
|
Default = 1 |
The transaction type (debit or credit) for the record |
BENEFITTYPE |
nvarchar(9) (Computed) |
yes |
CASE [BENEFITTYPECODE] WHEN 1 THEN N'Expense' WHEN 2 THEN N'Liability' WHEN 3 THEN N'Backout' END |
Provides a translation for the 'BENEFITTYPECODE' field. |