LogoSupport Hub

WorkSync Schedule Report Variations

This folder contains documentation for each variation of the WorkSync schedule report scripts. The WorkSync family provides zone-based schedule layouts for operational management with different focuses and configurations.

Available Reports

Core WorkSync Reports

ReportDescriptionKey Features
Base WorkSyncFoundation template with all three shiftsBasic zone organization, Three-shift layout
WorkSync V3Enhanced version with dynamic zone processingDynamic zone counting, Enhanced data organization
Riverview WorkSyncCustomized for Riverview location with WG4 zonesLocation-specific, WG4 zones, Position filtering

Shift-Specific Reports

ReportDescriptionKey Features
Day Shifts OnlyMorning operations focus (06:00-13:59)Day shift focus, Morning operations
Evening Shifts OnlyAfternoon operations focus (14:00-18:59)Evening shift focus, Afternoon operations
Night Shifts OnlyOvernight operations focus (19:00-05:59)Night shift focus, Midnight-spanning logic

Comprehensive Reports

ReportDescriptionKey Features
WorkSync Comprehensive All ShiftsMost detailed report with separate table processingMaximum detail, Separate table processing
WorkSync Alternative VersionAlternative implementation with unified outputUnified output, Shift type identification

Processing Modules

ReportDescriptionKey Features
WorkSync Zones ConfigurationZone configuration and testing utilityZone setup, Testing utility
WorkSync Day Shifts ProcessingDay shift processing module with position filteringDay shift module, Position filtering
WorkSync Evening Shifts ProcessingEvening shift processing moduleEvening shift module, Reusable component
WorkSync Night Shifts ProcessingNight shift processing module with midnight logicNight shift module, Midnight logic

Key Features by Version

Base WorkSync

  • Simple three-shift layout
  • Basic zone organization
  • Foundation for all variations

WorkSync V3

  • Dynamic zone counting and processing
  • Enhanced data organization
  • Temporary table storage for complex layouts
  • Configurable zone filtering

Shift-Specific Versions

  • Day Only: Simplified morning operations view
  • Evening Only: Afternoon/evening focus with transition planning
  • Night Only: Overnight operations with midnight-spanning logic

Comprehensive Versions

  • All Shifts Comprehensive: Separate table processing for maximum detail
  • Alternative Version: Unified output with shift type identification

Zones Versions

  • Zones Configuration: Utility for zone setup and testing
  • Shift Processing Modules: Reusable components for individual shift types

Location-Specific Versions

  • Riverview: Work Group 4 zones, specific position filtering, day shifts only

Common Parameters

  • @MIN / @MAX - Date range for the report
  • Zone filtering through table variables (@WESTBloom, @LZones)
  • Work group filtering (WG1, WG3, WG4, WG5)
  • Position filtering for location-specific needs (@POSITIONS)

Usage Guidelines

  1. Choose the Right Version: Select based on operational needs (all shifts vs. specific shifts)
  2. Configure Zones: Modify zone filtering tables for your facility layout
  3. Set Date Ranges: Use appropriate date parameters for your reporting period
  4. Review Output: Understand the specific format and organization of each variation
  5. Consider Performance: Comprehensive versions require more resources

Technical Architecture

All WorkSync reports share common technical patterns:

  • Common Table Expressions (CTEs) for data organization
  • Zone-based filtering and organization
  • Time range filtering for shift categorization
  • UNION operations to combine scheduled and open shifts
  • ROW_NUMBER() or DENSE_RANK() functions for proper data alignment

Report Selection Guide

For Quick Operations

For Detailed Analysis

For Development/Testing

For Location-Specific Needs

Tip: Start with the base version to understand the core functionality, then move to V3 for enhanced features, and finally to shift-specific versions for focused operational needs.