ID |
uniqueidentifier |
|
Default = (newid()) |
Primary Key. |
TRANSACTIONTYPECODE |
tinyint |
|
Default = 0 |
The transaction type (debit or credit) for the record. |
ACCOUNT |
nvarchar(100) |
|
Default = '' |
The account string for the record. |
AMOUNT |
money |
|
Default = 0 |
The amount of the transaction. |
PROJECT |
nvarchar(100) |
|
Default = '' |
The project of the transaction. |
REFERENCE |
nvarchar(255) |
|
Default = '' |
The reference used for the transaction. |
JOURNAL |
nvarchar(255) |
|
Default = '' |
The journal used for the transaction. |
POSTSTATUSCODE |
tinyint |
|
Default = 1 |
Flag used to indicate if the transaction has been posted. |
POSTDATE |
datetime |
yes |
|
The post date of the transaction. |
REVERSEDGLTRANSACTIONID |
uniqueidentifier |
yes |
|
Foreign key to the GLTRANSACTION table which represents the ID of the original transaction that has been reversed. |
REVERSEDATE |
datetime |
yes |
|
The date the transaction was reversed. |
BATCHID |
uniqueidentifier |
yes |
|
The batch ID of the GL transaction. |
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. |
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. |
GLACCOUNTID |
uniqueidentifier |
yes |
|
Foreign key to the GLACCOUNT table which represents the ID of the account. |
POSTSTATUS |
nvarchar(11) (Computed) |
yes |
CASE [POSTSTATUSCODE] WHEN 0 THEN N'Posted' WHEN 1 THEN N'Not posted' WHEN 2 THEN N'Do not post' END |
Provides a translation for the 'POSTSTATUSCODE' field. |
BASECURRENCYID |
uniqueidentifier |
yes |
|
The base currency associated with this GL transaction. |
ORGANIZATIONAMOUNT |
money |
|
Default = 0 |
The amount of the transaction in organization currency. |
ORGANIZATIONEXCHANGERATEID |
uniqueidentifier |
yes |
|
The exchange rate used to convert to organization amount. |
TRANSACTIONAMOUNT |
money |
|
Default = 0 |
The amount of the transaction in transaction currency. |
TRANSACTIONCURRENCYID |
uniqueidentifier |
yes |
|
The transaction currency associated with this GL transaction. |
BASEEXCHANGERATEID |
uniqueidentifier |
yes |
|
The exchange rate used to convert from transaction amount to amount. |
SYSTEMDISTRIBUTION |
bit |
|
Default = 0 |
The GL distribution has been generated by the system and should not be editable by the user |
MIGRATED |
bit |
|
Default = 0 |
|