FINANCIALTRANSACTIONLINEITEM
The table that contains a
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
TRANSACTIONAMOUNT |
money |
|
Default = 0 |
The amount of the line item |
VISIBLE |
bit |
|
Default = 1 |
Determines if the Detail is visible to the System. |
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. |
DESCRIPTION |
nvarchar(700) |
|
Default = '' |
The description of the line item |
SEQUENCE |
int |
|
Default = 0 |
The order that the line items are entered for the financial transaction |
TYPECODE |
tinyint |
|
Default = 0 |
The type of the line item. |
POSTDATE |
date |
yes |
|
Post date of transaction |
POSTSTATUSCODE |
tinyint |
|
Default = 1 |
Post status |
POSTSTATUS |
nvarchar(11) (Computed) |
yes |
CASE [POSTSTATUSCODE] WHEN 1 THEN N'Not posted' WHEN 2 THEN N'Posted' WHEN 3 THEN N'Do not post' END |
Provides a translation for the 'POSTSTATUSCODE' field. |
DELETEDON |
datetime |
yes |
|
Date and time line items was deleted. |
BASEAMOUNT |
money |
|
Default = 0 |
The amount of the line item in base currency |
ORGAMOUNT |
money |
|
Default = 0 |
The amount of the line item in organization currency |
QUANTITY |
decimal(20, 4) |
|
Default = 1 |
|
UNITVALUE |
money |
|
Default = 0 |
|
TYPE |
nvarchar(20) (Computed) |
yes |
CASE [TYPECODE] WHEN 0 THEN N'Standard' WHEN 1 THEN N'Reversal' WHEN 2 THEN N'Application' WHEN 3 THEN N'AssociatedLineItem' WHEN 5 THEN N'Discount' WHEN 6 THEN N'Unrealized Gain/Loss' WHEN 7 THEN N'Fee' WHEN 8 THEN N'Tax' WHEN 98 THEN N'Combined' WHEN 99 THEN N'Orphaned' END |
|
Foreign Keys
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_FINANCIALTRANSACTIONLINEITEM_DATEADDED |
DATEADDED |
|
|
yes |
IX_FINANCIALTRANSACTIONLINEITEM_DATECHANGED |
DATECHANGED |
|
|
|
IX_FINANCIALTRANSACTIONLINEITEM_DATECHANGED_DELETEDON_TYPECODE |
DATECHANGED, DELETEDON, TYPECODE |
|
|
|
IX_FINANCIALTRANSACTIONLINEITEM_DELETEDON |
DELETEDON |
|
|
|
IX_FINANCIALTRANSACTIONLINEITEM_DELETEDON_TYPECODE |
DELETEDON, TYPECODE |
|
|
|
IX_FINANCIALTRANSACTIONLINEITEM_FINANCIALTRANSACTIONID_TYPECODE |
FINANCIALTRANSACTIONID, TYPECODE |
|
|
|
IX_FINANCIALTRANSACTIONLINEITEM_POSTDATE |
POSTDATE |
|
|
|
IX_FINANCIALTRANSACTIONLINEITEM_REVERSEDLINEITEMID |
REVERSEDLINEITEMID |
|
|
|
IX_FINANCIALTRANSACTIONLINEITEM_SOURCELINEITEMID |
SOURCELINEITEMID |
|
|
|
IX_FINANCIALTRANSACTIONLINEITEM_TARGETLINEITEMID |
TARGETLINEITEMID |
|
|
|
IX_FINANCIALTRANSACTIONLINEITEM_TYPECODE_DELETEDON |
TYPECODE, DELETEDON |
|
|
|
IX_FINANCIALTRANSACTIONLINEITEM_TYPECODE_POSTSTATUSCODE_POSTDATE_DELETEDON |
TYPECODE, POSTSTATUSCODE, POSTDATE, DELETEDON |
|
|
|
PK_FINANCIALTRANSACTIONLINEITEM |
ID |
yes |
yes |
|
Triggers
Referenced by