Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ACTIVE_HUB_KEY | int identity | 4 | √ | null |
|
|
The Hub record ID |
||||
| RECEIPT_NUMBER | varchar | 255 | √ | null |
|
|
Receipt number |
||||
| TRANSACTION_SITE_ID | int | 4 | √ | null |
|
|
The ID of the transaction site. |
||||
| PRODUCT_SITE_ID | int | 4 | √ | null |
|
|
The ID of the product site. |
||||
| WORKSTATION_ID | int | 4 | √ | null |
|
|
The ID of workstation where this transaction took place. |
||||
| TRANSACTION_CENTER_ID | int | 4 | √ | null |
|
|
The ID of transaction center for which to report sales. |
||||
| PRODUCT_TYPE | varchar | 20 | √ | null |
|
|
The product type linked to this product. |
||||
| PRODUCT_DEPARTMENT_ID | int | 4 | √ | null |
|
|
The ID of the department to which this product belongs. |
||||
| PRODUCT_CLASS_ID | int | 4 | √ | null |
|
|
The ID of the class category to which this product belongs. |
||||
| PRODUCT_SUBCLASS_ID | int | 4 | √ | null |
|
|
The ID of the Sub-class category to which this product belongs. |
||||
| POSPRODUCT_ID | int | 4 | √ | null |
|
|
The ID of the POS product. |
||||
| CUSTOMER_ID | int | 4 | √ | null |
|
|
Customer ID |
||||
| RECEIPT_DATE | date | 20 | √ | null |
|
|
Receipt date |
||||
| RECEIPT_TIME | time | 16 | √ | null |
|
|
Receipt time |
||||
| GROSS_QTY | money | 21,4 | √ | null |
|
|
The gross quantity sold (including zero). |
||||
| RFND_QTY | money | 21,4 | √ | null |
|
|
Quantity refunded if not zero. |
||||
| NET_QTY | money | 21,4 | √ | null |
|
|
The net quantity sold (including zero). |
||||
| GROSS_AMOUNT | money | 21,4 | √ | null |
|
|
The gross amount sold (including zero). This is the amount after discount: the actual paid amount. |
||||
| DISCOUNT | money | 21,4 | √ | null |
|
|
The discount applied to the sale. |
||||
| REFUND_AMOUNT | money | 21,4 | √ | null |
|
|
The total amount refunded |
||||
| NET_AMOUNT | money | 21,4 | √ | null |
|
|
The net amount sold (including zero). |
||||
| 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 |
|||||
| TRANSACTION_ID | int | 4 | √ | null |
|
|
The ID of the transaction. |
||||
| 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) |
||||
| TOTAL_TAX | money | 21,4 | √ | null |
|
|
The tax amount for the sale |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| POS_SALES_DETAILS_ACTIVE_HUB_KEY_PK | Primary key | Asc | ACTIVE_HUB_KEY |
| POS_SALES_DETAILS_CUSTOMER_ID_IX | Performance | Asc | CUSTOMER_ID |
| POS_SALES_DETAILS_POSPRODUCT_ID_IX | Performance | Asc | POSPRODUCT_ID |
| POS_SALES_DETAILS_PRODUCT_CLASS_ID_IX | Performance | Asc | PRODUCT_CLASS_ID |
| POS_SALES_DETAILS_PRODUCT_DEPARTMENT_ID_IX | Performance | Asc | PRODUCT_DEPARTMENT_ID |
| POS_SALES_DETAILS_PRODUCT_SITE_ID_IX | Performance | Asc | PRODUCT_SITE_ID |
| POS_SALES_DETAILS_PRODUCT_SUBCLASS_ID_IX | Performance | Asc | PRODUCT_SUBCLASS_ID |
| POS_SALES_DETAILS_RECEIPT_DATE_IX | Performance | Asc | RECEIPT_DATE |
| POS_SALES_DETAILS_RECEIPT_NUMBER_TRANSACTION_ID_IX | Performance | Asc/Asc | RECEIPT_NUMBER + TRANSACTION_ID |
| POS_SALES_DETAILS_ROW_VERSION_IX | Performance | Asc | ROW_VERSION |
| POS_SALES_DETAILS_TRANSACTION_CENTER_ID_IX | Performance | Asc | TRANSACTION_CENTER_ID |
| POS_SALES_DETAILS_TRANSACTION_ID_ORG_ID_IX | Performance | Asc/Asc | TRANSACTION_ID + ORG_ID |
| POS_SALES_DETAILS_TRANSACTION_SITE_ID_IX | Performance | Asc | TRANSACTION_SITE_ID |
| POS_SALES_DETAILS_WORKSTATION_ID_IX | Performance | Asc | WORKSTATION_ID |