COUPON_BATCHES

0 rows


Description

Coupon batch information

Columns

Column Type Size Nulls Auto Default Children Parents Comments
ACTIVE_HUB_KEY int 4 null

The Hub record ID

COUPON_BATCH_ID int 4 null
COUPON_BATCH_QUALIFICATIONS.COUPON_BATCH_ID Defined in XML R
COUPONS.COUPON_BATCH_ID Defined in XML R

Coupon batch ID

COUPON_BATCH_TITLE varchar 100 null

Coupon batch title

COUPON_CODE_PREFIX varchar 5 null

Coupon code prefix to be used when generating coupons

COUPON_CODE_SUFFIX varchar 5 null

Coupon code suffix to be used when generating coupons

COUPON_CODE_MIN_NUMBER int 4 null

Coupon code starting number to be used when generating coupons

COUPON_CODE_MAX_NUMBER int 4 null

Coupon code ending number to be used when generating coupons

COUPON_TITLE varchar 100 null

Coupon title for generated coupons

COUPON_DESCRIPTION varchar 8000 null

Coupon description of generated coupons

COUPON_TYPE varchar 30 null

Coupon type for generated coupons

DISCOUNT_TYPE varchar 10 null

Discount type (amount / discount)

CHARGE_ID int 4 null
CHARGES.CHARGE_ID Defined in XML R

Charge ID to be associated to the coupons

CHARGE_NAME varchar 50 null

Charge to be associated to the coupons

COUPON_CATEGORY_ID int 4 null
REPORT_DEFINITIONS.REPORT_DEFINITION_ID Defined in XML R

Coupon category ID

COUPON_CATEGORY_NAME varchar 100 null

Coupon category

DISCOUNT_AMOUNT money 21,4 null

Coupon discount amount

DISCOUNT_PERCENT money 21,4 null

Coupon discount percentage

GLACCOUNT_ID int 4 null
GLACCOUNTS.GLACCOUNT_ID Defined in XML R

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 coupons will be configured for use on specific days of the week

WEEKS_OF_MONTH varchar 5 null

Whether the coupons will be configured for use on specific weeks of the month

MONTHS_OF_YEAR varchar 12 null

Whether the coupons will be configured for use on specific months of the year

MAX_NUMBER_OF_USES int 4 null

The total number of times that each coupon may be used

CUSTOMER_LIST_ID int 4 null
COUPON_CATEGORIES.COUPON_CATEGORY_ID Defined in XML R

The ID of the custom list identifying the customers to be assigned coupons

CUSTOMER_LIST_NAME varchar 80 null

The name of the custom list identifying the customers to be assigned coupons

NUMBER_PER_CUSTOMER int 4 null

Number of coupons to be assigned to each customer

MAX_NUMBER_OF_USES_PER_CUSTOMER int 4 null

Maximum uses per customer for each coupon

NOTIFY_CUSTOMER varchar 5 null

Whether a notification should be emailed to each customer who gets coupons assigned to them (Yes/No)

DAYS_SUNDAY varchar 3 null

Whether the coupons will be configured for use on Sundays (Yes/No)

DAYS_MONDAY varchar 3 null

Whether the coupons will be configured for use on Mondays (Yes/No)

DAYS_TUESDAY varchar 3 null

Whether the coupons will be configured for use on Tuesdays (Yes/No)

DAYS_WEDNESDAY varchar 3 null

Whether the coupons will be configured for use on Wednesdays (Yes/No)

DAYS_THURSDAY varchar 3 null

Whether the coupons will be configured for use on Thursdays (Yes/No)

DAYS_FRIDAY varchar 3 null

Whether the coupons will be configured for use on Fridays (Yes/No)

DAYS_SATURDAY varchar 3 null

Whether the coupons will be configured for use on Saturdays (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 (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 (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 (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 (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 (Yes/No)

MONTHS_JANUARY varchar 3 null

Whether the coupons will be configured for use during the month of January (Yes/No)

MONTHS_FEBRUARY varchar 3 null

Whether the coupons will be configured for use during the month of February (Yes/No)

MONTHS_MARCH varchar 3 null

Whether the coupons will be configured for use during the month of March (Yes/No)

MONTHS_APRIL varchar 3 null

Whether the coupons will be configured for use during the month of April (Yes/No)

MONTHS_MAY varchar 3 null

Whether the coupons will be configured for use during the month of May (Yes/No)

MONTHS_JUNE varchar 3 null

Whether the coupons will be configured for use during the month of June (Yes/No)

MONTHS_JULY varchar 3 null

Whether the coupons will be configured for use during the month of July (Yes/No)

MONTHS_AUGUST varchar 3 null

Whether the coupons will be configured for use during the month of August (Yes/No)

MONTHS_SEPTEMBER varchar 3 null

Whether the coupons will be configured for use during the month of September (Yes/No)

MONTHS_OCTOBER varchar 3 null

Whether the coupons will be configured for use during the month of October (Yes/No)

MONTHS_NOVEMBER varchar 3 null

Whether the coupons will be configured for use during the month of November (Yes/No)

MONTHS_DECEMBER varchar 3 null

Whether the coupons will be configured for use 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

Relationships

View Definition


Possibly Referenced Tables/Views