fieldservice_route
Manages daily field service routes by automatically grouping scheduled orders with their assigned technicians and route capacities.
Key Features
- fsm.stage: Adds a dedicated 'Route' stage type so route workflows can be tracked separately from other field service stages.
- fsm.route.day: Provides weekday reference records that specify the days on which each route can operate.
- fsm.route: Lets planners define named routes with an assigned technician, operating weekdays, and a maximum number of orders per day, plus a helper to check if a route runs on a specific date.
- fsm.location: Stores the preferred route for each service location so new orders inherit the right route automatically.
- fsm.route.dayroute: Generates daily route instances with automatic numbering, default team and stage, planned start time, geolocation fields, and validations that enforce weekday availability and capacity limits.
- fsm.order: Automatically syncs the assigned technician and route from the service location, creates or reuses the correct day route when scheduling, and cleans up empty day routes after the last order is removed.