Field |
Field Type |
Null |
Notes |
Description |
NAME |
nvarchar(100) |
|
Default = '' |
Template name |
POSTSTATUSCODE |
tinyint |
|
Default = 1 |
Post status |
REFERENCECODE |
tinyint |
|
Default = 0 |
Transaction reference |
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. |
REFERENCE |
nvarchar(36) (Computed) |
 |
CASE [REFERENCECODE] WHEN 0 THEN N'Deposit template name' WHEN 1 THEN N'Process name' WHEN 2 THEN N'Process name + Deposit template name' END |
Provides a translation for the 'REFERENCECODE' field. |
POSTSTATUS |
nvarchar(14) (Computed) |
 |
CASE [POSTSTATUSCODE] WHEN 1 THEN N'Not yet posted' WHEN 2 THEN N'Do not post' END |
Provides a translation for the 'POSTSTATUSCODE' field. |
SALESCHANNELOPTIONCODE |
tinyint |
|
Default = 0 |
|
PAYMENTMETHODOPTIONCODE |
tinyint |
|
Default = 0 |
|
PAYMENTMETHODOPTION |
nvarchar(24) (Computed) |
 |
CASE [PAYMENTMETHODOPTIONCODE] WHEN 0 THEN N'All payment methods' WHEN 1 THEN N'Specific payment methods' END |
|
INCLUDEINPROCESS |
bit |
|
Default = 0 |
|
SALESCHANNELOPTION |
nvarchar(24) (Computed) |
 |
CASE [SALESCHANNELOPTIONCODE] WHEN 0 THEN N'All revenue sources' WHEN 1 THEN N'Specific revenue sources' END |
|
CURRENCYOPTIONCODE |
tinyint |
|
Default = 0 |
|
CURRENCYOPTION |
nvarchar(19) (Computed) |
 |
CASE [CURRENCYOPTIONCODE] WHEN 0 THEN N'All currencies' WHEN 1 THEN N'Specific currencies' END |
|