Table

TMSRouteSchedule

Route schedules

Holds recurrence schedules for routes. A schedule has a name, a recurrence type (days, weeks or months), active weekdays and a start and end date. It is keyed by the reference table ID, reference record ID and name, and it points to a route plan and a load template.

Table name
TMSRouteSchedule
Module
Transportation management
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
ReferenceNameIdx
Replacement key
ReferenceNameIdx
Key fields
RefTableId, RefRecId, Name
Model
Foundation

Fields (33)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RefTableIdID of the table that the reference record belongs to, a route plan table.Integer
RefTableId
NoNone
RefRecIdRecord ID of the route plan that the schedule belongs to.Int64
RefRecId
NoNone
NameName of the schedule.String (60)
TMSName
NoNone
ActiveYes/No flag that turns on route recurrence.Enum
TMSActive
NoYes (enum)
NoNone
ActualEndUTCDateTimeActual end date and time, in UTC.UtcDateTime
TMSActualEndUTCDateTime
NoNone
ActualStartUTCDateTimeEffective start date and time, in UTC.UtcDateTime
TMSActualStartUTCDateTime
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DaysDay value used by the recurrence.Integer
Days
NoNone
DaysPerInterval value used when the recurrence is by days.Integer
TMSPer
NoNone
FridayYes/No flag for whether Friday is an active day.Enum
TMSActiveDay
NoYes (enum)
NoNone
LoadTemplateIdLoad template linked to the schedule.String (20)
WHSLoadTemplateId
NoWHSLoadTemplate.LoadTemplateIdNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
MondayYes/No flag for whether Monday is an active day.Enum
TMSActiveDay
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PerInterval value for the recurrence.Integer
TMSPer
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecurrenceDaysOption for how day-based recurrence is viewed, such as repeating after an interval or every weekday.Enum
TMSRecurrenceDays (enum)
NoNone
RecurrenceTypeWhether the recurrence runs in days, weeks or months.Enum
TMSRecurrenceType (enum)
NoNone
RecurrenceWeeksOption for how week-based recurrence is viewed, such as a specific weekday or a fixed day.Enum
TMSRecurrenceWeeks (enum)
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SaturdayYes/No flag for whether Saturday is an active day.Enum
TMSActiveDay
NoYes (enum)
NoNone
SundayYes/No flag for whether Sunday is an active day.Enum
TMSActiveDay
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ThursdayYes/No flag for whether Thursday is an active day.Enum
TMSActiveDay
NoYes (enum)
NoNone
TimezoneTime zone used by the schedule.Enum
TMSTimezone
Timezone (enum)
NoNone
TuesdayYes/No flag for whether Tuesday is an active day.Enum
TMSActiveDay
NoYes (enum)
NoNone
WednesdayYes/No flag for whether Wednesday is an active day.Enum
TMSActiveDay
NoYes (enum)
NoNone
WeekDaysDay of the week, from Monday to Sunday, or none.Enum
WeekDays (enum)
NoNone
WeeklyIntervalFixed number of weeks between repeats.Integer
TMSWeeklyInterval
NoNone
WeekOfMonthWeek of the month: first, second, third, fourth or last.Enum
WeekOfMonth (enum)
NoNone

Indexes (1)

Relations (2)

Each relation joins TMSRouteSchedule to another table on the fields shown.

  • TMSRouteConfig → TMSRouteConfig

    Join on RefRecId = TMSRouteConfig.RecId, RefTableId = TMSRouteConfig.TableId

    Many TMSRouteSchedule records → zero or one TMSRouteConfig record

  • WHSLoadTemplate → WHSLoadTemplate

    Join on LoadTemplateId = WHSLoadTemplate.LoadTemplateId

    Many TMSRouteSchedule records → zero or one WHSLoadTemplate record

Get this data out

No public entity reads from TMSRouteSchedule. Its data is only reachable through the application, a custom entity or a database export.

Need help with TMSRouteSchedule in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk