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 descriptionType / EDT / enumMandatoryReferencesIn public entities
RouteCodeUnique code that identifies the route.String (20)
TMSRouteCode
YesNone
ApptUTCDateTimeAppointment date and time, in UTC.UtcDateTime
TMSApptUTCDateTime
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
CurrencyCodeCurrency used on the route.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryUTCDateTimeDelivery date and time, in UTC.UtcDateTime
TMSDeliveryUTCDateTime
NoNone
DescriptionFree-text description of the route.String (60)
TMSDescription
NoNone
InventLocationIdWarehouse linked to the route.String
InventLocationId
NoInventLocation.InventLocationIdNone
InventSiteIdSite linked to the route.String
InventSiteId
NoInventSite.SiteIdNone
LoadTemplateIdLoad template linked to the route.String (20)
WHSLoadTemplateId
NoWHSLoadTemplate.LoadTemplateIdNone
ManualYes/No flag marking the route as manual.Enum
TMSManual
NoYes (enum)
NoNone
MilkrunRouteYes/No flag that appears to mark the route as a milk run; no label is given.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
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
NameName of the route guide linked to the route.String (60)
TMSName
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RouteConfigCodeRoute plan that the route uses.String (20)
TMSRouteConfigCode
NoTMSRouteConfig.RouteConfigCodeNone
RouteGuideRecIdSystem record ID of the route guide used for the route.Int64
TMSRouteGuideRecId
NoTMSRouteGuide.RecIdNone
RoutePlanNameName of the route plan.String (60)
TMSName
NoNone
RouteScheduleSystem record ID of the route schedule linked to the route.Int64
TMSRouteScheduleRecId
NoTMSRouteSchedule.RecIdNone
RouteStatusStatus of the route, either None or Confirmed.Enum
TMSRouteStatus (enum)
NoNone
ShipUTCDateTimeShipment date and time, in UTC.UtcDateTime
TMSShipUTCDateTime
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransportationOrderNumNumber of the transportation order linked to the route.String
TMSTransportationOrderNum
NoNone

Indexes (2)

  • RouteCodeIdxPrimary indexReplacement key

    RouteCode

    Unique, alternate key.

  • CurrencyIdx

    CurrencyCode

    Not unique.

Relations (7)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TMSRoute records → exactly one Currency record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many TMSRoute records → zero or one InventLocation record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many TMSRoute records → zero or one InventSite record

  • TMSRouteConfig → TMSRouteConfig

    Join on RouteConfigCode = TMSRouteConfig.RouteConfigCode

    Many TMSRoute records → exactly one TMSRouteConfig record

  • TMSRouteGuide → TMSRouteGuide

    Join on RouteGuideRecId = TMSRouteGuide.RecId

    Many TMSRoute records → zero or one TMSRouteGuide record

  • TMSRouteSchedule → TMSRouteSchedule

    Join on RouteSchedule = TMSRouteSchedule.RecId

    Many TMSRoute records → zero or one TMSRouteSchedule record

  • WHSLoadTemplate → WHSLoadTemplate

    Join on LoadTemplateId = WHSLoadTemplate.LoadTemplateId

    Many 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.

Email sales@drdynamics.co.uk