BANKACCOUNTADJUSTMENT
This stores bank account adjustment-specific fields.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
TRANSFERADJUSTMENTID |
uniqueidentifier |
yes |
|
For transfers, points to the second adjustment |
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. |
ISORIGINALADJUSTMENT |
bit |
|
Default = 0 |
For transfer in/out adjustment, mark the originating adjustment true. |
Foreign Keys
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_BANKACCOUNTADJUSTMENT_DATEADDED |
DATEADDED |
|
|
yes |
IX_BANKACCOUNTADJUSTMENT_DATECHANGED |
DATECHANGED |
|
|
|
PK_BANKACCOUNTADJUSTMENT |
ID |
yes |
yes |
|
Triggers
Referenced by