| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
COMMENTS |
nvarchar(255) | Default = '' | ||
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 |
|---|---|---|---|---|
APPUSERID |
uniqueidentifier | APPUSER.ID | Application user that opened the cash drawer | |
WORKSTATIONID |
uniqueidentifier | ![]() |
WORKSTATION.ID | Workstation from which the cash drawer was opened |
WORKSTATIONCASHDRAWEROPENREASONCODEID |
uniqueidentifier | WORKSTATIONCASHDRAWEROPENREASONCODE.ID | Reason for opening the cash drawer | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_WORKSTATIONCASHDRAWEROPEN_DATEADDED |
DATEADDED | ![]() |
||
IX_WORKSTATIONCASHDRAWEROPEN_DATECHANGED |
DATECHANGED | |||
PK_WORKSTATIONCASHDRAWEROPEN |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_WORKSTATIONCASHDRAWEROPEN_AUDIT_UPDATE |
|
TR_WORKSTATIONCASHDRAWEROPEN_AUDIT_DELETE |

ID
COMMENTS
TSLONG
APPUSERID
IX_WORKSTATIONCASHDRAWEROPEN_DATEADDED
IX_WORKSTATIONCASHDRAWEROPEN_DATECHANGED