Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ACTIVE_HUB_KEY | bigint identity | 8 | √ | null |
|
|
The Hub record ID |
||||
| CUSTOMER_ID | int | 4 | √ | null |
|
|
Customer’s ID |
||||
| ALTERNATE_KEY_TYPE_ID | int | 4 | √ | null |
|
|
ID of alternate key type. |
||||
| ALTERNATE_KEY_STATUS_ID | int | 4 | √ | null |
|
|
ID of alternate key status. |
||||
| ALTERNATE_KEY_VALUE | varchar | 255 | √ | null |
|
|
Alternate key ID. |
||||
| 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 |
||||
| DATE_ADDED | date | 20 | √ | null |
|
|
The date that the alternate key was added for this customer. |
||||
| CUSTOMER_ALTERNATE_KEY_ID | int | 4 | √ | null |
|
|
The primary key for the customer alternate key record, used for internal update and deletion processing. |
||||
| ROW_VERSION | binary | 8 | √ | null |
|
|
System timestamp (for internal use) |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| CUSTOMER_ALTERNATE_KEYS_ACTIVE_HUB_KEY_PK | Primary key | Asc | ACTIVE_HUB_KEY |
| CUSTOMER_ALTERNATE_KEYS_ALTERNATE_KEY_STATUS_ID_IX | Performance | Asc | ALTERNATE_KEY_STATUS_ID |
| CUSTOMER_ALTERNATE_KEYS_ALTERNATE_KEY_TYPE_ID_IX | Performance | Asc | ALTERNATE_KEY_TYPE_ID |
| CUSTOMER_ALTERNATE_KEYS_CUSTOMER_ALTERNATE_KEY_ID_ORG_ID_UQ | Must be unique | Asc/Asc | CUSTOMER_ALTERNATE_KEY_ID + ORG_ID |
| CUSTOMER_ALTERNATE_KEYS_CUSTOMER_ID_ALTERNATE_KEY_TYPE_ID_ALTERNATE_KEY_STATUS_ID_IX | Performance | Asc/Asc/Asc | CUSTOMER_ID + ALTERNATE_KEY_TYPE_ID + ALTERNATE_KEY_STATUS_ID |
| CUSTOMER_ALTERNATE_KEYS_ORG_ID_IX | Performance | Asc | ORG_ID |
| CUSTOMER_ALTERNATE_KEYS_ROW_VERSION_IX | Performance | Asc | ROW_VERSION |