Field |
Field Type |
Null |
Notes |
Description |
DESCRIPTION |
nvarchar(max) |
|
Default = '' |
|
EXPENSETYPECODE |
tinyint |
|
Default = 0 |
The type of this expense; controls how the total expense is calculated. |
EXPENSETYPE |
nvarchar(12) (Computed) |
 |
CASE [EXPENSETYPECODE] WHEN 0 THEN N'Fixed cost' WHEN 1 THEN N'Per unit' WHEN 2 THEN N'Per response' END |
Provides a translation for the 'EXPENSETYPECODE' field. |
COUNT |
int |
|
Default = 1 |
|
UNITCOUNT |
int |
|
Default = 1 |
The number of items that constitutes one unit for this expense. |
AMOUNT |
money |
|
Default = 0 |
The base monetary amount for this expense, stored in its base currency. |
BUDGETAMOUNT |
money |
|
Default = 0 |
Total monetary amount budgeted for this expense, stored in its base currency. |
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) |
 |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
ORGANIZATIONAMOUNT |
money |
|
Default = 0 |
The base monetary amount for this expense, stored in the organization currency. |
ORGANIZATIONBUDGETAMOUNT |
money |
|
Default = 0 |
Total monetary amount budgeted for this expense, stored in the organization currency. |