| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| 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) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ID |
uniqueidentifier | FINANCIALTRANSACTION.ID | Primary Key. | |
LOCKBOXID |
uniqueidentifier | LOCKBOX.ID | the lockbox id related to the revenue. | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_REVENUELOCKBOX_DATEADDED |
DATEADDED | ![]() |
||
IX_REVENUELOCKBOX_DATECHANGED |
DATECHANGED | |||
PK_REVENUELOCKBOX |
ID | ![]() |
![]() |
|
UIX_REVENUELOCKBOX_LOCKBOXID_BATCHNUMBER_BATCHSEQUENCE |
LOCKBOXID, BATCHNUMBER, BATCHSEQUENCE | ![]() |
| Trigger Name | Description |
|---|---|
TR_REVENUELOCKBOX_AUDIT_UPDATE |
|
TR_REVENUELOCKBOX_AUDIT_DELETE |

ID
BATCHNUMBER
TSLONG
ID
IX_REVENUELOCKBOX_DATEADDED
IX_REVENUELOCKBOX_DATECHANGED