Table
TMSRouteRateConfig
Route rate configuration
Holds rate set-up for a route plan. Each record is keyed by route plan, hub, sequence and an effective period. It stores a rate, currency, billing group and whether the rate is for pickup or drop off.
- Table name
TMSRouteRateConfig- Module
Transportation management- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
RecId- Replacement key
RouteConfigHubSequenceIdx- Key fields
RouteConfigCode, HubMasterCode, Sequence, EffectiveUTCDateTimeFrom, EffectiveUTCDateTimeTo- Model
Foundation
Fields (20)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RouteConfigCodeRoute plan that the rate belongs to. | String (20)TMSRouteConfigCode | Yes | TMSRouteConfig.RouteConfigCode | None |
HubMasterCodeHub that the rate relates to. | String (20)TMSHubMasterCode | No | TMSHubMaster.HubMasterCode | None |
SequenceSequence number of the route segment in the route plan. | IntegerTMSSequence | Yes | TMSRouteSegmentConfig.Sequence | None |
EffectiveUTCDateTimeFromDate and time, in UTC, from which the record is effective. | UtcDateTimeTMSEffectiveUTCDateTimeFrom | No | None | |
EffectiveUTCDateTimeToDate and time, in UTC, when the record stops being effective. | UtcDateTimeTMSEffectiveUTCDateTimeTo | No | None | |
BillingGroupIdBilling group for the rate. | String (20)TMSBillingGroupId | No | TMSBillingGroup.BillingGroupId | 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 rate. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExternalCodeCode used for this record outside the system. | String (60)TMSExternalCode | No | None | |
HubPositionWhether the charge is for pickup or drop off at the hub. | EnumTMSHubPosition (enum) | 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 | |
NameName of the record. | String (60)TMSName | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RateRate value. | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
RouteConfigHubSequenceIdxReplacement keyRouteConfigCode,HubMasterCode,Sequence,EffectiveUTCDateTimeFrom,EffectiveUTCDateTimeToUnique, alternate key.
CurrencyIdxNot unique.
Relations (6)
Each relation joins TMSRouteRateConfig to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany TMSRouteRateConfig records → exactly one Currency record
TMSBillingGroup→TMSBillingGroupJoin on
BillingGroupId = TMSBillingGroup.BillingGroupIdMany TMSRouteRateConfig records → zero or one TMSBillingGroup record
TMSHubMaster→TMSHubMasterJoin on
HubMasterCode = TMSHubMaster.HubMasterCodeMany TMSRouteRateConfig records → zero or one TMSHubMaster record
TMSRouteConfig→TMSRouteConfigJoin on
RouteConfigCode = TMSRouteConfig.RouteConfigCodeOne or more TMSRouteRateConfig records → exactly one TMSRouteConfig record
TMSRouteHubConfig→TMSRouteHubConfigJoin on
RouteConfigCode = TMSRouteHubConfig.RouteConfigCode,HubMasterCode = TMSRouteHubConfig.HubMasterCodeMany TMSRouteRateConfig records → zero or one TMSRouteHubConfig record
TMSRouteSegmentConfig→TMSRouteSegmentConfigJoin on
Sequence = TMSRouteSegmentConfig.Sequence,RouteConfigCode = TMSRouteSegmentConfig.RouteConfigCodeMany TMSRouteRateConfig records → exactly one TMSRouteSegmentConfig record
Get this data out
No public entity reads from TMSRouteRateConfig. Its data is only reachable through the application, a custom entity or a database export.
Need help with TMSRouteRateConfig in a report, an integration or a migration? Talk to Dr Dynamics.