Table

TMSRouteSegmentTable

Route segment

Holds route segments for a route record, with origin and destination addresses, carrier, mode, dates, rates and payment responsibility. No key is defined in the metadata. It links to the route, the segment configuration, hubs, vendors and loads. It also holds carbon emission data.

Table name
TMSRouteSegmentTable
Module
Transportation management
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (65)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
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 segment.String (20)
TMSCarrierCode
NoTMSCarrier.CarrierCodeNone
CarrierGroupCodeCarrier group for the segment.String (20)
TMSCarrierGroupCode
NoTMSCarrierGroup.CarrierGroupCodeNone
CarrierServiceCodeCarrier service for the segment.String (20)
TMSCarrierServiceCode
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 code for the segment.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
DestinationAddressStreet address of the destination.String (250)
TMSAddress
NoNone
DestinationCityCity of the destination.String (60)
TMSCity
NoNone
DestinationCountryRegionCountry or region of the destination.String
TMSCountryRegion
NoLogisticsAddressCountryRegion.CountryRegionIdNone
DestinationCountryRegionISOCodeTwo-letter ISO code of the destination country or region.String (2)
TMSCountryRegionISOCode
NoNone
DestinationCountyCounty of the destination.String (30)
LogisticsAddressCountyId
NoNone
DestinationHubCodeHub where the segment ends.String (20)
TMSHubMasterCode
NoTMSHubMaster.HubMasterCodeNone
DestinationNameDrop-off charges value for the destination, as labelled.low confidenceString (60)
TMSName
NoNone
DestinationPostalCodeZIP or postal code of the destination.String
TMSPostalCode
NoNone
DestinationResidentialShows whether the destination is residential (yes or no).Enum
TMSResidential
NoYes (enum)
NoNone
DestinationResponsibleForPaymentWho pays at the destination: company, customer or third party.Enum
TMSResponsibleForPayment (enum)
NoNone
DestinationStateState of the destination.String
TMSState
NoNone
DestinationVendorCodeVendor account used at the destination.String (20)
TMSVendorCode
NoVendTable.AccountNumNone
DestinationVendorInvoiceCodeVendor account used for invoicing at the destination.String (20)
TMSVendorInvoiceCode
NoVendTable.AccountNumNone
FreightTermCodeDelivery terms code.String
TMSFreightTermCode
NoDlvTerm.CodeNone
HasErrorsShows whether the segment has errors (yes or no).Enum
TMSHasErrors
NoYes (enum)
NoNone
IdID of the segment record.String (20)
TMSId
NoNone
MilesDistance in miles.Real
TMSMiles
NoNone
ModeCodeTransport mode for the segment.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
OriginAddressStreet address of the origin.String (250)
TMSAddress
NoNone
OriginalDestinationPostalAddressOriginal destination postal address, as a system record ID.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
OriginalOriginPostalAddressOriginal origin postal address, as a system record ID.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
OriginCityCity of the origin.String (60)
TMSCity
NoNone
OriginCountryRegionCountry or region of the origin.String
TMSCountryRegion
NoLogisticsAddressCountryRegion.CountryRegionIdNone
OriginCountryRegionISOCodeTwo-letter ISO code of the origin country or region.String (2)
TMSCountryRegionISOCode
NoNone
OriginCountyCounty of the origin.String (30)
LogisticsAddressCountyId
NoNone
OriginHubCodeHub where the segment starts.String (20)
TMSHubMasterCode
NoTMSHubMaster.HubMasterCodeNone
OriginNamePickup charges value for the origin, as labelled.low confidenceString (60)
TMSName
NoNone
OriginPostalCodeZIP or postal code of the origin.String
TMSPostalCode
NoNone
OriginResidentialShows whether the origin is residential (yes or no).Enum
TMSResidential
NoYes (enum)
NoNone
OriginResponsibleForPaymentWho pays at the origin: company, customer or third party.Enum
TMSResponsibleForPayment (enum)
NoNone
OriginStateState of the origin.String
TMSState
NoNone
OriginVendorCodeVendor account used at the origin.String (20)
TMSVendorCode
NoVendTable.AccountNumNone
OriginVendorInvoiceCodeVendor account used for invoicing at the origin.String (20)
TMSVendorInvoiceCode
NoVendTable.AccountNumNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RateRate value for the segment; the currency is not stated in the metadata.Real
TMSRate
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
RefRecIdSystem record ID of the related record, such as a load.Int64
RefRecId
NoNone
RefTableIdID of the table that the reference record belongs to.Integer
RefTableId
NoNone
ResponsibleForPaymentWho pays for the segment: company, customer or third party.Enum
TMSResponsibleForPayment (enum)
NoNone
RouteIdID of the route.String (41)
TMSRouteId
NoNone
RouteRecIdSystem record ID of the related route.Int64
TMSRouteRecId
NoTMSRouteTable.RecIdNone
SequencePosition of the segment within the route.Integer
TMSSequence
NoNone
ShipperRateRate value for the shipper.Real
TMSShipperRate
NoNone
ShipUTCDateTimeShipment date and time (UTC).UtcDateTime
TMSShipUTCDateTime
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TMSRouteSegmentConfigLink to the route segment configuration record, by system record ID.Int64
TMSRouteSegmentConfigRecId
NoTMSRouteSegmentConfig.RecIdNone
TotalRateTotal rate value; the currency is not stated in the metadata.Real
TMSRate
NoNone
TransitTimeTransit time in days.Real
TMSTransitTime
NoNone
VendorCodeVendor account for the segment.String (20)
TMSVendorCode
NoVendTable.AccountNumNone
VendorInvoiceCodeVendor account used for invoicing.String (20)
TMSVendorInvoiceCode
NoVendTable.AccountNumNone

Indexes (2)

Relations (21)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TMSRouteSegmentTable records → exactly one Currency record

  • DlvTerm → DlvTerm

    Join on FreightTermCode = DlvTerm.Code

    Many TMSRouteSegmentTable records → zero or one DlvTerm record

  • LogisticsAddressCountryRegionDest → LogisticsAddressCountryRegion

    Join on DestinationCountryRegion = LogisticsAddressCountryRegion.CountryRegionId

    Many TMSRouteSegmentTable records → zero or one LogisticsAddressCountryRegion record

  • LogisticsAddressCountryRegionOrigin → LogisticsAddressCountryRegion

    Join on OriginCountryRegion = LogisticsAddressCountryRegion.CountryRegionId

    Many TMSRouteSegmentTable records → zero or one LogisticsAddressCountryRegion record

  • OrigLogisticsPostalAddressDestination → LogisticsPostalAddress

    Join on OriginalDestinationPostalAddress = LogisticsPostalAddress.RecId

    Many TMSRouteSegmentTable records → zero or one LogisticsPostalAddress record

  • OrigLogisticsPostalAddressOrigin → LogisticsPostalAddress

    Join on OriginalOriginPostalAddress = LogisticsPostalAddress.RecId

    Many TMSRouteSegmentTable records → zero or one LogisticsPostalAddress record

  • TMSCarrier → TMSCarrier

    Join on CarrierCode = TMSCarrier.CarrierCode

    Many TMSRouteSegmentTable records → exactly one TMSCarrier record

  • TMSCarrierGroup → TMSCarrierGroup

    Join on CarrierGroupCode = TMSCarrierGroup.CarrierGroupCode

    Many TMSRouteSegmentTable records → exactly one TMSCarrierGroup record

  • TMSCarrierService → TMSCarrierService

    Join on CarrierServiceCode = TMSCarrierService.CarrierServiceCode

    Many TMSRouteSegmentTable records → zero or one TMSCarrierService record

  • TMSHubMasterDest → TMSHubMaster

    Join on DestinationHubCode = TMSHubMaster.HubMasterCode

    Many TMSRouteSegmentTable records → exactly one TMSHubMaster record

  • TMSHubMasterOrigin → TMSHubMaster

    Join on OriginHubCode = TMSHubMaster.HubMasterCode

    Many TMSRouteSegmentTable records → exactly one TMSHubMaster record

  • TMSMode → TMSMode

    Join on ModeCode = TMSMode.ModeCode

    Many TMSRouteSegmentTable records → exactly one TMSMode record

  • TMSRouteTable → TMSRouteTable

    Join on RouteRecId = TMSRouteTable.RecId

    Many TMSRouteSegmentTable records → zero or one TMSRouteTable record

  • VendTable → VendTable

    Join on VendorCode = VendTable.AccountNum

    Many TMSRouteSegmentTable records → zero or one VendTable record

  • VendTableDestInvoice → VendTable

    Join on DestinationVendorInvoiceCode = VendTable.AccountNum

    Many TMSRouteSegmentTable records → zero or one VendTable record

  • VendTableDestVendor → VendTable

    Join on DestinationVendorCode = VendTable.AccountNum

    Many TMSRouteSegmentTable records → zero or one VendTable record

  • VendTableInvoice → VendTable

    Join on VendorInvoiceCode = VendTable.AccountNum

    Many TMSRouteSegmentTable records → zero or one VendTable record

  • VendTableOriginInvoice → VendTable

    Join on OriginVendorInvoiceCode = VendTable.AccountNum

    Many TMSRouteSegmentTable records → zero or one VendTable record

  • VendTableOriginVendor → VendTable

    Join on OriginVendorCode = VendTable.AccountNum

    Many TMSRouteSegmentTable records → zero or one VendTable record

  • WHSLoadTable → WHSLoadTable

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

    Exactly one TMSRouteSegmentTable record → zero or one WHSLoadTable record

  • TMSRouteSegmentConfig → TMSRouteSegmentConfig

    Join on TMSRouteSegmentConfig = TMSRouteSegmentConfig.RecId

    Many TMSRouteSegmentTable records → zero or one TMSRouteSegmentConfig record

Get this data out

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

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

Email sales@drdynamics.co.uk