Table
TMSRouteSegment
Route segment
Holds one segment (leg) of a transportation route. It is identified by the route code and a sequence number. Each segment records the carrier, mode, origin and destination, planned and actual dates, rates and payment responsibility. It links to the route, the carrier set-up, hubs, vendors and the route segment configuration.
- Table name
TMSRouteSegment- Module
Transportation management- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
RouteCodeStartHubEndHubIdx- Replacement key
RouteCodeStartHubEndHubIdx- Key fields
RouteCode, Sequence- Model
Foundation
Fields (54)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RouteCodeRoute this segment belongs to. Part of the key. | String (20)TMSRouteCode | Yes | TMSRoute.RouteCode | None |
SequencePosition of the segment within the route. Part of the key. | IntegerTMSSequence | Yes | None | |
ActualArrivalUTCDateTimeDate and time the shipment actually arrived (UTC). | UtcDateTimeTMSActualArrivalUTCDateTime | No | None | |
ActualShipUTCDateTimeDate and time the shipment actually left (UTC). | UtcDateTimeTMSActualShipUTCDateTime | No | None | |
BookingNumBooking number for the segment. | String (20)TMSBookingNum | No | None | |
CarrierCodeShipping carrier used for the segment. | String (20)TMSCarrierCode | No | TMSCarrier.CarrierCode | None |
CarrierGroupCodeCarrier group the carrier belongs to. | String (20)TMSCarrierGroupCode | No | TMSCarrierGroup.CarrierGroupCode | None |
CarrierServiceCodeCarrier service used 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, pointing to a currency record. | 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 | |
DestinationHubCodeHub where the segment ends, pointing to a hub master. | String (20)TMSHubMasterCode | No | TMSHubMaster.HubMasterCode | None |
DestinationLocationDestination location, as a system record ID pointing to a logistics location. | Int64LogisticsLocationRecId | No | LogisticsLocation.RecId | None |
DestinationNameName of the destination. | String (60)TMSName | No | None | |
DestinationResidentialShows whether the destination is a residential address (yes or no). | EnumTMSResidentialNoYes (enum) | No | None | |
DestinationResponsibleForPaymentWho pays at the destination: company, customer or third party. | EnumTMSResponsibleForPayment (enum) | 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 |
DlvTermIdDelivery terms code that applies to the segment. | StringDlvTermId | No | DlvTerm.Code | None |
FirstReceivingUTCDateTimeEarliest date and time the goods can be received (UTC). | UtcDateTimeTMSFristReceivingUTCDateTime | No | None | |
LastReceivingUTCDateTimeLatest date and time the goods can be received (UTC). | UtcDateTimeTMSLastReceivingUTCDateTime | No | None | |
ManualShows whether the segment was entered manually (yes or no). | EnumTMSManualNoYes (enum) | No | None | |
MilesDistance of the segment in miles. | RealTMSMiles | No | None | |
ModeCodeTransport mode used 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 | |
OriginHubCodeHub where the segment starts, pointing to a hub master. | String (20)TMSHubMasterCode | No | TMSHubMaster.HubMasterCode | None |
OriginLocationOrigin location, as a system record ID pointing to a logistics location. | Int64LogisticsLocationRecId | No | LogisticsLocation.RecId | None |
OriginNameName of the origin. | String (60)TMSName | No | None | |
OriginResidentialShows whether the origin is a residential address (yes or no). | EnumTMSResidentialNoYes (enum) | No | None | |
OriginResponsibleForPaymentWho pays at the origin: company, customer or third party. | EnumTMSResponsibleForPayment (enum) | 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 | |
RateCurRate 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 | |
ResponsibleForPaymentWho pays for the segment: company, customer or third party. | EnumTMSResponsibleForPayment (enum) | No | None | |
SailUTCDateTimeDate and time the vessel sails (UTC). | UtcDateTimeTMSSailUTCDateTime | No | None | |
ScheduledArrivalUTCDateTimePlanned arrival date and time (UTC). | UtcDateTimeTMSScheduledArrivalUTCDateTime | No | None | |
ScheduledShipUTCDateTimePlanned ship date and time (UTC). | UtcDateTimeTMSScheduledShipUTCDateTime | No | None | |
ShipperRateRate value for the shipper. | RealTMSShipperRate | 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 | |
TMSRouteSegmentConfigLink to the route segment configuration record this segment relates to, by system record ID. | Int64TMSRouteSegmentConfigRecId | No | TMSRouteSegmentConfig.RecId | None |
TransitTimeTransit time in days. | RealTMSTransitTime | No | None | |
TransportationOrderNumNumber of the transportation order. | StringTMSTransportationOrderNum | No | None | |
VendorCodeVendor account for the segment, pointing to a vendor record. | String (20)TMSVendorCode | No | VendTable.AccountNum | None |
VendorInvoiceCodeVendor account used for invoicing the segment. | String (20)TMSVendorInvoiceCode | No | VendTable.AccountNum | None |
VesselArrivalUTCDateTimeDate and time the vessel arrives (UTC). | UtcDateTimeTMSVesselArrivalUTCDateTime | No | None | |
VesselNameName of the vessel. | String (20)TMSVesselName | No | None | |
VoyageNumVoyage number of the vessel trip. | StringTMSVoyageNum | No | None |
Indexes (3)
RouteCodeStartHubEndHubIdxPrimary indexReplacement keyUnique, alternate key.
CreatedDateTimeNot unique.
CurrencyIdxNot unique.
Relations (18)
Each relation joins TMSRouteSegment to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany TMSRouteSegment records → exactly one Currency record
DlvTerm→DlvTermJoin on
DlvTermId = DlvTerm.CodeMany TMSRouteSegment records → zero or one DlvTerm record
LogisticsLocationDestination→LogisticsLocationJoin on
DestinationLocation = LogisticsLocation.RecIdMany TMSRouteSegment records → zero or one LogisticsLocation record
LogisticsLocationOrigin→LogisticsLocationJoin on
OriginLocation = LogisticsLocation.RecIdMany TMSRouteSegment records → zero or one LogisticsLocation record
TMSCarrier→TMSCarrierJoin on
CarrierCode = TMSCarrier.CarrierCodeMany TMSRouteSegment records → exactly one TMSCarrier record
TMSCarrierGroup→TMSCarrierGroupJoin on
CarrierGroupCode = TMSCarrierGroup.CarrierGroupCodeMany TMSRouteSegment records → exactly one TMSCarrierGroup record
TMSCarrierService→TMSCarrierServiceJoin on
CarrierServiceCode = TMSCarrierService.CarrierServiceCodeMany TMSRouteSegment records → zero or one TMSCarrierService record
TMSHubMasterDest→TMSHubMasterJoin on
DestinationHubCode = TMSHubMaster.HubMasterCodeMany TMSRouteSegment records → exactly one TMSHubMaster record
TMSHubMasterOrigin→TMSHubMasterJoin on
OriginHubCode = TMSHubMaster.HubMasterCodeMany TMSRouteSegment records → exactly one TMSHubMaster record
TMSMode→TMSModeJoin on
ModeCode = TMSMode.ModeCodeMany TMSRouteSegment records → exactly one TMSMode record
TMSRoute→TMSRouteJoin on
RouteCode = TMSRoute.RouteCodeMany TMSRouteSegment records → exactly one TMSRoute record
VendTable→VendTableJoin on
VendorCode = VendTable.AccountNumMany TMSRouteSegment records → zero or one VendTable record
VendTableDest→VendTableJoin on
DestinationVendorCode = VendTable.AccountNumMany TMSRouteSegment records → zero or one VendTable record
VendTableDestInvoice→VendTableJoin on
DestinationVendorInvoiceCode = VendTable.AccountNumMany TMSRouteSegment records → zero or one VendTable record
VendTableInvoice→VendTableJoin on
VendorInvoiceCode = VendTable.AccountNumMany TMSRouteSegment records → zero or one VendTable record
VendTableOrigin→VendTableJoin on
OriginVendorCode = VendTable.AccountNumMany TMSRouteSegment records → zero or one VendTable record
VendTableOriginInvoice→VendTableJoin on
OriginVendorInvoiceCode = VendTable.AccountNumMany TMSRouteSegment records → zero or one VendTable record
TMSRouteSegmentConfig→TMSRouteSegmentConfigJoin on
TMSRouteSegmentConfig = TMSRouteSegmentConfig.RecIdMany TMSRouteSegment records → zero or one TMSRouteSegmentConfig record
Get this data out
No public entity reads from TMSRouteSegment. Its data is only reachable through the application, a custom entity or a database export.
Need help with TMSRouteSegment in a report, an integration or a migration? Talk to Dr Dynamics.