Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ACTIVE_HUB_KEY | int identity | 4 | √ | null |
|
|
The Hub record ID |
||||
| CUSTOMER_NOTE_ID | int | 4 | √ | null |
|
|
Customer note ID |
||||
| CUSTOMER_ID | int | 4 | √ | null |
|
|
Customer ID |
||||
| SITE_ID | int | 4 | √ | null |
|
|
Customer note site ID |
||||
| WORKSTATION_ID | int | 4 | √ | null |
|
|
Customer note workstation ID |
||||
| SYSTEMUSER_ID | int | 4 | √ | null |
|
|
Customer note user ID |
||||
| IS_ALERT | varchar | 5 | √ | null |
|
|
Whether this customer note is an alert (Yes/No) |
||||
| ALERT_START_DATE | date | 20 | √ | null |
|
|
Starting date that an alert notification should be displayed |
||||
| ALERT_END_DATE | date | 20 | √ | null |
|
|
Ending date that an alert notification should be displayed |
||||
| CONTACT_DESCRIPTION | varchar | 255 | √ | null |
|
|
Short description of the contact with the customer |
||||
| CONTACT_NOTE | varchar | 8000 | √ | null |
|
|
Detailed notes of the contact with the customer |
||||
| NOTE_ALERT_TYPE_ID | int | 4 | √ | null |
|
|
Customer note type ID |
||||
| UPDATED_DATE_TIME | datetime | 16,3 | √ | null |
|
|
Date and time the customer note was created or last updated |
||||
| UPDATED_DATE_ONLY | date | 20 | √ | null |
|
|
Date the customer note was created or last updated (date only) |
||||
| 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 |
||||
| ROW_VERSION | binary | 8 | √ | null |
|
|
System timestamp (for internal use) |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| CUSTOMER_NOTES_ACTIVE_HUB_KEY_PK | Primary key | Asc | ACTIVE_HUB_KEY |
| CUSTOMER_NOTES_CUSTOMER_ID_IX | Performance | Asc | CUSTOMER_ID |
| CUSTOMER_NOTES_CUSTOMER_NOTE_ID_ORG_ID_UQ | Must be unique | Asc/Asc | CUSTOMER_NOTE_ID + ORG_ID |
| CUSTOMER_NOTES_NOTE_ALERT_TYPE_ID_IX | Performance | Asc | NOTE_ALERT_TYPE_ID |
| CUSTOMER_NOTES_ROW_VERSION_IX | Performance | Asc | ROW_VERSION |
| CUSTOMER_NOTES_SITE_ID_IX | Performance | Asc | SITE_ID |
| CUSTOMER_NOTES_SYSTEMUSER_ID_IX | Performance | Asc | SYSTEMUSER_ID |
| CUSTOMER_NOTES_WORKSTATION_ID_IX | Performance | Asc | WORKSTATION_ID |