Table

TMSTransportationStatus

Transportation status

Records transportation status events for a load, shipment or container. Each record has a status master, a date and time, a message and a location. A flag marks the current status. No key is defined in the metadata.

Table name
TMSTransportationStatus
Module
Transportation management
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ActivityDateTimeDate and time of the status.UtcDateTime
TMSActivityDateTime
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
CurrentShows whether this is the current status.Enum
TMSCurrent
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExternalCodeStatus code from an external source.String (60)
TMSExternalCode
NoNone
LocationLocation record, by system record ID, where the status applies.Int64
LogisticsLocationRecId
NoLogisticsLocation.RecIdNone
MessageShort message stored with the status.String (60)
TMSMessage
NoNone
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
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
RefIdID of the load, shipment or container the status belongs to, depending on the reference type.String (25)
TMSRefId
YesWHSContainerTable.ContainerIdWHSLoadTable.LoadIdWHSShipmentTable.ShipmentIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransportRefTypeType of the referenced record: load, shipment or container.Enum
TMSTransportRefType (enum)
NoNone
TransportStatusMasterCodeTransportation status master the status is based on.String (20)
TMSTransportStatusMasterCode
YesTMSTransportationStatusMaster.TransportStatusMasterCodeNone

Relations (5)

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

  • LogisticsLocation → LogisticsLocation

    Join on Location = LogisticsLocation.RecId

    Many TMSTransportationStatus records → zero or one LogisticsLocation record

  • TMSTransportationStatusMaster → TMSTransportationStatusMaster

    Join on TransportStatusMasterCode = TMSTransportationStatusMaster.TransportStatusMasterCode

    Many TMSTransportationStatus records → exactly one TMSTransportationStatusMaster record

  • WHSContainerTable → WHSContainerTable

    Join on TransportRefType = TMSTransportRefType::Container, RefId = WHSContainerTable.ContainerId

    Many TMSTransportationStatus records → zero or one WHSContainerTable record

  • WHSLoadTable → WHSLoadTable

    Join on TransportRefType = TMSTransportRefType::Load, RefId = WHSLoadTable.LoadId

    Many TMSTransportationStatus records → zero or one WHSLoadTable record

  • WHSShipmentTable → WHSShipmentTable

    Join on RefId = WHSShipmentTable.ShipmentId, TransportRefType = TMSTransportRefType::Shipment

    Many TMSTransportationStatus records → zero or one WHSShipmentTable record

Get this data out

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

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

Email sales@drdynamics.co.uk