Table

TMSRouteTable

Route

Holds a route record, with the carrier, service, mode, total rates and ship and delivery dates. The key is route ID, reference record, reference table and creator. It can link to a purchase order, sales order, load or container through the reference fields. It also holds carbon emission data.

Table name
TMSRouteTable
Module
Transportation management
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
RecId
Replacement key
RefRecIdRefTableIdCreatedByRouteIdx
Key fields
RouteId, RefRecId, RefTableId, CreatedBy
Model
Foundation

Fields (31)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RouteIdID of the route. Part of the key.String (41)
TMSRouteId
YesNone
RefRecIdSystem record ID of the record the route refers to. Part of the key.Int64
RefRecId
YesNone
RefTableIdID of the table the reference points to. Part of the key.Integer
RefTableId
YesNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
ActionConstraint action: warn or restrict.Enum
TMSAction (enum)
NoNone
CarbonEmissionCarbon emission value in CO2e.Real
TMSCarbonEmission
NoNone
CarbonEmissionUnitUnit used for the CO2e value.String
TMSCarbonEmissionUnit
NoNone
CarrierCodeShipping carrier for the route.String (20)
TMSCarrierCode
NoTMSCarrier.CarrierCodeNone
CarrierServiceCodeCarrier service for the route.String (20)
TMSCarrierServiceCode
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeCurrency code for the route.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
CustomerRateRate value for the customer.Real
TMSCustomerRate
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryUTCDateTimeDelivery date and time (UTC).UtcDateTime
TMSDeliveryUTCDateTime
NoNone
HasErrorsShows whether the route has errors (yes or no).Enum
TMSHasErrors
NoYes (enum)
NoNone
IdID of the route record.String (20)
TMSId
NoNone
IsScheduledRouteShows whether the route was generated automatically (yes or no).Enum
TMSScheduledRoute
NoYes (enum)
NoNone
ModeCodeTransport mode for the route.String (20)
TMSModeCode
NoTMSMode.ModeCodeNone
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
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 the route is based on.String (20)
TMSRouteConfigCode
NoTMSRouteConfig.RouteConfigCodeNone
RouteGuideNameName of the route guide.String (60)
TMSName
NoNone
RoutePlanNameName of the route plan.String (60)
TMSName
NoNone
ShipperRateRate value for the shipper.Real
TMSShipperRate
NoNone
ShipUTCDateTimeShipment date and time (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
TotalRateTotal rate value; the currency is not stated in the metadata.Real
TMSRate
NoNone

Indexes (3)

Relations (10)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TMSRouteTable records → exactly one Currency record

  • PurchTable → PurchTable

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

    Many TMSRouteTable records → zero or one PurchTable record

  • SalesTable → SalesTable

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

    Many TMSRouteTable records → zero or one SalesTable record

  • TMSCarrier → TMSCarrier

    Join on CarrierCode = TMSCarrier.CarrierCode

    Many TMSRouteTable records → exactly one TMSCarrier record

  • TMSCarrierService → TMSCarrierService

    Join on CarrierServiceCode = TMSCarrierService.CarrierServiceCode

    Many TMSRouteTable records → exactly one TMSCarrierService record

  • TMSMode → TMSMode

    Join on ModeCode = TMSMode.ModeCode

    Many TMSRouteTable records → exactly one TMSMode record

  • TMSRateRouteAddress → TMSRateRouteAddress

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

    Many TMSRouteTable records → zero or one TMSRateRouteAddress record

  • TMSRouteConfig → TMSRouteConfig

    Join on RouteConfigCode = TMSRouteConfig.RouteConfigCode

    Many TMSRouteTable records → exactly one TMSRouteConfig record

  • WHSContainerTable → WHSContainerTable

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

    Many TMSRouteTable records → zero or one WHSContainerTable record

  • WHSLoadTable → WHSLoadTable

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

    Many TMSRouteTable records → zero or one WHSLoadTable record

Get this data out

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

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

Email sales@drdynamics.co.uk