ACCOUNT_CREDIT_HISTORY

0 rows


Description

Account credit transaction history for customers and companies

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
CUSTOMERS.CUSTOMER_ID Defined in XML R

The ID of the customer that the account credit entry belongs to

COMPANY_ID int 4 null
COMPANIES.COMPANY_ID Defined in XML R

The ID of the company that the account credit entry belongs to

SITE_ID int 4 null
SITES.SITE_ID Defined in XML R

The ID of the site that the transaction resulting in the account credit entry occurred at

WORKSTATION_ID int 4 null
WORKSTATIONS.WORKSTATION_ID Defined in XML R

The ID of the workstation that the transaction resulting in the account credit entry occurred at

SYSTEMUSER_ID int 4 null
SYSTEM_USERS.SYSTEMUSER_ID Defined in XML R

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
RECEIPT_HEADERS.RECEIPT_HEADER_ID Defined in XML R

The ID of the receipt that generated the account credit entry

RECEIPT_PAYMENT_ID int 4 null
RECEIPT_PAYMENTS.RECEIPT_PAYMENT_ID Defined in XML R

The ID of the receipt payment that generated the account credit entry

RECEIPT_DETAIL_ID int 4 null
RECEIPT_DETAILS.RECEIPT_DETAIL_ID Defined in XML R

The ID of the receipt detail related to the linked payment plan that generated the account credit entry

ACCOUNT_CREDIT_ID int 4 null
ACCOUNT_CREDIT_HISTORY.LINKED_ACCOUNT_CREDIT_ID Defined in XML R

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
ACCOUNT_CREDIT_HISTORY.ACCOUNT_CREDIT_ID Defined in XML R

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

Relationships