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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ActionConstraint action: warn or restrict. | EnumTMSAction (enum) | No | None | |
CarbonEmissionCarbon emission value in CO2e. | RealTMSCarbonEmission | No | None | |
CarbonEmissionUnitUnit used for the CO2e value. | StringTMSCarbonEmissionUnit | No | None | |
CarrierCodeShipping carrier for the segment. | String (20)TMSCarrierCode | No | TMSCarrier.CarrierCode | None |
CarrierGroupCodeCarrier group for the segment. | String (20)TMSCarrierGroupCode | No | TMSCarrierGroup.CarrierGroupCode | None |
CarrierServiceCodeCarrier service for the segment. | String (20)TMSCarrierServiceCode | 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 code for the segment. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | None |
CustomerRateRate value for the customer. | RealTMSCustomerRate | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeliveryUTCDateTimeDelivery date and time (UTC). | UtcDateTimeTMSDeliveryUTCDateTime | No | None | |
DestinationAddressStreet address of the destination. | String (250)TMSAddress | No | None | |
DestinationCityCity of the destination. | String (60)TMSCity | No | None | |
DestinationCountryRegionCountry or region of the destination. | StringTMSCountryRegion | No | LogisticsAddressCountryRegion.CountryRegionId | None |
DestinationCountryRegionISOCodeTwo-letter ISO code of the destination country or region. | String (2)TMSCountryRegionISOCode | No | None | |
DestinationCountyCounty of the destination. | String (30)LogisticsAddressCountyId | No | None | |
DestinationHubCodeHub where the segment ends. | String (20)TMSHubMasterCode | No | TMSHubMaster.HubMasterCode | None |
DestinationNameDrop-off charges value for the destination, as labelled.low confidence | String (60)TMSName | No | None | |
DestinationPostalCodeZIP or postal code of the destination. | StringTMSPostalCode | No | None | |
DestinationResidentialShows whether the destination is residential (yes or no). | EnumTMSResidentialNoYes (enum) | No | None | |
DestinationResponsibleForPaymentWho pays at the destination: company, customer or third party. | EnumTMSResponsibleForPayment (enum) | No | None | |
DestinationStateState of the destination. | StringTMSState | No | None | |
DestinationVendorCodeVendor account used at the destination. | String (20)TMSVendorCode | No | VendTable.AccountNum | None |
DestinationVendorInvoiceCodeVendor account used for invoicing at the destination. | String (20)TMSVendorInvoiceCode | No | VendTable.AccountNum | None |
FreightTermCodeDelivery terms code. | StringTMSFreightTermCode | No | DlvTerm.Code | None |
HasErrorsShows whether the segment has errors (yes or no). | EnumTMSHasErrorsNoYes (enum) | No | None | |
IdID of the segment record. | String (20)TMSId | No | None | |
MilesDistance in miles. | RealTMSMiles | No | None | |
ModeCodeTransport mode for the segment. | String (20)TMSModeCode | No | TMSMode.ModeCode | 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 | |
OriginAddressStreet address of the origin. | String (250)TMSAddress | No | None | |
OriginalDestinationPostalAddressOriginal destination postal address, as a system record ID. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
OriginalOriginPostalAddressOriginal origin postal address, as a system record ID. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
OriginCityCity of the origin. | String (60)TMSCity | No | None | |
OriginCountryRegionCountry or region of the origin. | StringTMSCountryRegion | No | LogisticsAddressCountryRegion.CountryRegionId | None |
OriginCountryRegionISOCodeTwo-letter ISO code of the origin country or region. | String (2)TMSCountryRegionISOCode | No | None | |
OriginCountyCounty of the origin. | String (30)LogisticsAddressCountyId | No | None | |
OriginHubCodeHub where the segment starts. | String (20)TMSHubMasterCode | No | TMSHubMaster.HubMasterCode | None |
OriginNamePickup charges value for the origin, as labelled.low confidence | String (60)TMSName | No | None | |
OriginPostalCodeZIP or postal code of the origin. | StringTMSPostalCode | No | None | |
OriginResidentialShows whether the origin is residential (yes or no). | EnumTMSResidentialNoYes (enum) | No | None | |
OriginResponsibleForPaymentWho pays at the origin: company, customer or third party. | EnumTMSResponsibleForPayment (enum) | No | None | |
OriginStateState of the origin. | StringTMSState | No | None | |
OriginVendorCodeVendor account used at the origin. | String (20)TMSVendorCode | No | VendTable.AccountNum | None |
OriginVendorInvoiceCodeVendor account used for invoicing at the origin. | String (20)TMSVendorInvoiceCode | No | VendTable.AccountNum | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RateRate value for the segment; the currency is not stated in the metadata. | RealTMSRate | 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 | |
RefRecIdSystem record ID of the related record, such as a load. | Int64RefRecId | No | None | |
RefTableIdID of the table that the reference record belongs to. | IntegerRefTableId | No | None | |
ResponsibleForPaymentWho pays for the segment: company, customer or third party. | EnumTMSResponsibleForPayment (enum) | No | None | |
RouteIdID of the route. | String (41)TMSRouteId | No | None | |
RouteRecIdSystem record ID of the related route. | Int64TMSRouteRecId | No | TMSRouteTable.RecId | None |
SequencePosition of the segment within the route. | IntegerTMSSequence | No | None | |
ShipperRateRate value for the shipper. | RealTMSShipperRate | No | None | |
ShipUTCDateTimeShipment date and time (UTC). | UtcDateTimeTMSShipUTCDateTime | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TMSRouteSegmentConfigLink to the route segment configuration record, by system record ID. | Int64TMSRouteSegmentConfigRecId | No | TMSRouteSegmentConfig.RecId | None |
TotalRateTotal rate value; the currency is not stated in the metadata. | RealTMSRate | No | None | |
TransitTimeTransit time in days. | RealTMSTransitTime | No | None | |
VendorCodeVendor account for the segment. | String (20)TMSVendorCode | No | VendTable.AccountNum | None |
VendorInvoiceCodeVendor account used for invoicing. | String (20)TMSVendorInvoiceCode | No | VendTable.AccountNum | None |
Indexes (2)
RouteIdSequenceNot unique.
CurrencyIdxNot unique.
Relations (21)
Each relation joins TMSRouteSegmentTable to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany TMSRouteSegmentTable records → exactly one Currency record
DlvTerm→DlvTermJoin on
FreightTermCode = DlvTerm.CodeMany TMSRouteSegmentTable records → zero or one DlvTerm record
LogisticsAddressCountryRegionDest→LogisticsAddressCountryRegionJoin on
DestinationCountryRegion = LogisticsAddressCountryRegion.CountryRegionIdMany TMSRouteSegmentTable records → zero or one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegionOrigin→LogisticsAddressCountryRegionJoin on
OriginCountryRegion = LogisticsAddressCountryRegion.CountryRegionIdMany TMSRouteSegmentTable records → zero or one LogisticsAddressCountryRegion record
OrigLogisticsPostalAddressDestination→LogisticsPostalAddressJoin on
OriginalDestinationPostalAddress = LogisticsPostalAddress.RecIdMany TMSRouteSegmentTable records → zero or one LogisticsPostalAddress record
OrigLogisticsPostalAddressOrigin→LogisticsPostalAddressJoin on
OriginalOriginPostalAddress = LogisticsPostalAddress.RecIdMany TMSRouteSegmentTable records → zero or one LogisticsPostalAddress record
TMSCarrier→TMSCarrierJoin on
CarrierCode = TMSCarrier.CarrierCodeMany TMSRouteSegmentTable records → exactly one TMSCarrier record
TMSCarrierGroup→TMSCarrierGroupJoin on
CarrierGroupCode = TMSCarrierGroup.CarrierGroupCodeMany TMSRouteSegmentTable records → exactly one TMSCarrierGroup record
TMSCarrierService→TMSCarrierServiceJoin on
CarrierServiceCode = TMSCarrierService.CarrierServiceCodeMany TMSRouteSegmentTable records → zero or one TMSCarrierService record
TMSHubMasterDest→TMSHubMasterJoin on
DestinationHubCode = TMSHubMaster.HubMasterCodeMany TMSRouteSegmentTable records → exactly one TMSHubMaster record
TMSHubMasterOrigin→TMSHubMasterJoin on
OriginHubCode = TMSHubMaster.HubMasterCodeMany TMSRouteSegmentTable records → exactly one TMSHubMaster record
TMSMode→TMSModeJoin on
ModeCode = TMSMode.ModeCodeMany TMSRouteSegmentTable records → exactly one TMSMode record
TMSRouteTable→TMSRouteTableJoin on
RouteRecId = TMSRouteTable.RecIdMany TMSRouteSegmentTable records → zero or one TMSRouteTable record
VendTable→VendTableJoin on
VendorCode = VendTable.AccountNumMany TMSRouteSegmentTable records → zero or one VendTable record
VendTableDestInvoice→VendTableJoin on
DestinationVendorInvoiceCode = VendTable.AccountNumMany TMSRouteSegmentTable records → zero or one VendTable record
VendTableDestVendor→VendTableJoin on
DestinationVendorCode = VendTable.AccountNumMany TMSRouteSegmentTable records → zero or one VendTable record
VendTableInvoice→VendTableJoin on
VendorInvoiceCode = VendTable.AccountNumMany TMSRouteSegmentTable records → zero or one VendTable record
VendTableOriginInvoice→VendTableJoin on
OriginVendorInvoiceCode = VendTable.AccountNumMany TMSRouteSegmentTable records → zero or one VendTable record
VendTableOriginVendor→VendTableJoin on
OriginVendorCode = VendTable.AccountNumMany TMSRouteSegmentTable records → zero or one VendTable record
WHSLoadTable→WHSLoadTableJoin on
RefRecId = WHSLoadTable.RecId,RefTableId = WHSLoadTable.TableIdExactly one TMSRouteSegmentTable record → zero or one WHSLoadTable record
TMSRouteSegmentConfig→TMSRouteSegmentConfigJoin on
TMSRouteSegmentConfig = TMSRouteSegmentConfig.RecIdMany 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.