Table
TMSRouteTable
Route
Holds a route record, with the carrier, service, mode, total rates and ship and delivery dates. The key is route ID, reference record, reference table and creator. It can link to a purchase order, sales order, load or container through the reference fields. It also holds carbon emission data.
- Table name
TMSRouteTable- Module
Transportation management- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
RecId- Replacement key
RefRecIdRefTableIdCreatedByRouteIdx- Key fields
RouteId, RefRecId, RefTableId, CreatedBy- Model
Foundation
Fields (31)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RouteIdID of the route. Part of the key. | String (41)TMSRouteId | Yes | None | |
RefRecIdSystem record ID of the record the route refers to. Part of the key. | Int64RefRecId | Yes | None | |
RefTableIdID of the table the reference points to. Part of the key. | IntegerRefTableId | Yes | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
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 route. | String (20)TMSCarrierCode | No | TMSCarrier.CarrierCode | None |
CarrierServiceCodeCarrier service for the route. | String (20)TMSCarrierServiceCode | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyCodeCurrency code for the route. | 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 | |
HasErrorsShows whether the route has errors (yes or no). | EnumTMSHasErrorsNoYes (enum) | No | None | |
IdID of the route record. | String (20)TMSId | No | None | |
IsScheduledRouteShows whether the route was generated automatically (yes or no). | EnumTMSScheduledRouteNoYes (enum) | No | None | |
ModeCodeTransport mode for the route. | 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 | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
RouteConfigCodeRoute plan the route is based on. | String (20)TMSRouteConfigCode | No | TMSRouteConfig.RouteConfigCode | None |
RouteGuideNameName of the route guide. | String (60)TMSName | No | None | |
RoutePlanNameName of the route plan. | String (60)TMSName | No | None | |
ShipperRateRate value for the shipper. | RealTMSShipperRate | No | None | |
ShipUTCDateTimeShipment date and time (UTC). | UtcDateTimeTMSShipUTCDateTime | 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 | |
TotalRateTotal rate value; the currency is not stated in the metadata. | RealTMSRate | No | None |
Indexes (3)
RefRecIdRefTableIdCreatedByRouteIdxReplacement keyRouteId,RefRecId,RefTableId,CreatedByUnique, alternate key.
CreatedDateTimeIdxNot unique.
RefRecIdRefTableIdCreatedByIdxRefRecId,RefTableId,CreatedByNot unique.
Relations (10)
Each relation joins TMSRouteTable to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany TMSRouteTable records → exactly one Currency record
PurchTable→PurchTableJoin on
RefTableId = PurchTable.TableId,RefRecId = PurchTable.RecIdMany TMSRouteTable records → zero or one PurchTable record
SalesTable→SalesTableJoin on
RefTableId = SalesTable.TableId,RefRecId = SalesTable.RecIdMany TMSRouteTable records → zero or one SalesTable record
TMSCarrier→TMSCarrierJoin on
CarrierCode = TMSCarrier.CarrierCodeMany TMSRouteTable records → exactly one TMSCarrier record
TMSCarrierService→TMSCarrierServiceJoin on
CarrierServiceCode = TMSCarrierService.CarrierServiceCodeMany TMSRouteTable records → exactly one TMSCarrierService record
TMSMode→TMSModeJoin on
ModeCode = TMSMode.ModeCodeMany TMSRouteTable records → exactly one TMSMode record
TMSRateRouteAddress→TMSRateRouteAddressJoin on
RefRecId = TMSRateRouteAddress.RecId,RefTableId = TMSRateRouteAddress.TableIdMany TMSRouteTable records → zero or one TMSRateRouteAddress record
TMSRouteConfig→TMSRouteConfigJoin on
RouteConfigCode = TMSRouteConfig.RouteConfigCodeMany TMSRouteTable records → exactly one TMSRouteConfig record
WHSContainerTable→WHSContainerTableJoin on
RefRecId = WHSContainerTable.RecId,RefTableId = WHSContainerTable.TableIdMany TMSRouteTable records → zero or one WHSContainerTable record
WHSLoadTable→WHSLoadTableJoin on
RefRecId = WHSLoadTable.RecId,RefTableId = WHSLoadTable.TableIdMany TMSRouteTable records → zero or one WHSLoadTable record
Get this data out
No public entity reads from TMSRouteTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with TMSRouteTable in a report, an integration or a migration? Talk to Dr Dynamics.