Table

TMSRateRouteLine

Rate Route Line

Holds lines for a rate route, each tied to an item, a load line and a route segment. A line carries classification codes (harmonized tariff, LTL class, STCC) plus rate, volume and weight. It has no defined key.

Table name
TMSRateRouteLine
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 (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
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
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
HarmonizedCodeHarmonized Tariff Schedule code that applies to the line.String (16)
WHSHarmonizedCode
NoWHSHarmonized.HarmonizedCodeNone
InventTransIdLot ID that links the line to an inventory transaction origin.String (20)
InventTransId
YesInventTransOrigin.InventTransIdNone
ItemIdItem number of the product on the line.String (20)
ItemId
NoInventTable.ItemIdNone
LoadLineRecIdSystem record ID of the related load line.Int64
TMSLoadLineRecId
NoWHSLoadLine.RecIdNone
LTLClassCodeCode of the LTL (less than truckload) class for the line.String (20)
WHSLTLClassCode
NoWHSLTLClass.LTLClassCodeNone
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
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RateRate value for the line; the currency is not stated in the metadata.Real
TMSRate
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
RefRecIdRecord ID of the route segment this line refers to, used together with the reference table ID.Int64
RefRecId
NoNone
RefTableIdID of the table that the reference record belongs to, a route segment table.Integer
RefTableId
NoNone
STCCCodeSTCC code (a freight commodity classification) for the line.String (7)
WHSSTCCCode
NoWHSSTCC.STCCCodeNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VolumeVolume of the goods on the line.Real
Volume
NoNone
WeightWeight of the goods on the line.Real
Weight
NoNone

Indexes (2)

Relations (8)

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

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many TMSRateRouteLine records → zero or one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many TMSRateRouteLine records → exactly one InventTransOrigin record

  • TMSRouteSegmentTable → TMSRouteSegmentTable

    Join on RefRecId = TMSRouteSegmentTable.RecId, RefTableId = TMSRouteSegmentTable.TableId

    Many TMSRateRouteLine records → zero or one TMSRouteSegmentTable record

  • TMSRouteTable → TMSRouteTable

    Join on RefRecId = TMSRouteTable.RecId, RefTableId = TMSRouteTable.TableId

    Many TMSRateRouteLine records → zero or one TMSRouteTable record

  • WHSHarmonized → WHSHarmonized

    Join on HarmonizedCode = WHSHarmonized.HarmonizedCode

    Many TMSRateRouteLine records → exactly one WHSHarmonized record

  • WHSLoadLine → WHSLoadLine

    Join on LoadLineRecId = WHSLoadLine.RecId

    Many TMSRateRouteLine records → zero or one WHSLoadLine record

  • WHSLTLClass → WHSLTLClass

    Join on LTLClassCode = WHSLTLClass.LTLClassCode

    Many TMSRateRouteLine records → exactly one WHSLTLClass record

  • WHSSTCC → WHSSTCC

    Join on STCCCode = WHSSTCC.STCCCode

    Many TMSRateRouteLine records → exactly one WHSSTCC record

Get this data out

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

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

Email sales@drdynamics.co.uk