Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| SYSTEM_USAGE_LOG_ID | int | 4 | null |
|
|
The system usage log ID |
|||||
| SYSTEMUSER_ID | int | 4 | √ | null |
|
|
The ID of the system user if this is a staff access log |
||||
| CUSTOMER_ID | int | 4 | √ | null |
|
|
The ID of the customer if this is a online customer access log |
||||
| USER_WORKSTATION_ID | int | 4 | √ | null |
|
|
The ID of the workstation to be used for receipts and transactions |
||||
| LOGGED_ON | varchar | 5 | √ | null |
|
|
Whether the system user or customer is currently logged into the system |
||||
| LOGON_DATE_TIME | datetime | 16,3 | √ | null |
|
|
The date and time that the system user or customer is logged into the system |
||||
| USER_LOGOFF_DATE_TIME | datetime | 16,3 | √ | null |
|
|
The date and time that the system user logged out of the system |
||||
| USER_TIMEOUT_DATE_TIME | datetime | 16,3 | √ | null |
|
|
The date and time that the system user’s session timed out without being logged out of the system |
||||
| CUSTOMER_LOGOFF_TIMEOUT_DATE_TIME | datetime | 16,3 | √ | null |
|
|
The date and time that the online customer either logged out or when their session timed out |
||||
| SERVER_WORKSTATION_ID | int | 4 | √ | null |
|
|
The ID of the workstation assigned to the physical server that the staff user or online customer were connected to |
||||
| SERVER_IP | varchar | 30 | √ | null |
|
|
The IP address of the physical server that the staff user or online customer were connected to |
||||
| SERVER_SOFTWARE_VERSION | varchar | 100 | √ | null |
|
|
The software version being run on the physical server that the staff user or online customer were connected to |
||||
| ROW_VERSION | binary | 8 | √ | null |
|
|
System timestamp (for internal use) |
||||
| LAST_SYNC_TIME | datetime | 16,3 | (getdate()) |
|
|
Date and time Hub record was last modified |
|||||
| ACTIVE_HUB_PROCESS_ID | bigint | 8 | √ | null |
|
|
The Hub sync process ID |
||||
| ORG_ID | int | 4 | null |
|
|
Your organization’s unique identifier in the Active Net system |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| SYSTEM_USAGE_LOG_SYSTEM_USAGE_LOG_ID_ORG_ID_PK | Primary key | Asc/Asc | SYSTEM_USAGE_LOG_ID + ORG_ID |
| SYSTEM_USAGE_LOG_CUSTOMER_ID_IX | Performance | Asc | CUSTOMER_ID |
| SYSTEM_USAGE_LOG_LOGON_DATE_TIME_IX | Performance | Asc | LOGON_DATE_TIME |
| SYSTEM_USAGE_LOG_nc_cs_ix | Performance | Asc/Asc/Asc/Asc/Asc/Asc/Asc/Asc/Asc | CUSTOMER_ID + CUSTOMER_LOGOFF_TIMEOUT_DATE_TIME + LOGON_DATE_TIME + SERVER_WORKSTATION_ID + SYSTEM_USAGE_LOG_ID + SYSTEMUSER_ID + USER_LOGOFF_DATE_TIME + USER_TIMEOUT_DATE_TIME + USER_WORKSTATION_ID |
| SYSTEM_USAGE_LOG_ROW_VERSION_IX | Performance | Asc | ROW_VERSION |
| SYSTEM_USAGE_LOG_SERVER_WORKSTATION_ID_IX | Performance | Asc | SERVER_WORKSTATION_ID |
| SYSTEM_USAGE_LOG_SYSTEMUSER_ID_IX | Performance | Asc | SYSTEMUSER_ID |
| SYSTEM_USAGE_LOG_USER_WORKSTATION_ID_IX | Performance | Asc | USER_WORKSTATION_ID |