Table

TMSRouteRateDetail

Route rate details

Holds detailed rate lines for a route, with links to route segments, loads and shipments. Each line has a rate type, accessorial level, carrier, hub, vendor, unit rate and customer and shipper rates. It has no defined key.

Table name
TMSRouteRateDetail
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 (35)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccessorialAssignmentLevelLevel at which the accessorial is assigned: shipment, package, load or hub.Enum
TMSAccessorialAssignmentLevel (enum)
NoNone
BillingGroupIdBilling group for the line.String (20)
TMSBillingGroupId
NoNone
CarrierCodeShipping carrier for the line.String (20)
TMSCarrierCode
NoTMSCarrier.CarrierCodeNone
CarrierServiceCodeCarrier service for the line.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 of the line.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
CustomerRateRate charged to the customer.Real
TMSCustomerRate
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExternalCodeCode used for this line outside the system.String (60)
TMSExternalCode
NoNone
GeneratedYes/No flag showing that the line was generated by the system.Enum
TMSGenerated
NoYes (enum)
NoNone
HubMasterCodeHub that the line relates to.String (20)
TMSHubMasterCode
NoTMSHubMaster.HubMasterCodeNone
IdIdentifier of the route segment load or shipment that the line belongs to.String (20)
TMSId
NoTMSRouteSegmentLoad.IdTMSRouteSegmentShipment.IdNone
MarkupCodeCharges code for the line.String
MarkupCode
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
ModuleTypeCharges module: inventory, customer, vendor or delivery.Enum
MarkupModule
MarkupModuleType (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RateCurRate value; the currency is not stated in the metadata.Real
TMSRate
YesNone
RateIdAccessorial master code that identifies the rate.String (20)
TMSAccessorialMasterCode
NoTMSAccessorialMaster.AccessorialMasterCodeNone
RateNoteNotes about the rate.String (100)
TMSApptNote
NoNone
RateTypeKind of rate line: rate, hub charge, accessorial, error or constraint.Enum
TMSRateType (enum)
NoNone
RateUnitNumber of units that the rate applies to.Real
TMSRateUnit
NoNone
RateUnitRateRate for one unit.Real
TMSRateUnitRate
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
ResponsibleForPaymentWho pays: the company, the customer or a third party.Enum
TMSResponsibleForPayment (enum)
NoNone
RouteAccessorialLevelLevel of the route the accessorial applies to: route, segment, load, shipment or container.Enum
TMSRouteAccessorialLevel (enum)
NoNone
RouteCodeRoute that the line belongs to.String (20)
TMSRouteCode
YesTMSRoute.RouteCodeNone
SequenceSequence number of the route segment for the line.Integer
TMSSequence
NoTMSRouteSegment.SequenceTMSRouteSegmentLoad.SequenceTMSRouteSegmentShipment.SequenceNone
ShipperRateRate charged to the shipper.Real
TMSShipperRate
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
VendorCodeVendor account for the line.String (20)
TMSVendorCode
NoVendTable.AccountNumNone
VendorInvoiceCodeVendor invoice account for the line.String (20)
TMSVendorInvoiceCode
NoVendTable.AccountNumNone

Indexes (3)

Relations (11)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TMSRouteRateDetail records → exactly one Currency record

  • TMSAccessorialMaster → TMSAccessorialMaster

    Join on RateId = TMSAccessorialMaster.AccessorialMasterCode

    Many TMSRouteRateDetail records → exactly one TMSAccessorialMaster record

  • TMSCarrier → TMSCarrier

    Join on CarrierCode = TMSCarrier.CarrierCode

    Many TMSRouteRateDetail records → exactly one TMSCarrier record

  • TMSCarrierService → TMSCarrierService

    Join on CarrierServiceCode = TMSCarrierService.CarrierServiceCode

    Many TMSRouteRateDetail records → zero or one TMSCarrierService record

  • TMSHubMaster → TMSHubMaster

    Join on HubMasterCode = TMSHubMaster.HubMasterCode

    Many TMSRouteRateDetail records → exactly one TMSHubMaster record

  • TMSRoute → TMSRoute

    Join on RouteAccessorialLevel = TMSRouteAccessorialLevel::Route, RouteCode = TMSRoute.RouteCode

    Many TMSRouteRateDetail records → zero or one TMSRoute record

  • TMSRouteSegment → TMSRouteSegment

    Join on Sequence = TMSRouteSegment.Sequence, RouteCode = TMSRouteSegment.RouteCode, RouteAccessorialLevel = TMSRouteAccessorialLevel::Segment

    Many TMSRouteRateDetail records → zero or one TMSRouteSegment record

  • TMSRouteSegmentLoad → TMSRouteSegmentLoad

    Join on Id = TMSRouteSegmentLoad.Id, Sequence = TMSRouteSegmentLoad.Sequence, RouteCode = TMSRouteSegmentLoad.RouteCode, RouteAccessorialLevel = TMSRouteAccessorialLevel::Load

    Many TMSRouteRateDetail records → zero or one TMSRouteSegmentLoad record

  • TMSRouteSegmentShipment → TMSRouteSegmentShipment

    Join on RouteAccessorialLevel = TMSRouteAccessorialLevel::Shipment, Id = TMSRouteSegmentShipment.Id, Sequence = TMSRouteSegmentShipment.Sequence, RouteCode = TMSRouteSegmentShipment.RouteCode

    Many TMSRouteRateDetail records → zero or one TMSRouteSegmentShipment record

  • VendTable → VendTable

    Join on VendorCode = VendTable.AccountNum

    Many TMSRouteRateDetail records → zero or one VendTable record

  • VendTableInvoice → VendTable

    Join on VendorInvoiceCode = VendTable.AccountNum

    Many TMSRouteRateDetail records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk