Table

TMSShipmentConstraint

Shipment constraint

Holds shipment constraint definitions, identified by a constraint code. Each record has an action (warn or restrict), a validity period, and optional weight limits. It can be narrowed to a carrier, service, customer, vendor, hub, site, warehouse, transportation method or mode.

Table name
TMSShipmentConstraint
Module
Transportation management
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
ShipmentConstraintCodeIdx
Replacement key
ShipmentConstraintCodeIdx
Key fields
ShipmentConstraintCode
Model
Foundation

Fields (25)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ShipmentConstraintCodeUnique code that identifies the shipment constraint.String (20)
TMSShipmentConstraintCode
YesNone
ActionWhether the constraint gives a warning or restricts the shipment.Enum
TMSAction (enum)
YesNone
CarrierCodeShipping carrier the constraint applies to.String (20)
TMSCarrierCode
NoTMSCarrier.CarrierCodeNone
CarrierServiceCodeCarrier service the constraint applies to, for the chosen carrier.String (20)
TMSCarrierServiceCode
NoTMSCarrierService.CarrierServiceCodeNone
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
CustomerCodeCustomer account the constraint applies to.String (20)
TMSCustomerCode
NoCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EffectiveUTCDateTimeFromDate and time from which the constraint is effective.UtcDateTime
TMSEffectiveUTCDateTimeFrom
NoNone
EffectiveUTCDateTimeToDate and time at which the constraint stops being effective.UtcDateTime
TMSEffectiveUTCDateTimeTo
NoNone
HubMasterCodeHub the constraint applies to.String (20)
TMSHubMasterCode
NoTMSHubMaster.HubMasterCodeNone
InventLocationIdWarehouse the constraint applies to.String
InventLocationId
NoInventLocation.InventLocationIdNone
InventSiteIdSite the constraint applies to.String
InventSiteId
NoInventSite.SiteIdNone
MethodCodeTransportation method the constraint applies to.String (20)
TMSMethodCode
NoTMSMethod.MethodCodeNone
ModeCodeTransportation mode the constraint applies to.String (20)
TMSModeCode
NoTMSMode.ModeCodeNone
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 constraint.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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VendorCodeVendor account the constraint applies to.String (20)
TMSVendorCode
NoVendTable.AccountNumNone
WeightHighUpper weight limit for the constraint.Real
TMSWeightHigh
NoNone
WeightLowLower weight limit for the constraint.Real
TMSWeightLow
NoNone

Indexes (1)

Relations (9)

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

  • CustTable → CustTable

    Join on CustomerCode = CustTable.AccountNum

    Many TMSShipmentConstraint records → zero or one CustTable record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many TMSShipmentConstraint records → zero or one InventLocation record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many TMSShipmentConstraint records → zero or one InventSite record

  • TMSCarrier → TMSCarrier

    Join on CarrierCode = TMSCarrier.CarrierCode

    Many TMSShipmentConstraint records → exactly one TMSCarrier record

  • TMSCarrierService → TMSCarrierService

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

    Many TMSShipmentConstraint records → exactly one TMSCarrierService record

  • TMSHubMaster → TMSHubMaster

    Join on HubMasterCode = TMSHubMaster.HubMasterCode

    Many TMSShipmentConstraint records → exactly one TMSHubMaster record

  • TMSMethod → TMSMethod

    Join on MethodCode = TMSMethod.MethodCode

    Many TMSShipmentConstraint records → exactly one TMSMethod record

  • TMSMode → TMSMode

    Join on ModeCode = TMSMode.ModeCode

    Many TMSShipmentConstraint records → exactly one TMSMode record

  • VendTable → VendTable

    Join on VendorCode = VendTable.AccountNum

    Many TMSShipmentConstraint records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk