Skip to content

dbo.optimoRouteDriverDay ​

Info Generated by scripts/Generate-DataDictionary.ps1 - do not edit by hand. Edit descriptions in schemas/tables/dbo.optimoRouteDriverDay.json and regenerate.

Columns ​

#ColumnTypeNullableFlagsDescription
1IDintnoidentitySurrogate primary key of the driver-day record.
2PlanDatedatetimenoDate of the route plan this driver-day summary covers.
3EstimatorIDuniqueidentifieryesPrime Ecosystem user ID of the estimator/driver assigned to this route day.
4DistanceKmsdecimal(12,4)yesTotal driving distance in kilometres for the route as planned by OptimoRoute.
5DurationMinsintyesTotal driving duration in minutes for the route as planned by OptimoRoute.
6StopsintyesNumber of stops (job appointments) scheduled on this route day.
7WorkFromTimetime(7)yesStart of the driver's working window for the day.
8WorkToTimetime(7)yesEnd of the driver's working window for the day.

Indexes ​

NameTypeUniquePKKey columnsIncludedFilter
PK_optimoRouteDriverDayCLUSTEREDyesyesID

Relationships (inferred) ​

FromToConfidence
dbo.optimoRouteDriverDay.EstimatorIDdbo.primeUsers.idhigh
dbo.optimoRouteDriverDay.EstimatorIDdbo.ethBookingEstimatorSkill.primeEstimatorIDhigh
dbo.optimoRouteDriverDay.PlanDatedbo.ethBookingDaySlot.Datehigh

Referenced by ​

Procedures: dbo.spEthBookingGetAvailability, dbo.spEthBookingGetAvailabilityByEstimator, dbo.spEthBookingGetAvailabilityDetails, dbo.spEthBookingGetAvailabilityGeo, dbo.spOptimoRouteDriverDayClear, dbo.spOptimoRouteDriverDayGetWorkTime, dbo.spOptimoRouteDriverDayUpsert, dbo.spOptimoRouteDriverDayUpsertDurationMins, dbo.spOptimoRouteDriverDayUpsertWorkTime, dbo.spOptimoRouteGetAllowSpecificTimeBookings