Table of Contents

Time Slot Setup Documentation

1. Time Slot Setup Initialization

Creates a new time slot setup record if one doesn't exist

2. Base Calendar Configuration

  • Initializes the base calendar system
  • Sets default base calendar code to 'BASE' if not specified

3. Planning Refresh Settings

Sets default auto-refresh interval to 300 seconds (5 minutes) if not configured

4. Booking Number Series Setup

  • Creates a new number series for time slot bookings if not configured
  • Uses prefix 'TS' and starting number '0000001'

5. Default Planning Method Creation

Creates a default planning method with these specifications:

  • Operating hours: 7:00 AM to 7:00 PM (070000T to 190000T)
  • Capacity per time slot: 100 units
  • Reservation method: One Booking per slot
  • Planning resolution: 60 minutes

6. Location Configuration

Applies the default planning method to all dock locations that don't have a planning method assigned

7. Time Slot Entry Calculation

  • Calculates time slot entries for the next month
  • Runs automatically without user interaction (UseRequestPage(false))

Business Impact

This function is crucial for:

  • Dock scheduling and appointment management
  • Capacity planning for warehouse operations
  • Automated booking system setup
  • Standardizing time slot configurations across the warehouse

The function ensures that the time slot system is properly initialized with sensible defaults, making it ready for use in managing warehouse appointments and dock scheduling.