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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RefTableIdID of the table that the reference record belongs to, a route plan table. | IntegerRefTableId | No | None | |
RefRecIdRecord ID of the route plan that the schedule belongs to. | Int64RefRecId | No | None | |
NameName of the schedule. | String (60)TMSName | No | None | |
ActiveYes/No flag that turns on route recurrence. | EnumTMSActiveNoYes (enum) | No | None | |
ActualEndUTCDateTimeActual end date and time, in UTC. | UtcDateTimeTMSActualEndUTCDateTime | No | None | |
ActualStartUTCDateTimeEffective start date and time, in UTC. | UtcDateTimeTMSActualStartUTCDateTime | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DaysDay value used by the recurrence. | IntegerDays | No | None | |
DaysPerInterval value used when the recurrence is by days. | IntegerTMSPer | No | None | |
FridayYes/No flag for whether Friday is an active day. | EnumTMSActiveDayNoYes (enum) | No | None | |
LoadTemplateIdLoad template linked to the schedule. | String (20)WHSLoadTemplateId | No | WHSLoadTemplate.LoadTemplateId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
MondayYes/No flag for whether Monday is an active day. | EnumTMSActiveDayNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PerInterval value for the recurrence. | IntegerTMSPer | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecurrenceDaysOption for how day-based recurrence is viewed, such as repeating after an interval or every weekday. | EnumTMSRecurrenceDays (enum) | No | None | |
RecurrenceTypeWhether the recurrence runs in days, weeks or months. | EnumTMSRecurrenceType (enum) | No | None | |
RecurrenceWeeksOption for how week-based recurrence is viewed, such as a specific weekday or a fixed day. | EnumTMSRecurrenceWeeks (enum) | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SaturdayYes/No flag for whether Saturday is an active day. | EnumTMSActiveDayNoYes (enum) | No | None | |
SundayYes/No flag for whether Sunday is an active day. | EnumTMSActiveDayNoYes (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ThursdayYes/No flag for whether Thursday is an active day. | EnumTMSActiveDayNoYes (enum) | No | None | |
TimezoneTime zone used by the schedule. | EnumTMSTimezoneTimezone (enum) | No | None | |
TuesdayYes/No flag for whether Tuesday is an active day. | EnumTMSActiveDayNoYes (enum) | No | None | |
WednesdayYes/No flag for whether Wednesday is an active day. | EnumTMSActiveDayNoYes (enum) | No | None | |
WeekDaysDay of the week, from Monday to Sunday, or none. | EnumWeekDays (enum) | No | None | |
WeeklyIntervalFixed number of weeks between repeats. | IntegerTMSWeeklyInterval | No | None | |
WeekOfMonthWeek of the month: first, second, third, fourth or last. | EnumWeekOfMonth (enum) | No | None |
Indexes (1)
ReferenceNameIdxPrimary indexReplacement keyUnique, alternate key.
Relations (2)
Each relation joins TMSRouteSchedule to another table on the fields shown.
TMSRouteConfig→TMSRouteConfigJoin on
RefRecId = TMSRouteConfig.RecId,RefTableId = TMSRouteConfig.TableIdMany TMSRouteSchedule records → zero or one TMSRouteConfig record
WHSLoadTemplate→WHSLoadTemplateJoin on
LoadTemplateId = WHSLoadTemplate.LoadTemplateIdMany 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.