MEMBERSHIPS

0 rows


Description

Membership details for all the primary members and their family (if enrolled in any package)

Columns

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

System Generated key value. No significance to membership data

MEMBERSHIP_ID int 4 null
AR_SCHEDULED_HEADERS.MEMBERSHIP_ID Defined in XML R
CREDIT_CARD_PROCESSING_LOG.MEMBERSHIP_ID Defined in XML R
CUSTOM_QUESTION_ANSWERS.MEMBERSHIP_ID Defined in XML R
MEMBERSHIP_AUDIT_LOG.MEMBERSHIP_ID Defined in XML R
MEMBERSHIP_USAGE.MEMBERSHIP_ID Defined in XML R
PRELIMINARY_DRAFTS.MEMBERSHIP_ID Defined in XML R

the membership_id

CUSTOMER_ID int 4 null
CUSTOMERS.CUSTOMER_ID Defined in XML R

Customer_ID of the member

PACKAGE_ID int 4 null
PACKAGES.PACKAGE_ID Defined in XML R

The package ID of the customers membership.

CUSTOMER_SINCE_DATE datetime 16,3 null

The date when the customer account was created

PRIMARY_MEMBER_CUSTOMER_ID int 4 null
CUSTOMERS.CUSTOMER_ID Defined in XML R

The primary customer ID to which the membership package is assigned.

MEMBERSHIP_STATUS varchar 255 null

The status (active, expired, suspended, canceled, etc.) of the membership package.

EFFECTIVE_DATE datetime 16,3 null

The effective date of the membership package.

EXPIRATION_DATE datetime 16,3 null

The expiration date of the membership package.

PUNCH_PASS_EXPIRED_ON varchar 255 null

Date punch pass expires

AUTOMATIC_RENEWAL_TYPE varchar 255 null

The payment method selected for an auto-renewal membership (Not Auto-Renewed / Credit Card / ECP / Manual Deduction / Payment Plan)

LAST_RENEWED_DATE datetime 16,3 null

The most recent renewal date for the membership package.

SUSPENDED_FROM_DATE datetime 16,3 null

The date from which the membership package was suspended.

SUSPENDED_UNTIL_DATE datetime 16,3 null

The date to which the membership package is suspended.

SCHEDULED_AUTOMATIC_CANCELLATION varchar 255 null

Whether the membership package is scheduled for a future automatic cancellation at renewal.

SCHEDULED_AUTOMATIC_CANCELLATION_DATE datetime 16,3 null

The date when the automatic cancellation at renewal will be executed

TOTAL_NUMBER_OF_USES int 4 null

The maximum number of uses/punches available for the membership package, when the membership package has defined usage restrictions.

SUSPEND_AUTO_RENEWAL varchar 255 null

Whether auto renewal is suspended or not

MODIFIED_DATE_TIME datetime 16,3 null

The date and time membership was last modified

MEMBER_PASS_NUMBER varchar 255 null

Customers membership pass number

MEMBER_SINCE_DATE datetime 16,3 null

The earliest date and time on which the membership became effective. Note: Can be prior to the sale date of the membership Applies to all memberships regardless of retention eligible status

NUMBER_OF_USES_USED int 4 null

The number of uses/punches that were used for the membership package, when the membership package has defined usage restrictions.

MEMBER_PASS_COUNT int 4 null

Total number of passes this member has

ENTRY_POINT_COUNT int 4 null

The entry points to which the pass holder of the membership package can access.

PRIMARY_MEMBER_PASS_NUMBER varchar 255 null

Pass number of the primary member

SCHEDULED_CANCELLATION varchar 255 null

Whether the membership has a scheduled cancellation

SCHEDULED_CANCELLATION_DATE datetime 16,3 null

Date of the scheduled cancellation

SCHEDULED_CANCELLATION_REASON varchar 800 null

Reason for the scheduled cancellation

CANCELLATION_DATE datetime 16,3 null

The termination date for a membership, when the latest membership sale or renewal transaction has been manually cancelled.

CANCELLATION_REASON varchar 800 null

The reason the membership package was terminated

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

CANCELLATION_DATE_ONLY date 20 null

The termination date for a membership, when the latest membership sale or renewal transaction has been manually cancelled (date only)

CUSTOMER_SINCE_DATE_ONLY date 20 null

The date when the customer account was created (date only)

EFFECTIVE_DATE_ONLY date 20 null

The effective date of the membership package (date only)

EXPIRATION_DATE_ONLY date 20 null

The expiration date of the membership package (date only)

LAST_RENEWED_DATE_ONLY date 20 null

The most recent renewal date for the membership package (date only)

MEMBER_SINCE_DATE_ONLY date 20 null

The earliest date-only on which the membership became effective. Note: Can be prior to the sale date of the membership Applies to all memberships regardless of retention eligible status

MODIFIED_DATE_ONLY date 20 null

The date membership was last modified (date only)

SCHEDULED_AUTOMATIC_CANCELLATION_DATE_ONLY date 20 null

The date when the automatic cancellation at renewal will be executed (date only)

SCHEDULED_CANCELLATION_DATE_ONLY date 20 null

Date of the scheduled cancellation (date only)

SUSPENDED_FROM_DATE_ONLY date 20 null

The date from which the membership package was suspended (date only)

SUSPENDED_UNTIL_DATE_ONLY date 20 null

The date to which the membership package is suspended (date only)

SCHEDULED_AUTOMATIC_CANCELLATION_YES_NO varchar 5 null

Whether the membership package is scheduled for a future automatic cancellation at renewal.

SUSPEND_AUTO_RENEWAL_YES_NO varchar 5 null

Whether auto renewal is suspended or not.

SCHEDULED_CANCELLATION_YES_NO varchar 5 null

Whether the membership has a scheduled cancellation.

IS_PRIMARY varchar 3 null

Whether this customer is the primary customer for this membership.

LAST_USAGE_DATE datetime 16,3 null

The date and time the membership was last used

LAST_USAGE_DATE_ONLY date 20 null

The date the membership was last used (date only)

MEMBERSHIP_PASS_ID int 4 null

The membership pass id for this membership and customer

ORG_ID int 4 null

Your organization’s unique identifier in the Active Net system

CANCELLATION_REASON_ID int 4 null
REASONS.REASON_ID Defined in XML R

The Reason ID for the membership package termination

SCHEDULED_CANCELLATION_REASON_ID int 4 null
REASONS.REASON_ID Defined in XML R

Reason ID for the scheduled cancellation

SCHEDULED_AUTOMATIC_CANCELLATION_REASON_ID int 4 null
REASONS.REASON_ID Defined in XML R

Reason ID for the scheduled cancellation at renewal

SCHEDULED_AUTOMATIC_CANCELLATION_REASON varchar 800 null

Reason for the scheduled cancellation at renewal

SUSPENDED_REASON_ID int 4 null
REASONS.REASON_ID Defined in XML R

The Reason ID for the membership suspension

REASON_ID int 4 null

DEPRECATED - Same as SCHEDULED_CANCELLATION_REASON_ID

AUTO_CANCEL_REASON_ID int 4 null

DEPRECATED - Same as SCHEDULED_AUTOMATIC_CANCELLATION_REASON_ID

AUTOMATIC_CANCELLATION_REASON varchar 800 null

DEPRECATED - Same as SCHEDULED_AUTOMATIC_CANCELLATION_REASON

CANCEL_AUTO_RENEWAL_DATE datetime 16,3 null

Date of the manual cancellation of auto renewal

CANCEL_AUTO_RENEWAL_DATE_ONLY date 20 null

Date of the manual cancellation of auto renewal (date only)

CANCEL_AUTO_RENEWAL_REASON_ID int 4 null
REASONS.REASON_ID Defined in XML R

Reason ID for the manual cancellation of auto renewal

CANCEL_AUTO_RENEWAL_REASON varchar 800 null

Reason for the manual cancellation of auto renewal

PACKAGE_CATEGORY_ID Unknown 0 null
PACKAGE_CATEGORIES.PACKAGE_CATEGORY_ID Defined in XML R
PACKAGE_SITE_ID Unknown 0 null
SITES.SITE_ID Defined in XML R
TPB_COMPANY_ID int 4 null
COMPANIES.COMPANY_ID Defined in XML R

Third party billing company ID

TPB_RECEIVE_TYPE varchar 25 null

Third party billing receive type (Per Customer, Per Family, Per Month Per Customer, Percent)

TPB_RECEIVE_AMOUNT money 21,4 null

Third party billing amount to receive each scheduled period

TPB_RECEIVE_PERCENT money 21,4 null

Third party billing percent to receive each scheduled period

TPB_LAST_AMOUNT money 21,4 null

Third party billing amount received last period

TPB_LAST_DATE date 20 null

Third party billing date last received

TPB_TOTAL_BILLED money 21,4 null

Third party billing total billed to date

CANCELLED_ON_DATE date 20 null

The last date that the membership was active and able to be used before it expired or was cancelled. If a cancellation results in a retroactive change to the final expiration date then the date the cancellation was processed is used here.

ROW_VERSION binary 8 null

System timestamp (for internal use)

Indexes

Constraint Name Type Sort Column(s)
MEMBERSHIPS_PK Primary key Asc ACTIVE_HUB_KEY
MEMBERSHIPS_CUSTOMER_ID_IX Performance Asc CUSTOMER_ID
MEMBERSHIPS_MEMBERSHIP_ID_IX Performance Asc MEMBERSHIP_ID
MEMBERSHIPS_MEMBERSHIP_ID_MEMBERSHIP_PASS_ID_ORG_ID_IX Performance Asc/Asc/Asc MEMBERSHIP_ID + MEMBERSHIP_PASS_ID + ORG_ID
MEMBERSHIPS_MEMBERSHIP_PASS_ID_IX Performance Asc MEMBERSHIP_PASS_ID
MEMBERSHIPS_MEMBERSHIP_STATUS_IX Performance Asc MEMBERSHIP_STATUS
MEMBERSHIPS_PACKAGE_ID_IX Performance Asc PACKAGE_ID
MEMBERSHIPS_PRIMARY_MEMBER_CUSTOMER_ID_IX Performance Asc PRIMARY_MEMBER_CUSTOMER_ID
MEMBERSHIPS_ROW_VERSION_IX Performance Asc ROW_VERSION
MEMBERSHIPS_TPB_COMPANY_ID_IX Performance Asc TPB_COMPANY_ID

Relationships