Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ACTIVE_HUB_KEY | int | 4 | null |
|
|
The Hub record ID |
|||||
| COUPON_QUALIFICATION_ID | int | 4 | √ | null |
|
|
Coupon qualification ID |
||||
| COUPON_ID | int | 4 | √ | null |
|
|
Coupon ID |
||||
| COUPON_TITLE | varchar | 100 | √ | null |
|
|
Coupon title |
||||
| COMPANY_ID | int | 4 | √ | null |
|
|
Company ID |
||||
| COMPANY_NAME | varchar | 255 | √ | null |
|
|
Company name |
||||
| CUSTOMER_TYPE_ID | int | 4 | √ | null |
|
|
Customer type ID |
||||
| CUSTOMER_TYPE_NAME | varchar | 60 | √ | null |
|
|
Customer type name |
||||
| CUSTOMER_ID | int | 4 | √ | null |
|
|
Customer ID |
||||
| CUSTOMER_NAME | varchar | 511 | √ | null |
|
|
Customer name |
||||
| CUSTOMER_NAME_LAST_FIRST | varchar | 512 | √ | null |
|
|
Customer name (last name, first name) |
||||
| ACTIVITY_ID | int | 4 | √ | null |
|
|
Activity ID |
||||
| ACTIVITY_NAME | varchar | 100 | √ | null |
|
|
Activity name |
||||
| CATEGORY_ID | int | 4 | √ | null |
|
|
Activity category ID |
||||
| CATEGORY_NAME | varchar | 80 | √ | null |
|
|
Activity category name |
||||
| SEASON_ID | int | 4 | √ | null |
|
|
Activity season ID |
||||
| SEASON_NAME | varchar | 40 | √ | null |
|
|
Activity season name |
||||
| PROGRAM_ID | int | 4 | √ | null |
|
|
Program ID |
||||
| PROGRAM_NAME | varchar | 255 | √ | null |
|
|
Program name |
||||
| PROGRAM_TYPE_ID | int | 4 | √ | null |
|
|
Program type ID |
||||
| PROGRAM_TYPE_NAME | varchar | 30 | √ | null |
|
|
Program type name |
||||
| PACKAGE_ID | int | 4 | √ | null |
|
|
Package ID |
||||
| PACKAGE_NAME | varchar | 255 | √ | null |
|
|
Package name |
||||
| PACKAGE_CATEGORY_ID | int | 4 | √ | null |
|
|
Package category ID |
||||
| PACKAGE_CATEGORY_NAME | varchar | 50 | √ | null |
|
|
Package category name |
||||
| POSPRODUCT_ID | int | 4 | √ | null |
|
|
POS product name |
||||
| PRODUCT_NAME | varchar | 100 | √ | null |
|
|
POS product name |
||||
| PRODUCT_DEPARTMENT_ID | int | 4 | √ | null |
|
|
Product department ID |
||||
| PRODUCT_DEPARTMENT_NAME | varchar | 50 | √ | null |
|
|
Product department name |
||||
| PRODUCT_CLASS_ID | int | 4 | √ | null |
|
|
Product class ID |
||||
| PRODUCT_CLASS_NAME | varchar | 50 | √ | null |
|
|
Product class name |
||||
| PRODUCT_SUBCLASS_ID | int | 4 | √ | null |
|
|
Product subclass ID |
||||
| PRODUCT_SUBCLASS_NAME | varchar | 50 | √ | null |
|
|
Product subclass name |
||||
| USAGE_FEE_ID | int | 4 | √ | null |
|
|
Usage fee ID |
||||
| USAGE_FEE_NAME | varchar | 50 | √ | null |
|
|
Usage fee name |
||||
| DATE_FROM | date | 20 | √ | null |
|
|
Coupon effective date from |
||||
| DATE_TO | date | 20 | √ | null |
|
|
Coupon effective date to |
||||
| HAS_OVERRIDES | varchar | 3 | null |
|
|
Whether this qualification has overrides of the coupon settings (Yes/No) |
|||||
| GLACCOUNT_ID | int | 4 | √ | null |
|
|
Coupon GL account ID - if override |
||||
| GL_ACCOUNT_NAME | varchar | 200 | √ | null |
|
|
Coupon GL account name - if override |
||||
| GL_ACCOUNT_NUMBER | varchar | 200 | √ | null |
|
|
Coupon GL account number - if override |
||||
| DISCOUNT_TYPE | varchar | 10 | √ | null |
|
|
Discount type - if override (amount / discount) |
||||
| DISCOUNT_AMOUNT | money | 21,4 | √ | null |
|
|
Coupon discount amount - if override |
||||
| DISCOUNT_PERCENT | money | 21,4 | √ | null |
|
|
Coupon discount percentage - if override |
||||
| DAYS_OF_WEEK | varchar | 7 | √ | null |
|
|
Whether the coupon can be used on specific days of the week - if override |
||||
| WEEKS_OF_MONTH | varchar | 5 | √ | null |
|
|
Whether the coupon can be used on specific weeks of the month - if override |
||||
| MONTHS_OF_YEAR | varchar | 12 | √ | null |
|
|
Whether the coupon can be used on specific months of the year - if override |
||||
| MAX_NUMBER_OF_USES | int | 4 | √ | null |
|
|
The total number of times that the coupon may be used - if override |
||||
| MAX_NUMBER_OF_USES_PER_CUSTOMER | int | 4 | √ | null |
|
|
Maximum uses per customer for each coupon - if override |
||||
| DAYS_SUNDAY | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use on Sundays - if override (Yes/No) |
||||
| DAYS_MONDAY | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use on Mondays - if override (Yes/No) |
||||
| DAYS_TUESDAY | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use on Tuesdays - if override (Yes/No) |
||||
| DAYS_WEDNESDAY | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use on Wednesdays - if override (Yes/No) |
||||
| DAYS_THURSDAY | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use on Thursdays - if override (Yes/No) |
||||
| DAYS_FRIDAY | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use on Fridays - if override (Yes/No) |
||||
| DAYS_SATURDAY | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use on Saturdays - if override (Yes/No) |
||||
| WEEK_OF_MONTH_1 | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use on days during the first week of the month - if override (Yes/No) |
||||
| WEEK_OF_MONTH_2 | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use on days during the second week of the month - if override (Yes/No) |
||||
| WEEK_OF_MONTH_3 | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use on days during the third week of the month - if override (Yes/No) |
||||
| WEEK_OF_MONTH_4 | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use on days during the fourth week of the month - if override (Yes/No) |
||||
| WEEK_OF_MONTH_5 | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use on days during the last week of the month - if override (Yes/No) |
||||
| MONTHS_JANUARY | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use during the month of January - if override (Yes/No) |
||||
| MONTHS_FEBRUARY | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use during the month of February - if override (Yes/No) |
||||
| MONTHS_MARCH | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use during the month of March - if override (Yes/No) |
||||
| MONTHS_APRIL | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use during the month of April - if override (Yes/No) |
||||
| MONTHS_MAY | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use during the month of May - if override (Yes/No) |
||||
| MONTHS_JUNE | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use during the month of June - if override (Yes/No) |
||||
| MONTHS_JULY | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use during the month of July - if override (Yes/No) |
||||
| MONTHS_AUGUST | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use during the month of August - if override (Yes/No) |
||||
| MONTHS_SEPTEMBER | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use during the month of September - if override (Yes/No) |
||||
| MONTHS_OCTOBER | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use during the month of October - if override (Yes/No) |
||||
| MONTHS_NOVEMBER | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use during the month of November - if override (Yes/No) |
||||
| MONTHS_DECEMBER | varchar | 3 | √ | null |
|
|
Whether the coupons will be configured for use during the month of December - if override (Yes/No) |
||||
| LAST_SYNC_TIME | datetime | 16,3 | null |
|
|
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 |