Employee tips and SSG details fact table
Bi_FactEmployeeTipsAndSSGDetails_s3
Field | Field Type | Description | PrimaryKey | MappedDimensionTable DimensionTableField | |
CenterId | VARCHAR(36) | A unique identifier for the center, generated in Centre dimension(Bi_DimCentre). | Bi_DimCenter_s3 centerID | ||
EmployeeId | VARCHAR(36) | A unique identifier for an employee(Bi_Dimuser). | Bi_DimUser_S3 userid | ||
EmployeeSSGPercent | FLOAT | The percentage of SSG that the employee is eligible for. This is a setting in the core system. This has to be applied on the 'SSG' field to get the final SSG that the employee receives. | |||
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(integer value) for each record generated in the fact table. | Yes | ||
InvoiceId | VARCHAR(36) | The unique identifier for the invoice within the organization. | |||
InvoiceItemId | VARCHAR(36) | The unique identifier for each line item within the invoice. | |||
IsSplitTip | INT | A flag that indicates whether the tip was generated using the split tips feature in Zenoti. - True: Tip was generated using the Split Tips feature. - False: Tip was not generated using the Split Tips feature. | |||
ItemId | VARCHAR(36) | A unique identifier for the Item(Bi_DimItems). | Bi_DimItems_S3 itemid | ||
LastUpdated | TIMESTAMP | The date of payment of the tip or SSG. If the tip or SSG get adjusted after the date of payment, this field contains the date of the adjustment. | |||
OrganizationId | VARCHAR(36) | A unique identifier for the organition for which this data belongs | Bi_DimCenter_s3 OrganizationId | ||
PaymentCenterId | VARCHAR(36) | A unique identifier of the centre where the payment was made.(Bi_DimCenter) | Bi_DimCenter_s3 centerID | ||
PodName | VARCHAR(20) | Internal to the ETL, says from which POD data is being synced the table | |||
SSG | FLOAT | The SSG amount for the corresponding employee and invoice item. The 'employee SSG percent' field has to be applied on this to get the final SSG that the employee receives. | |||
Tip | FLOAT | The tip amount for the corresponding employee and invoice item. | |||
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. |