Table
TMSRoute
Route
Holds transportation routes, identified by a route code. A route can link to a route plan, a route guide, a schedule and a load template. It also stores appointment, shipment and delivery times, a status and the warehouse and site.
- Table name
TMSRoute- Module
Transportation management- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
RouteCodeIdx- Replacement key
RouteCodeIdx- Key fields
RouteCode- Model
Foundation
Fields (28)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RouteCodeUnique code that identifies the route. | String (20)TMSRouteCode | Yes | None | |
ApptUTCDateTimeAppointment date and time, in UTC. | UtcDateTimeTMSApptUTCDateTime | 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 | |
CurrencyCodeCurrency used on the route. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeliveryUTCDateTimeDelivery date and time, in UTC. | UtcDateTimeTMSDeliveryUTCDateTime | No | None | |
DescriptionFree-text description of the route. | String (60)TMSDescription | No | None | |
InventLocationIdWarehouse linked to the route. | StringInventLocationId | No | InventLocation.InventLocationId | None |
InventSiteIdSite linked to the route. | StringInventSiteId | No | InventSite.SiteId | None |
LoadTemplateIdLoad template linked to the route. | String (20)WHSLoadTemplateId | No | WHSLoadTemplate.LoadTemplateId | None |
ManualYes/No flag marking the route as manual. | EnumTMSManualNoYes (enum) | No | None | |
MilkrunRouteYes/No flag that appears to mark the route as a milk run; no label is given.low confidence | EnumNoYesIdNoYes (enum) | No | 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 | |
NameName of the route guide linked to the route. | String (60)TMSName | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RouteConfigCodeRoute plan that the route uses. | String (20)TMSRouteConfigCode | No | TMSRouteConfig.RouteConfigCode | None |
RouteGuideRecIdSystem record ID of the route guide used for the route. | Int64TMSRouteGuideRecId | No | TMSRouteGuide.RecId | None |
RoutePlanNameName of the route plan. | String (60)TMSName | No | None | |
RouteScheduleSystem record ID of the route schedule linked to the route. | Int64TMSRouteScheduleRecId | No | TMSRouteSchedule.RecId | None |
RouteStatusStatus of the route, either None or Confirmed. | EnumTMSRouteStatus (enum) | No | None | |
ShipUTCDateTimeShipment date and time, in UTC. | UtcDateTimeTMSShipUTCDateTime | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransportationOrderNumNumber of the transportation order linked to the route. | StringTMSTransportationOrderNum | No | None |
Indexes (2)
RouteCodeIdxPrimary indexReplacement keyUnique, alternate key.
CurrencyIdxNot unique.
Relations (7)
Each relation joins TMSRoute to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany TMSRoute records → exactly one Currency record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany TMSRoute records → zero or one InventLocation record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany TMSRoute records → zero or one InventSite record
TMSRouteConfig→TMSRouteConfigJoin on
RouteConfigCode = TMSRouteConfig.RouteConfigCodeMany TMSRoute records → exactly one TMSRouteConfig record
TMSRouteGuide→TMSRouteGuideJoin on
RouteGuideRecId = TMSRouteGuide.RecIdMany TMSRoute records → zero or one TMSRouteGuide record
TMSRouteSchedule→TMSRouteScheduleJoin on
RouteSchedule = TMSRouteSchedule.RecIdMany TMSRoute records → zero or one TMSRouteSchedule record
WHSLoadTemplate→WHSLoadTemplateJoin on
LoadTemplateId = WHSLoadTemplate.LoadTemplateIdMany TMSRoute records → zero or one WHSLoadTemplate record
Get this data out
No public entity reads from TMSRoute. Its data is only reachable through the application, a custom entity or a database export.
Need help with TMSRoute in a report, an integration or a migration? Talk to Dr Dynamics.