Employee invoice item revenue fact table
Bi_FactEmployeeInvoiceItemRevenue
Field | Field Type | Description | PrimaryKey | MappedDimensionTable DimensionTableField | |
---|---|---|---|---|---|
actualsaleprice | float8 | actual sale price of the item | |||
appointmentegmentid | VARCHAR(36) | unique id for an appointment segment within appointment | |||
appointmentid | VARCHAR(36) | appointment id for the service received. This is populated for appointments | |||
campaignfsr | DECIMAL(19,4) | discount received on using campaigns | |||
cancelornoshowstatus | INT | Indicates status of appointment. 0- Fulfilled Appointment -1 - Cancelled Appointment -2 - Noshow | |||
CashbackRedemption | DECIMAL(19,4) | amount redeemed from cashbacks on which commissions are applicable. If cashbacks are redeemed but commissions are not applicable, then this value is 0 | |||
CashRevenue | DECIMAL(19,4) | amount collected as cash/creditcard on which commission is applicable | |||
centerwid | NVARCHAR(MaX) | Unique identifier for a center. It is unique across organization | Bi_DimCenter centerwid | ||
Commission | DECIMAL(19,4) | Percentage of commission employee should receive out of total commission set as part of product settings. If an employee is supposed to get 10% commission, and value in this table is 100%, then employee earns their 10% commission. If this value is set at 80%, then employee earns 8% commission | |||
DaypackagePrice | DECIMAL(19,4) | price of day package sold | |||
empinvoiceitemwid | NVARCHAR(MaX) | Row number in table. Exists only in analytics | |||
Employeewid | NVARCHAR(MaX) | Unique identifier for employee. Unique across organization | Bi_DimUser userwid | ||
etlcreateddate | TIMESTAMP | Latest timestamp at which the corresponding record was either inserted or updated in this table. | |||
FactEmployeeInvoiceItemRevenueID | DECIMAL(19,4) | Unique identifier for the row in table. Primary Key | Yes | ||
GcFSR | DECIMAL(19,4) | discount received on using giftcards | |||
GCPayment | DECIMAL(19,4) | amount paid through giftcards. All prepaid cards are giftcards. But giftcards are not prepaid cards | |||
GCRedemption | DECIMAL(19,4) | amount redeemed from giftcard redemptions on which commissions are applicable. If giftcard is redeemed but commissions are not applicable, then this value is 0 | |||
InvoiceClosedDate | TIMESTAMP | date on which invoice is closed in UTC time | |||
InvoiceClosedDateInCenter | TIMESTAMP | date on which invoice is closed in center timezone | |||
InvoiceId | NVARCHAR(MaX) | Unique identifier for Invoice number. Unique across organization | |||
InvoiceitemId | NVARCHAR(MaX) | Unique identifier for each invoice item within the invoice | |||
itemtypewid | NVARCHAR(MaX) | system generated unique identifier for item. This exists only in Analytics | Bi_DimItemType itemtypewid | ||
Itemwid | NVARCHAR(MaX) | Unique identifier for Item sold. Item can product/service/package/etc. | Bi_DimItems itemwid | ||
LastupdatedInCore | TIMESTAMP | Date on which invoice is updated in core product | |||
LeftGCRedemption | DECIMAL(19,4) | amount left to redeem using giftcard | |||
LeftLPRedemption | DECIMAL(19,4) | amount left to redeem using giftcards | |||
LeftMembershipRedemption | DECIMAL(19,4) | amount left to redeem using membership | |||
LPFSR | DECIMAL(19,4) | discount received on using loyalty points | |||
LPRedemption | DECIMAL(19,4) | amount redeemed from loyalty points on which commissions are applicable. If loyalty points are redeemed but commissions are not applicable, then this value is 0 | |||
ManualDiscountFSR | DECIMAL(19,4) | manual discount provided for the guest | |||
MembershipCreditFSR | DECIMAL(19,4) | service credit value | |||
MembershipCreditFSRBasedonMembershipPrice | DECIMAL(19,4) | service credit value based on membership price | |||
MembershipFSR | DECIMAL(19,4) | discount received on using membership | |||
MembershipRedemption | DECIMAL(19,4) | amount redeemed from memberships on which commissions are applicable. If membership is redeemed but commissions are not applicable, then this value is 0 | |||
organizationid | VARCHAR(36) | A unique identifier for the organition for which this data belongs | Bi_DimCenter OrganizationID | ||
OrgPaymentorRevenue | BOOLEAN | Indicates if commission is on revenue realised or payment in case of giftcard redemptions. 1- commission on payment, 0 - commission on revenue realised | |||
PackageItemPrice | DECIMAL(19,4) | price of day package sold | |||
packageRedemption | DECIMAL(19,4) | amount redeemed from packages on which commissions are applicable. If packages are redeemed but commissions are not applicable, then this value is 0 | |||
PackageServiceId | NVARCHAR(MaX) | Unique identifier for the services. This is only filled if service is offered as part of day package | |||
PodName | VARCHAR(20) | Internal to the ETL, says from which POD data is being synced the table | |||
PrepaidCardFSR | DECIMAL(19,4) | amount paid using prepaid card. All prepaid cards are considered as gifts cards also. But giftcards are not prepaid cards | |||
ProcessedOn | TIMESTAMP | date on which invoice is processed | |||
Quantity | INT | no of units sold | |||
RefundedPrepaidCardFSR | DECIMAL(19,4) | amount redeemed using refundprepaidcard. | |||
TherapistRequestType_statuswid | INT | indicates if guest requested for a therapist of specifc gender. 57 - Any 58 - Male 59 - Female 60- Specific | |||
Void | BOOLEAN | Indicates if the row should be inserted or deleted. 1- delete, 0-insert | |||
groupid | Internal to Zenoti. Used for data processing. | BIGINT | |||
InvoiceNo | VARCHAR(160) | Invoice number that helps in identifying and tracking the invoice. |