Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ACTIVE_HUB_KEY | int identity | 4 | √ | null |
|
|
System Generated key value. No significance to Enrollment data |
||||
| ACTIVITY_ID | int | 4 | √ | null |
|
|
ID of the activity. |
||||
| ENROLLMENT_STATUS | varchar | 255 | √ | null |
|
|
The enrollment status of the customer at the time of enrollment (Enrolled / Withdrawn / Waitlisted / Waitlist Removed / Trial / Refunded). If the current membership status is needed, please join to either CUSTOMERS or MEMBERSHIPS on the customer ID in question |
||||
| CUSTOMER_ID | int | 4 | √ | null |
|
|
ID of the Customer |
||||
| RECEIPT_NUMBER | varchar | 255 | √ | null |
|
|
Receipt number of the last transaction |
||||
| HAS_ACTIVE_MEMBERSHIP | bit | 1 | ((0)) |
|
|
The membership status at the time of enrollment, Note that If the current membership status is needed you may join to either CUSTOMERS or MEMBERSHIPS for the CUSTOMER_ID in question |
|||||
| TRIAL_CLASS_DATE | datetime | 16,3 | √ | null |
|
|
The meeting date of the trial class enrollment |
||||
| LAST_TRANSACTION_DATE | datetime | 16,3 | √ | null |
|
|
Date of the customers last transaction |
||||
| WITHDRAW_DATE | datetime | 16,3 | √ | null |
|
|
The date and time when the customer withdrew from the activity |
||||
| TOTAL_FEE | decimal | 11,2 | √ | null |
|
|
The total fee amount for the activity and customer |
||||
| TOTAL_PAID | decimal | 11,2 | √ | null |
|
|
The total amount paid by the customer for the activity |
||||
| TOTAL_DUE | decimal | 11,2 | √ | null |
|
|
The total due amount for the activity and customer |
||||
| DATE_REGISTERED | datetime | 16,3 | √ | null |
|
|
The date and time the customer enrolled in the activity |
||||
| 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 |
||||
| REGISTERED_DATE_ONLY | date | 20 | √ | null |
|
|
The date that the customer enrolled in the activity |
||||
| LAST_TRANSACTION_DATE_ONLY | date | 20 | √ | null |
|
|
Date of the customers last transaction |
||||
| TRIAL_CLASS_DATE_ONLY | date | 20 | √ | null |
|
|
The meeting date of the trial class enrollment |
||||
| WITHDRAW_DATE_ONLY | date | 20 | √ | null |
|
|
The date that the customer withdrew from the activity |
||||
| HAS_ACTIVE_MEMBERSHIP_YES_NO | varchar | 5 | √ | null |
|
|
The membership status at the time of enrollment, Note that If the current membership status is needed you may join to either CUSTOMERS or MEMBERSHIPS for the CUSTOMER_ID in question |
||||
| TRANSACTION_ID | int | 4 | √ | null |
|
|
The most recent transaction ID related to the enrollment. |
||||
| ROOT_TRANSACTION_ID | int | 4 | √ | null |
|
|
Root transaction ID of the enrollment. |
||||
| ORG_ID | int | 4 | √ | null |
|
|
Your organization’s unique identifier in the Active Net system |
||||
| MAX_PRIVATE_LESSON_BOOKINGS | int | 4 | √ | null |
|
|
The number of private lesson sessions purchased with this enrollment. |
||||
| BOOKED_PRIVATE_LESSON_BOOKINGS | int | 4 | √ | null |
|
|
The number of private lesson sessions that have been booked. |
||||
| UNBOOKED_PRIVATE_LESSON_BOOKINGS | int | 4 | √ | null |
|
|
The number of private lesson sessions that remain to be booked. |
||||
| WAITLISTED_DATE_TIME | datetime | 16,3 | √ | null |
|
|
The date and time when the customer was waitlisted for the activity |
||||
| WAITLISTED_DATE_ONLY | date | 20 | √ | null |
|
|
The date that the customer was waitlisted for the activity |
||||
| WAITLIST_REMOVED_DATE_TIME | datetime | 16,3 | √ | null |
|
|
The date and time when the customer was removed from the waitlist for the activity |
||||
| WAITLIST_REMOVED_DATE_ONLY | date | 20 | √ | null |
|
|
The date that the customer was removed from the waitlist for the activity |
||||
| REGISTRATION_TRANSACTION_ID | int | 4 | √ | null |
|
|
The original transaction ID of the enrollment |
||||
| HAS_MEMBER_FEE | varchar | 5 | √ | null |
|
|
Whether a member-only fee was charged for this activity enrollment (Yes/No) |
||||
| HAS_MEMBER_DISCOUNT | varchar | 5 | √ | null |
|
|
Whether a member-only discount was applied to this activity enrollment (Yes/No) |
||||
| ORIGINAL_RECEIPT_HEADER_ID | int | 4 | √ | null |
|
|
The receipt header ID of the original transaction |
||||
| REQUESTED_SEATS | int | 4 | √ | null |
|
|
The number of seats requested for registration |
||||
| WAITLIST_POSITION | int | 4 | √ | null |
|
|
The current waitlist position |
||||
| WAITLIST_RESERVED_DATE_TIME | datetime | 16,3 | √ | null |
|
|
The date and time that an available spot was reserved for this waitlist request |
||||
| ROW_VERSION | binary | 8 | √ | null |
|
|
System timestamp (for internal use) |
||||
| RECEIPT_HEADER_ID | int | 4 | √ | null |
|
|
The receipt header ID of the latest transaction for the enrollment |
||||
| TEAM_ID | int | 4 | √ | null |
|
|
The ID of the team that the enrollment is for |
||||
| IS_TEAM_PLACEHOLDER | varchar | 5 | √ | null |
|
|
Whether this is a team placeholder enrollment to reserve multiple seats for team members |
||||
| ORIGINAL_PLACEHOLDER_SEATS | int | 4 | √ | null |
|
|
The original number of seats that the team placeholder enrollment had reserved |
||||
| REFUND_STATUS | varchar | 20 | √ | null |
|
|
Indicates whether an enrolled enrollment has had a refund applied against it as its latest transaction without being withdrawn from the activity (None, Partially Refunded, Fully Refunded) |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| ACTIVITY_ENROLLMENTS_PK | Primary key | Asc | ACTIVE_HUB_KEY |
| ACTIVITY_ENROLLMENTS_Activity_ID_ix | Performance | Asc/Asc/Asc | ACTIVITY_ID + CUSTOMER_ID + RECEIPT_NUMBER |
| ACTIVITY_ENROLLMENTS_Customer_ID_ix | Performance | Asc | CUSTOMER_ID |
| ACTIVITY_ENROLLMENTS_ENROLLMENT_STATUS_REGISTERED_DATE_ONLY_IX | Performance | Asc/Asc | ENROLLMENT_STATUS + REGISTERED_DATE_ONLY |
| ACTIVITY_ENROLLMENTS_ORG_ID_IX | Performance | Asc | ORG_ID |
| ACTIVITY_ENROLLMENTS_ORIGINAL_RECEIPT_HEADER_ID_IX | Performance | Asc | ORIGINAL_RECEIPT_HEADER_ID |
| ACTIVITY_ENROLLMENTS_RECEIPT_HEADER_ID_IX | Performance | Asc | RECEIPT_HEADER_ID |
| ACTIVITY_ENROLLMENTS_REGISTRATION_TRANSACTION_ID_IX | Performance | Asc | REGISTRATION_TRANSACTION_ID |
| ACTIVITY_ENROLLMENTS_ROOT_TRANSACTION_ID_ACTIVITY_ID_ORG_ID_IX | Performance | Asc/Asc/Asc | ROOT_TRANSACTION_ID + ACTIVITY_ID + ORG_ID |
| ACTIVITY_ENROLLMENTS_ROW_VERSION_IX | Performance | Asc | ROW_VERSION |
| ACTIVITY_ENROLLMENTS_TEAM_ID_IX | Performance | Asc | TEAM_ID |
| ACTIVITY_ENROLLMENTS_TRANSACTION_ID_ix | Performance | Asc | TRANSACTION_ID |