Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ACTIVE_HUB_KEY | int identity | 4 | √ | null |
|
|
The Hub record ID |
||||
| CUSTOMER_ID | int | 4 | √ | null |
|
|
The ID of the customer that the account credit entry belongs to |
||||
| COMPANY_ID | int | 4 | √ | null |
|
|
The ID of the company that the account credit entry belongs to |
||||
| SITE_ID | int | 4 | √ | null |
|
|
The ID of the site that the transaction resulting in the account credit entry occurred at |
||||
| WORKSTATION_ID | int | 4 | √ | null |
|
|
The ID of the workstation that the transaction resulting in the account credit entry occurred at |
||||
| SYSTEMUSER_ID | int | 4 | √ | null |
|
|
The ID of the user who performed the transaction resulting in the account credit entry |
||||
| TRANSACTION_TYPE | varchar | 20 | √ | null |
|
|
The type of account credit transaction (Credit / Refund Credit / Debit / Adjustment / Link / Unlink) |
||||
| CREDIT_AMOUNT | money | 21,4 | √ | null |
|
|
The amount of the transaction that affected the account credit balance |
||||
| CREATION_DATE_TIME | datetime | 16,3 | √ | null |
|
|
The date and time that the account credit transaction occurred |
||||
| DESCRIPTION | varchar | 100 | √ | null |
|
|
The description of the account credit transaction |
||||
| RECEIPT_HEADER_ID | int | 4 | √ | null |
|
|
The ID of the receipt that generated the account credit entry |
||||
| RECEIPT_PAYMENT_ID | int | 4 | √ | null |
|
|
The ID of the receipt payment that generated the account credit entry |
||||
| RECEIPT_DETAIL_ID | int | 4 | √ | null |
|
|
The ID of the receipt detail related to the linked payment plan that generated the account credit entry |
||||
| ACCOUNT_CREDIT_ID | int | 4 | √ | null |
|
|
The ID of the account credit entry |
||||
| LINKED_CREDIT_ID | int | 4 | √ | null |
|
|
The ID of the linked payment plan credit entry |
||||
| LINKED_ACCOUNT_CREDIT_ID | int | 4 | √ | null |
|
|
The ID of the linked account credit entry |
||||
| 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) |
|---|---|---|---|
| ACCOUNT_CREDIT_HISTORY_ACTIVE_HUB_KEY_PK | Primary key | Asc | ACTIVE_HUB_KEY |
| ACCOUNT_CREDIT_HISTORY_ACCOUNT_CREDIT_ID_ORG_ID_IX | Performance | Asc/Asc | ACCOUNT_CREDIT_ID + ORG_ID |
| ACCOUNT_CREDIT_HISTORY_COMPANY_ID_IX | Performance | Asc | COMPANY_ID |
| ACCOUNT_CREDIT_HISTORY_CUSTOMER_ID_IX | Performance | Asc | CUSTOMER_ID |
| ACCOUNT_CREDIT_HISTORY_LINKED_ACCOUNT_CREDIT_ID_IX | Performance | Asc | LINKED_ACCOUNT_CREDIT_ID |
| ACCOUNT_CREDIT_HISTORY_LINKED_CREDIT_ID_ORG_ID_IX | Performance | Asc/Asc | LINKED_CREDIT_ID + ORG_ID |
| ACCOUNT_CREDIT_HISTORY_RECEIPT_DETAIL_ID_IX | Performance | Asc | RECEIPT_DETAIL_ID |
| ACCOUNT_CREDIT_HISTORY_RECEIPT_HEADER_ID_IX | Performance | Asc | RECEIPT_HEADER_ID |
| ACCOUNT_CREDIT_HISTORY_RECEIPT_PAYMENT_ID_IX | Performance | Asc | RECEIPT_PAYMENT_ID |
| ACCOUNT_CREDIT_HISTORY_ROW_VERSION_IX | Performance | Asc | ROW_VERSION |
| ACCOUNT_CREDIT_HISTORY_SITE_ID_IX | Performance | Asc | SITE_ID |
| ACCOUNT_CREDIT_HISTORY_SYSTEMUSER_ID_IX | Performance | Asc | SYSTEMUSER_ID |
| ACCOUNT_CREDIT_HISTORY_WORKSTATION_ID_IX | Performance | Asc | WORKSTATION_ID |