Table

TMSTransportationTemplate

Transportation templates

Holds transportation templates, identified by a template ID. Each template can set the shipping carrier, carrier group, route plan and load template. It also holds a separate set of carrier, service and route plan values for the customer side, with a manual flag.

Table name
TMSTransportationTemplate
Module
Transportation management
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
TransportationTemplateIdx
Replacement key
TransportationTemplateIdx
Key fields
TransportationTemplateId
Model
Foundation

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TransportationTemplateIdUnique ID of the transportation template.String (20)
TMSTransportationTemplateId
YesNone
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
CustCarrierCodeShipping carrier set for the customer side of the template.String (20)
TMSCarrierCode
NoTMSCarrier.CarrierCodeNone
CustCarrierServiceCodeCarrier service set for the customer side of the template.String (20)
TMSCarrierServiceCode
NoTMSCarrierService.CarrierServiceCodeNone
CustManualManual flag for the customer side of the template. Its exact effect is not stated in the metadata.low confidenceEnum
TMSManual
NoYes (enum)
NoNone
CustRoutePlanCodeRoute plan set for the customer side of the template.String (20)
TMSRouteConfigCode
NoTMSRouteConfig.RouteConfigCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LoadTemplateIdLoad template linked to the transportation template.String (20)
WHSLoadTemplateId
NoWHSLoadTemplate.LoadTemplateIdNone
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
NameName of the template.String (60)
TMSName
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
ShipCarrierCodeShipping carrier set for the shipping side of the template.String (20)
TMSCarrierCode
NoTMSCarrier.CarrierCodeNone
ShipCarrierGroupCodeCarrier group set for the shipping side of the template.String (20)
TMSCarrierGroupCode
NoTMSCarrierGroup.CarrierGroupCodeNone
ShipCarrierServiceCodeCarrier service set for the shipping side of the template.String (20)
TMSCarrierServiceCode
NoTMSCarrierService.CarrierServiceCodeNone
ShipRoutePlanCodeRoute plan set for the shipping side of the template.String (20)
TMSRouteConfigCode
NoTMSRouteConfig.RouteConfigCodeNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (8)

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

  • TMSCarrierCust → TMSCarrier

    Join on CustCarrierCode = TMSCarrier.CarrierCode

    Many TMSTransportationTemplate records → exactly one TMSCarrier record

  • TMSCarrierGroupShip → TMSCarrierGroup

    Join on ShipCarrierGroupCode = TMSCarrierGroup.CarrierGroupCode

    Many TMSTransportationTemplate records → exactly one TMSCarrierGroup record

  • TMSCarrierServiceCust → TMSCarrierService

    Join on CustCarrierServiceCode = TMSCarrierService.CarrierServiceCode, CustCarrierCode = TMSCarrierService.CarrierCode

    Many TMSTransportationTemplate records → zero or one TMSCarrierService record

  • TMSCarrierServiceShip → TMSCarrierService

    Join on ShipCarrierCode = TMSCarrierService.CarrierCode, ShipCarrierServiceCode = TMSCarrierService.CarrierServiceCode

    Many TMSTransportationTemplate records → zero or one TMSCarrierService record

  • TMSCarrierShip → TMSCarrier

    Join on ShipCarrierCode = TMSCarrier.CarrierCode

    Many TMSTransportationTemplate records → exactly one TMSCarrier record

  • TMSRouteConfigCust → TMSRouteConfig

    Join on CustRoutePlanCode = TMSRouteConfig.RouteConfigCode

    Many TMSTransportationTemplate records → exactly one TMSRouteConfig record

  • TMSRouteConfigShip → TMSRouteConfig

    Join on ShipRoutePlanCode = TMSRouteConfig.RouteConfigCode

    Many TMSTransportationTemplate records → exactly one TMSRouteConfig record

  • WHSLoadTemplate → WHSLoadTemplate

    Join on LoadTemplateId = WHSLoadTemplate.LoadTemplateId

    Many TMSTransportationTemplate records → exactly one WHSLoadTemplate record

Get this data out

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

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

Email sales@drdynamics.co.uk