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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ShipmentConstraintCodeUnique code that identifies the shipment constraint. | String (20)TMSShipmentConstraintCode | Yes | None | |
ActionWhether the constraint gives a warning or restricts the shipment. | EnumTMSAction (enum) | Yes | None | |
CarrierCodeShipping carrier the constraint applies to. | String (20)TMSCarrierCode | No | TMSCarrier.CarrierCode | None |
CarrierServiceCodeCarrier service the constraint applies to, for the chosen carrier. | String (20)TMSCarrierServiceCode | No | TMSCarrierService.CarrierServiceCode | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustomerCodeCustomer account the constraint applies to. | String (20)TMSCustomerCode | No | CustTable.AccountNum | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EffectiveUTCDateTimeFromDate and time from which the constraint is effective. | UtcDateTimeTMSEffectiveUTCDateTimeFrom | No | None | |
EffectiveUTCDateTimeToDate and time at which the constraint stops being effective. | UtcDateTimeTMSEffectiveUTCDateTimeTo | No | None | |
HubMasterCodeHub the constraint applies to. | String (20)TMSHubMasterCode | No | TMSHubMaster.HubMasterCode | None |
InventLocationIdWarehouse the constraint applies to. | StringInventLocationId | No | InventLocation.InventLocationId | None |
InventSiteIdSite the constraint applies to. | StringInventSiteId | No | InventSite.SiteId | None |
MethodCodeTransportation method the constraint applies to. | String (20)TMSMethodCode | No | TMSMethod.MethodCode | None |
ModeCodeTransportation mode the constraint applies to. | String (20)TMSModeCode | No | TMSMode.ModeCode | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NameName of the constraint. | String (60)TMSName | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VendorCodeVendor account the constraint applies to. | String (20)TMSVendorCode | No | VendTable.AccountNum | None |
WeightHighUpper weight limit for the constraint. | RealTMSWeightHigh | No | None | |
WeightLowLower weight limit for the constraint. | RealTMSWeightLow | No | None |
Indexes (1)
ShipmentConstraintCodeIdxPrimary indexReplacement keyUnique, alternate key.
Relations (9)
Each relation joins TMSShipmentConstraint to another table on the fields shown.
CustTable→CustTableJoin on
CustomerCode = CustTable.AccountNumMany TMSShipmentConstraint records → zero or one CustTable record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany TMSShipmentConstraint records → zero or one InventLocation record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany TMSShipmentConstraint records → zero or one InventSite record
TMSCarrier→TMSCarrierJoin on
CarrierCode = TMSCarrier.CarrierCodeMany TMSShipmentConstraint records → exactly one TMSCarrier record
TMSCarrierService→TMSCarrierServiceJoin on
CarrierServiceCode = TMSCarrierService.CarrierServiceCode,CarrierCode = TMSCarrierService.CarrierCodeMany TMSShipmentConstraint records → exactly one TMSCarrierService record
TMSHubMaster→TMSHubMasterJoin on
HubMasterCode = TMSHubMaster.HubMasterCodeMany TMSShipmentConstraint records → exactly one TMSHubMaster record
TMSMethod→TMSMethodJoin on
MethodCode = TMSMethod.MethodCodeMany TMSShipmentConstraint records → exactly one TMSMethod record
TMSMode→TMSModeJoin on
ModeCode = TMSMode.ModeCodeMany TMSShipmentConstraint records → exactly one TMSMode record
VendTable→VendTableJoin on
VendorCode = VendTable.AccountNumMany 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.