Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ACTIVE_HUB_KEY | int | 4 | null |
|
|
The Hub record ID |
|||||||||||
| COUPON_ID | int | 4 | √ | null |
|
|
Coupon ID |
||||||||||
| COUPON_TITLE | varchar | 100 | √ | null |
|
|
Coupon title |
||||||||||
| COUPON_BATCH_ID | int | 4 | √ | null |
|
|
Coupon batch ID if created as part of a batch |
||||||||||
| COUPON_BATCH_TITLE | varchar | 100 | √ | null |
|
|
Coupon batch title |
||||||||||
| COUPON_CODE | varchar | 20 | √ | null |
|
|
Coupon code |
||||||||||
| COUPON_TYPE | varchar | 30 | √ | null |
|
|
Coupon type |
||||||||||
| COUPON_CATEGORY_ID | int | 4 | √ | null |
|
|
Coupon category ID |
||||||||||
| COUPON_CATEGORY_NAME | varchar | 100 | √ | null |
|
|
Coupon category |
||||||||||
| DISCOUNT_TYPE | varchar | 10 | √ | null |
|
|
Discount type (amount / discount) |
||||||||||
| DISCOUNT_AMOUNT | int | 4 | √ | null |
|
|
Coupon discount amount |
||||||||||
| DISCOUNT_PERCENT | int | 4 | √ | null |
|
|
Coupon discount percentage |
||||||||||
| COUPON_CONTRACT_ID | int | 4 | √ | null |
|
|
Coupon contract ID (if applicable) |
||||||||||
| CHARGE_ID | int | 4 | √ | null |
|
|
Charge ID to be associated to the coupons |
||||||||||
| CHARGE_NAME | varchar | 50 | √ | null |
|
|
Charge to be associated to the coupons |
||||||||||
| GLACCOUNT_ID | int | 4 | √ | null |
|
|
Coupon GL account ID |
||||||||||
| GL_ACCOUNT_NAME | varchar | 200 | √ | null |
|
|
Coupon GL account name |
||||||||||
| GL_ACCOUNT_NUMBER | varchar | 200 | √ | null |
|
|
Coupon GL account number |
||||||||||
| DATE_FROM | date | 20 | √ | null |
|
|
Coupon effective date from |
||||||||||
| DATE_TO | date | 20 | √ | null |
|
|
Coupon effective date to |
||||||||||
| FREQUENCY_NUMBER | int | 4 | √ | null |
|
|
Coupon may be used again after this many days, weeks or months |
||||||||||
| FREQUENCY_PERIOD | varchar | 10 | √ | null |
|
|
Period for coupon reuse (Days / Weeks / Months) |
||||||||||
| DAYS_OF_WEEK | varchar | 7 | √ | null |
|
|
Whether the coupon can be used on specific days of the week |
||||||||||
| WEEKS_OF_MONTH | varchar | 5 | √ | null |
|
|
Whether the coupon can be used on specific weeks of the month |
||||||||||
| MONTHS_OF_YEAR | varchar | 12 | √ | null |
|
|
Whether the coupon can be used on specific months of the year |
||||||||||
| MAX_NUMBER_OF_USES | int | 4 | √ | null |
|
|
The total number of times that the coupon may be used |
||||||||||
| MAX_NUMBER_OF_USES_PER_CUSTOMER | int | 4 | √ | null |
|
|
Maximum uses per customer for each coupon |
||||||||||
| TOTAL_COUPONS_USED | int | 4 | √ | null |
|
|
The total number of times that this coupon has been used |
||||||||||
| TURN_OFF_COUPON | varchar | 5 | √ | null |
|
|
Whether use of this coupon has been turned off (Yes/No) |
||||||||||
| DAYS_SUNDAY | varchar | 3 | null |
|
|
Whether the coupon can be used on Sundays (Yes/No) |
|||||||||||
| DAYS_MONDAY | varchar | 3 | null |
|
|
Whether the coupon can be used on Mondays (Yes/No) |
|||||||||||
| DAYS_TUESDAY | varchar | 3 | null |
|
|
Whether the coupon can be used on Tuesdays (Yes/No) |
|||||||||||
| DAYS_WEDNESDAY | varchar | 3 | null |
|
|
Whether the coupon can be used on Wednesdays (Yes/No) |
|||||||||||
| DAYS_THURSDAY | varchar | 3 | null |
|
|
Whether the coupon can be used on Thursdays (Yes/No) |
|||||||||||
| DAYS_FRIDAY | varchar | 3 | null |
|
|
Whether the coupon can be used on Fridays (Yes/No) |
|||||||||||
| DAYS_SATURDAY | varchar | 3 | null |
|
|
Whether the coupon can be used on Saturdays (Yes/No) |
|||||||||||
| WEEK_OF_MONTH_1 | varchar | 3 | null |
|
|
Whether the coupon can be used on days during the first week of the month (Yes/No) |
|||||||||||
| WEEK_OF_MONTH_2 | varchar | 3 | null |
|
|
Whether the coupon can be used on days during the second week of the month (Yes/No) |
|||||||||||
| WEEK_OF_MONTH_3 | varchar | 3 | null |
|
|
Whether the coupon can be used on days during the third week of the month (Yes/No) |
|||||||||||
| WEEK_OF_MONTH_4 | varchar | 3 | null |
|
|
Whether the coupon can be used on days during the fourth week of the month (Yes/No) |
|||||||||||
| WEEK_OF_MONTH_5 | varchar | 3 | null |
|
|
Whether the coupon can be used on days during the last week of the month (Yes/No) |
|||||||||||
| MONTHS_JANUARY | varchar | 3 | null |
|
|
Whether the coupon can be used during the month of January (Yes/No) |
|||||||||||
| MONTHS_FEBRUARY | varchar | 3 | null |
|
|
Whether the coupon can be used during the month of February (Yes/No) |
|||||||||||
| MONTHS_MARCH | varchar | 3 | null |
|
|
Whether the coupon can be used during the month of March (Yes/No) |
|||||||||||
| MONTHS_APRIL | varchar | 3 | null |
|
|
Whether the coupon can be used during the month of April (Yes/No) |
|||||||||||
| MONTHS_MAY | varchar | 3 | null |
|
|
Whether the coupon can be used during the month of May (Yes/No) |
|||||||||||
| MONTHS_JUNE | varchar | 3 | null |
|
|
Whether the coupon can be used during the month of June (Yes/No) |
|||||||||||
| MONTHS_JULY | varchar | 3 | null |
|
|
Whether the coupon can be used during the month of July (Yes/No) |
|||||||||||
| MONTHS_AUGUST | varchar | 3 | null |
|
|
Whether the coupon can be used during the month of August (Yes/No) |
|||||||||||
| MONTHS_SEPTEMBER | varchar | 3 | null |
|
|
Whether the coupon can be used during the month of September (Yes/No) |
|||||||||||
| MONTHS_OCTOBER | varchar | 3 | null |
|
|
Whether the coupon can be used during the month of October (Yes/No) |
|||||||||||
| MONTHS_NOVEMBER | varchar | 3 | null |
|
|
Whether the coupon can be used during the month of November (Yes/No) |
|||||||||||
| MONTHS_DECEMBER | varchar | 3 | null |
|
|
Whether the coupon can be used during the month of December (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 |