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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccessorialAssignmentLevelLevel at which the accessorial is assigned: shipment, package, load or hub. | EnumTMSAccessorialAssignmentLevel (enum) | No | None | |
BillingGroupIdBilling group for the line. | String (20)TMSBillingGroupId | No | None | |
CarrierCodeShipping carrier for the line. | String (20)TMSCarrierCode | No | TMSCarrier.CarrierCode | None |
CarrierServiceCodeCarrier service for the line. | 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 of the line. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | None |
CustomerRateRate charged to the customer. | RealTMSCustomerRate | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExternalCodeCode used for this line outside the system. | String (60)TMSExternalCode | No | None | |
GeneratedYes/No flag showing that the line was generated by the system. | EnumTMSGeneratedNoYes (enum) | No | None | |
HubMasterCodeHub that the line relates to. | String (20)TMSHubMasterCode | No | TMSHubMaster.HubMasterCode | None |
IdIdentifier of the route segment load or shipment that the line belongs to. | String (20)TMSId | No | TMSRouteSegmentLoad.IdTMSRouteSegmentShipment.Id | None |
MarkupCodeCharges code for the line. | StringMarkupCode | No | 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 | |
ModuleTypeCharges module: inventory, customer, vendor or delivery. | EnumMarkupModuleMarkupModuleType (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RateCurRate value; the currency is not stated in the metadata. | RealTMSRate | Yes | None | |
RateIdAccessorial master code that identifies the rate. | String (20)TMSAccessorialMasterCode | No | TMSAccessorialMaster.AccessorialMasterCode | None |
RateNoteNotes about the rate. | String (100)TMSApptNote | No | None | |
RateTypeKind of rate line: rate, hub charge, accessorial, error or constraint. | EnumTMSRateType (enum) | No | None | |
RateUnitNumber of units that the rate applies to. | RealTMSRateUnit | No | None | |
RateUnitRateRate for one unit. | RealTMSRateUnitRate | 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: the company, the customer or a third party. | EnumTMSResponsibleForPayment (enum) | No | None | |
RouteAccessorialLevelLevel of the route the accessorial applies to: route, segment, load, shipment or container. | EnumTMSRouteAccessorialLevel (enum) | No | None | |
RouteCodeRoute that the line belongs to. | String (20)TMSRouteCode | Yes | TMSRoute.RouteCode | None |
SequenceSequence number of the route segment for the line. | IntegerTMSSequence | No | TMSRouteSegment.SequenceTMSRouteSegmentLoad.SequenceTMSRouteSegmentShipment.Sequence | None |
ShipperRateRate charged to 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 | |
VendorCodeVendor account for the line. | String (20)TMSVendorCode | No | VendTable.AccountNum | None |
VendorInvoiceCodeVendor invoice account for the line. | String (20)TMSVendorInvoiceCode | No | VendTable.AccountNum | None |
Indexes (3)
CurrencyIdxNot unique.
IdxNot unique.
RouteCodeSequenceIdxNot unique.
Relations (11)
Each relation joins TMSRouteRateDetail to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany TMSRouteRateDetail records → exactly one Currency record
TMSAccessorialMaster→TMSAccessorialMasterJoin on
RateId = TMSAccessorialMaster.AccessorialMasterCodeMany TMSRouteRateDetail records → exactly one TMSAccessorialMaster record
TMSCarrier→TMSCarrierJoin on
CarrierCode = TMSCarrier.CarrierCodeMany TMSRouteRateDetail records → exactly one TMSCarrier record
TMSCarrierService→TMSCarrierServiceJoin on
CarrierServiceCode = TMSCarrierService.CarrierServiceCodeMany TMSRouteRateDetail records → zero or one TMSCarrierService record
TMSHubMaster→TMSHubMasterJoin on
HubMasterCode = TMSHubMaster.HubMasterCodeMany TMSRouteRateDetail records → exactly one TMSHubMaster record
TMSRoute→TMSRouteJoin on
RouteAccessorialLevel = TMSRouteAccessorialLevel::Route,RouteCode = TMSRoute.RouteCodeMany TMSRouteRateDetail records → zero or one TMSRoute record
TMSRouteSegment→TMSRouteSegmentJoin on
Sequence = TMSRouteSegment.Sequence,RouteCode = TMSRouteSegment.RouteCode,RouteAccessorialLevel = TMSRouteAccessorialLevel::SegmentMany TMSRouteRateDetail records → zero or one TMSRouteSegment record
TMSRouteSegmentLoad→TMSRouteSegmentLoadJoin on
Id = TMSRouteSegmentLoad.Id,Sequence = TMSRouteSegmentLoad.Sequence,RouteCode = TMSRouteSegmentLoad.RouteCode,RouteAccessorialLevel = TMSRouteAccessorialLevel::LoadMany TMSRouteRateDetail records → zero or one TMSRouteSegmentLoad record
TMSRouteSegmentShipment→TMSRouteSegmentShipmentJoin on
RouteAccessorialLevel = TMSRouteAccessorialLevel::Shipment,Id = TMSRouteSegmentShipment.Id,Sequence = TMSRouteSegmentShipment.Sequence,RouteCode = TMSRouteSegmentShipment.RouteCodeMany TMSRouteRateDetail records → zero or one TMSRouteSegmentShipment record
VendTable→VendTableJoin on
VendorCode = VendTable.AccountNumMany TMSRouteRateDetail records → zero or one VendTable record
VendTableInvoice→VendTableJoin on
VendorInvoiceCode = VendTable.AccountNumMany 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.