REVENUELOCKBOX
Contains revenue information for a lockbox
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| BATCHNUMBER |
nvarchar(100) |
|
Default = '' |
Holds the batch number the lockbox information was created by. |
| BATCHSEQUENCE |
int |
|
Default = 0 |
Holds row the lockbox information was in when created from batch. |
| 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. |
Foreign Keys
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_REVENUELOCKBOX_DATEADDED |
DATEADDED |
|
|
yes |
| IX_REVENUELOCKBOX_DATECHANGED |
DATECHANGED |
|
|
|
| PK_REVENUELOCKBOX |
ID |
yes |
yes |
|
| UIX_REVENUELOCKBOX_LOCKBOXID_BATCHNUMBER_BATCHSEQUENCE |
LOCKBOXID, BATCHNUMBER, BATCHSEQUENCE |
yes |
|
|
Triggers