Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| ACTIVE_HUB_KEY | int identity | 4 | √ | null |
|
|
The Hub record ID |
|
| SUBSIDY_USAGES_ID | int | 4 | null |
|
|
Subsidy link id |
||
| ORIGINAL_SUBSIDY_USAGE_ID | int | 4 | √ | null |
|
|
Package id |
|
| SUBSIDY_ID | int | 4 | √ | null |
|
|
Related subsidy table foreign key |
|
| CUSTOMER_ID | int | 4 | √ | null |
|
|
Customer pk |
|
| STATUS | varchar | 5 | √ | null |
|
|
Subsidy usage status |
|
| AMOUNT | money | 21,4 | √ | null |
|
|
Subsidy usage amount |
|
| DATESTAMP | datetime | 16,3 | √ | null |
|
|
Subsidy usage date time |
|
| CUSTOMER_SUBSIDY_ALLOCATION_ID | int | 4 | √ | null |
|
|
pk of CUSTOMER_SUBSIDY_ALLOCATIONS |
|
| ALLOCATION_AMOUNT | money | 21,4 | √ | null |
|
|
Transaction time allocation amount |
|
| ALLOCATION_BALANCE | money | 21,4 | √ | null |
|
|
Transaction time allocation balance amount |
|
| ROW_VERSION | binary | 8 | √ | null |
|
|
System timestamp (for internal use) |
|
| ORG_ID | int | 4 | null |
|
|
Your organization’s unique identifier in the Active Net system |
||
| 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 |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK_SUBSIDY_USAGES | Primary key | Asc/Asc | SUBSIDY_USAGES_ID + ORG_ID |
| SUBSIDY_USAGES_SUBSIDY_USAGES_ID_SUBSIDY_ID_CUSTOMER_ID_IX | Performance | Asc/Asc/Asc | SUBSIDY_USAGES_ID + SUBSIDY_ID + CUSTOMER_ID |