Table

TMSRouteSegmentShipment

Route Segment Shipment

Links a shipment to a route segment and holds shipping details for it. The key is shipment ID, sequence and route code. Fields include bill of lading, pro number, way bill, stop number, weight and postal codes.

Table name
TMSRouteSegmentShipment
Module
Transportation management
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
RouteSequenceShipmentIdx
Replacement key
RouteSequenceShipmentIdx
Key fields
Id, Sequence, RouteCode
Model
Foundation

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
IdShipment ID. Part of the key.String (20)
WHSShipmentId
YesWHSShipmentTable.ShipmentIdNone
SequenceRoute segment the shipment is assigned to. Part of the key.Integer
TMSSequence
YesTMSRouteSegment.SequenceNone
RouteCodeRoute the shipment is on. Part of the key.String (20)
TMSRouteCode
YesTMSRoute.RouteCodeNone
ActualWeightActual weight of the shipment.Real
TMSActualWeight
NoNone
BillOfLadingIdBill of lading ID.String (25)
WHSBillOfLadingId
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
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DestinationPostalCodeZIP or postal code of the destination.String
TMSPostalCode
NoNone
DlvTermIdDelivery terms code.String
DlvTermId
NoDlvTerm.CodeNone
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
OriginPostalCodeZIP or postal code of the origin.String
TMSPostalCode
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProNumPro number.String (25)
WHSProNum
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
StopNumStop number when the shipment is part of a load.Integer
TMSStopNum
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WayBillWay bill number.String (25)
TMSWayBill
NoNone

Indexes (1)

  • RouteSequenceShipmentIdxPrimary indexReplacement key

    Id, Sequence, RouteCode

    Unique, alternate key.

Relations (4)

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

  • DlvTerm → DlvTerm

    Join on DlvTermId = DlvTerm.Code

    Many TMSRouteSegmentShipment records → zero or one DlvTerm record

  • TMSRoute → TMSRoute

    Join on RouteCode = TMSRoute.RouteCode

    Many TMSRouteSegmentShipment records → exactly one TMSRoute record

  • TMSRouteSegment → TMSRouteSegment

    Join on Sequence = TMSRouteSegment.Sequence, RouteCode = TMSRouteSegment.RouteCode

    Many TMSRouteSegmentShipment records → exactly one TMSRouteSegment record

  • WHSShipmentTable → WHSShipmentTable

    Join on Id = WHSShipmentTable.ShipmentId

    Many TMSRouteSegmentShipment records → exactly one WHSShipmentTable record

Get this data out

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

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

Email sales@drdynamics.co.uk