Field |
Field Type |
Null |
Notes |
Description |
NAME |
nvarchar(100) |
|
Default = '' |
The name used to identify the fee. |
DESCRIPTION |
nvarchar(255) |
|
Default = '' |
The description of the fee. |
APPLIESTOCODE |
tinyint |
|
Default = 0 |
The type of fee: 0 - Order, 1 - Item. |
APPLIESTO |
nvarchar(5) (Computed) |
 |
CASE [APPLIESTOCODE] WHEN 0 THEN N'Order' WHEN 1 THEN N'Item' END |
Provides a translation for the 'APPLIESTOCODE' field. |
TYPECODE |
tinyint |
|
Default = 0 |
The type of amount for the fee: 0 - Amount, 1 - Percent. |
TYPE |
nvarchar(7) (Computed) |
 |
CASE [TYPECODE] WHEN 0 THEN N'Amount' WHEN 1 THEN N'Percent' END |
Provides a translation for the 'TYPECODE' field. |
AMOUNT |
money |
|
Default = 0 |
The amount of the fee |
PERCENT |
decimal(5, 2) |
|
Default = 0 |
The percent value of the fee. |
ISACTIVE |
bit |
|
Default = 1 |
Indicates if the fee is currently active. |
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. |