Bi_FactPackageUserRedemptions_s3
Field | Field Type | Description | PrimaryKey | MappedDimensionTable DimensionTableField | |
ApprovalNumber | NVARCHAR(512) | Displays the Approval number associated to a payment. | |||
CenterId | VARCHAR(36) | A unique identifier for the center, generated in Centre dimension(Bi_DimCentre). | Bi_DimCenter_s3 CenterId | ||
ClassCategoryCode | NVARCHAR(200) | Tells you the class category code | |||
ClassCategoryName | NVARCHAR(1024) | Tells you the class category name | |||
classguid | VARCHAR(36) | A unique identifier for class level details.(Bi_DimTrainingClass) | Bi_DimTrainingClass_s3 Classid | ||
ClassParentCategoryCode | NVARCHAR(200) | Tells you the class parent category code | |||
ClassParentCategoryName | NVARCHAR(1024) | Tells you the class parent category name | |||
ClassTagname | NVARCHAR(1020) | Tells you the class tag name | |||
ClosedBy | VARCHAR(36) | A unique identifier of the employee who closed the invoice(bi_dimuser). | Bi_Dimuser_s3 userid | ||
ClosedDateInCenter | DATE | The date on which the invoice was closed. | |||
ClosedDateTimeInCenter | TIMESTAMP | The date and time at which the invoice was closed. | |||
CreatedBy | VARCHAR(36) | A unique identifier of the employee who created the invoice(bi_dimuser). | Bi_Dimuser_s3 userid | ||
CreatedDateInCenter | DATE | The date on which the invoice item was created. | |||
CreatedDateTimeInCenter | TIMESTAMP | The date and time at which the invoice item was created. | |||
CreditCardLastFourDigits | NVARCHAR(64) | Displays the last four digits of the credit card used for a payment. | |||
EtlCreatedBy | DECIMAL(19,0) | ETL system admin user who inserted or updated the corresponding record in this table. | |||
EtlCreatedDate | TIMESTAMP | Latest timestamp at which the corresponding record was either inserted or updated in this table. | |||
FactSegmentId | INT | A unique identifier for each record generated in the fact table. | Yes | ||
FinalSalePrice | FLOAT | Displays the final sale price of a package. The price is inclusive of discounts and taxes. | |||
Invoice_No | NVARCHAR(320) | Displays the invoice number associated to sale, refund, or redemption transaction. | |||
InvoiceId | VARCHAR(36) | Displays the invoice id associated to sale, refund, or redemption transaction. | |||
InvoiceItemId | VARCHAR(36) | Displays invoice item id associated to sale, refund, or redemption transaction. | |||
InvoiceStatus | INT | This indicates whether the invoice is open or closed. | |||
ItemDiscount | FLOAT | Displays the discount of item based on package level discount. Discount of package is prorated based on "package item price" field. This it done to get the contribution of item at package level. | |||
ItemFinalSalePrice | FLOAT | Displays final sale price of package items. Final sale price of package is prorated based on "package item price" field. This is done to get the contribution of an item at the package level. | |||
Itemid | VARCHAR(36) | A unique identifier for the Item(Bi_DimItems). | Bi_DimItems_S3 itemid | ||
ItemListPrice | FLOAT | For Custom Packages - Displays the final sale price of an item in the package. This can be a service or product. Does not include invoice level discount. For Series Packages - Displays the sale price of an item at the center level. This can be a service or product. Does not include invoice level discount. Note: In the case of category or tag, this field displays the average price of the corresponding category or tag. | |||
ItemPaymentAmount | FLOAT | Displays amount paid for package at item level based on Final Sale price of an item. | |||
ItemRedemptionCenterID | VARCHAR(36) | The Centre unique identifier where the item was redeemed.(Bi_DimCenter) | Bi_DimCenter_s3 CenterId | ||
ItemSaleById | VARCHAR(36) | This is the unique identifier of the employee who sold the item in the package to the guest. | Bi_Dimuser_s3 userid | ||
ItemSaleCenterID | VARCHAR(36) | A unique identifier of the centre where the item sale happened(Bi_DimCentre). | Bi_DimCenter_s3 CenterId | ||
ItemSalePrice | FLOAT | Displays sale price of package items. Sale price of package is prorated based on "package item price" field. This is done to get the contribution of an item at the package level. | |||
ItemType | INT | A unique identifier for the Item Type(Bi_DimItemType). | Bi_DimItemType_S3 itemtypeid | ||
MaximumRedemptionDate | DATE | Displays the last time when any item of this package was redeemed. | |||
MinimumRedemptionDate | DATE | Displays the first time when any item of the package was redeemed. | |||
OrganizationId | VARCHAR(36) | A unique identifier for the organition for which this data belongs | Bi_DimCenter_s3 OrganizationId | ||
PackageItemPrice | FLOAT | Displays the final sale price of an item in package (can be service or product). In case of Category or Tag association, the package item price is the average value of Item Final Sale Price of all the Products/Services under that Category or Tag. | |||
PackagePaymentAmount | FLOAT | Displays the total payment made for a package. | |||
PackageUserId | VARCHAR(36) | A unique identifier generated for package sold.(Bi_DimPackageUser) | Bi_DimPackageUser_s3 PackageUserId | ||
PackageVersionId | VARCHAR(36) | A unique identifier for package version(Bi_DimPackage). | Bi_DimPackage_s3 PackageVersionId | ||
PaymentCollectionCenterID | VARCHAR(36) | The Centre unique identifier where the payment was collected.(Bi_DimCenter) | Bi_DimCenter_s3 CenterId | ||
PaymentDateInCenter | DATE | Displays centre date on which payment is triggered for the purchase of a package. | |||
PaymentDateTimeInCenter | TIMESTAMP | Displays the centre date and time at which payment is triggered for the purchase of a package. | |||
PaymentModeNumber | VARCHAR(200) | Indicates the mode of payment. For gift card or prepaid card payments, this populates the 'giftcarduserid'. For membership payments, this populates 'usermembershipid'. For package payments, this populates 'packageuserid'. | Bi_DimAgent_s3 AgentId | ||
PaymentOptionType | VARCHAR(200) | Displays payment method used. Example: For a card used for payment, it will tell if card used is Master or VISA. | |||
PaymentType | NVARCHAR(MAX) | The mode of payment(Bi_DimStatus). | Bi_DimStatus_s3 StatusTypeCode | ||
PodName | VARCHAR(20) | Internal to the ETL, says from which POD data is being synced the table | |||
ProductCategoryCode | NVARCHAR(256) | The code corresponding to the product category. | |||
ProductCategoryName | NVARCHAR(2048) | Displays the category to which the product belongs. Example: Lipstick | |||
ProductId | VARCHAR(36) | A unique identifier for a product, generated in Product dimension(Bi_DimProduct). | Bi_DimProduct_s3 productid | ||
ProductParentCategoryCode | NVARCHAR(256) | The code corresponding to the parent product category. | |||
ProductParentCategoryName | NVARCHAR(2048) | Displays the parent category to which the product belongs. Example:Cosmetics | |||
ProductTagName | NVARCHAR(2040) | Displays the product tags for products that are part of the package. | |||
Quantity | INT | Displays the total quantity of items (Product/Service) provided with a package. | |||
QuantityRedeemed | INT | Displays the total quantity of items (Product/Service) redeemed from a package. | |||
RedeemedInvoiceItemId | VARCHAR(36) | Displays Invoice item id associated with redemption transaction. | |||
RedemptionAmount | FLOAT | Displays the total amount redeemed for a package item of total quantitiy redeemed. | |||
RedemptionDate | TIMESTAMP | Displays the date on which package item was redeemed. | |||
RefundInvoiceID | VARCHAR(36) | Displays Invoice id associated with refund transaction. | |||
RefundInvoiceItemID | VARCHAR(36) | Displays Invoice item id associated with refund transaction. | |||
RoomId | VARCHAR(36) | A unique idenitifer for the room information that is used as part the service, generated in resource dimension(Bi_DimResource) | Bi_DimResource_s3 ResourceId | ||
SaleById | VARCHAR(36) | A unique identifier of the employee who made the sale(bi_dimuser). | Bi_Dimuser_s3 userid | ||
SaleDateInCenter | DATE | For Service item type, this is the date and time at which the service was performed. For other item types, this is the date and time at which the item was added to the invoice. | |||
SaleDateTimeInCenter | TIMESTAMP | For Service item type, this is the date and time at which the service was performed. For other item types, this is the date and time at which the item was added to the invoice. | |||
SalePrice | FLOAT | Displays the sale price of a package. | |||
ServiceCategoryCode | NVARCHAR(256) | The code corresponding to the service category. | |||
ServiceCategoryName | NVARCHAR(2048) | Displays the category to which the service belongs. Example: Modified Brazilian | |||
ServiceId | VARCHAR(36) | A unique identifier for a Service, generated in Service dimension(Bi_DimService). | Bi_DimService_s3 ServiceID | ||
ServiceParentCategoryCode | NVARCHAR(256) | The code corresponding to the parent service category. | |||
ServiceParentCategoryName | NVARCHAR(2048) | Displays the parent category to which the service belongs. | |||
ServiceTagname | NVARCHAR(2040) | Displays the associated service tags. | |||
TherapistId | VARCHAR(36) | Unique identifier for each employee who is scheduled to service the guest. This is generated in analytics and it does not exist in core.(Bi_DimUser) | Bi_Dimuser_s3 userid | ||
TotalRefundValue | FLOAT | The total amount refunded through the refund transaction in invoice. | |||
TransactionId | VARCHAR(36) | Displays unique GUID for a transaction. | |||
unitItemDiscount | NVARCHAR(256) | Displays discount of item (Service/ Product). Note: This field is populated only for Custom packages. | |||
UnitItemType | INT | Displays if it is a Product, Product Category, or Product Tag. Or, whether it is a Service, Service Category, or a Service Tag. This will help you to understand the product/service dimension attributes of a package. | |||
UserId | VARCHAR(36) | A unique identifier for the guest, generated in User dimension(Bi_DimUser). | Bi_Dimuser_s3 userid | ||
Void | BOOLEAN | Indicates if the row should be inserted or deleted. 1- delete, 0-insert | |||
groupid | Internal to Zenoti. Used for data processing. | BIGINT | |||
benefitrefundqty | INTEGER | Indicates the quantity (#) of package refunded. |