Table
TMSItemConstraint
Item constraint
Defines item constraints for transportation, identified by the item constraint code. A constraint can be narrowed by item, product filters, warehouse, site, hub, carrier, carrier service, method and mode. It has an action of Warn or Restrict and an effective date range.
- Table name
TMSItemConstraint- Module
Transportation management- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
ItemConstraintCodeIdx- Replacement key
ItemConstraintCodeIdx- Key fields
ItemConstraintCode- Model
Foundation
Fields (26)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ItemConstraintCodeUnique code that identifies the item constraint. | String (20)TMSItemConstraintCode | Yes | None | |
ActionWhat the constraint does when it applies: Warn or Restrict. | EnumTMSAction (enum) | Yes | None | |
CarrierCodeShipping carrier the constraint applies to. | String (20)TMSCarrierCode | No | TMSCarrier.CarrierCode | None |
CarrierServiceCodeCarrier service the constraint applies to. | String (20)TMSCarrierServiceCode | No | 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 | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EffectiveUTCDateTimeFromDate and time, in UTC, from which the constraint is effective. | UtcDateTimeTMSEffectiveUTCDateTimeFrom | No | None | |
EffectiveUTCDateTimeToDate and time, in UTC, at which the constraint stops being effective. | UtcDateTimeTMSEffectiveUTCDateTimeTo | No | None | |
FilterCode1First product filter code used to select items for the constraint. | StringTMSFilterCode | No | None | |
FilterCode2Second product filter code used to select items for the constraint. | StringTMSFilterCode | No | None | |
FilterCode3Third product filter code used to select items for the constraint. | StringTMSFilterCode | No | None | |
FilterCode4Fourth product filter code used to select items for the constraint. | StringTMSFilterCode | 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 |
ItemIdItem the constraint applies to. | String (20)TMSItemId | No | InventTable.ItemId | 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 item 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 |
Indexes (1)
ItemConstraintCodeIdxPrimary indexReplacement keyUnique, alternate key.
Relations (12)
Each relation joins TMSItemConstraint to another table on the fields shown.
FilterCode1→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code1,FilterCode1 = WHSFilters.FilterNumMany TMSItemConstraint records → zero or one WHSFilters record
FilterCode2→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code2,FilterCode2 = WHSFilters.FilterNumMany TMSItemConstraint records → zero or one WHSFilters record
FilterCode3→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code3,FilterCode3 = WHSFilters.FilterNumMany TMSItemConstraint records → zero or one WHSFilters record
FilterCode4→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code4,FilterCode4 = WHSFilters.FilterNumMany TMSItemConstraint records → zero or one WHSFilters record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany TMSItemConstraint records → zero or one InventLocation record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany TMSItemConstraint records → zero or one InventSite record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany TMSItemConstraint records → exactly one InventTable record
TMSCarrier→TMSCarrierJoin on
CarrierCode = TMSCarrier.CarrierCodeMany TMSItemConstraint records → exactly one TMSCarrier record
TMSCarrierService→TMSCarrierServiceJoin on
CarrierServiceCode = TMSCarrierService.CarrierServiceCodeMany TMSItemConstraint records → exactly one TMSCarrierService record
TMSHubMaster→TMSHubMasterJoin on
HubMasterCode = TMSHubMaster.HubMasterCodeMany TMSItemConstraint records → exactly one TMSHubMaster record
TMSMethod→TMSMethodJoin on
MethodCode = TMSMethod.MethodCodeMany TMSItemConstraint records → exactly one TMSMethod record
TMSMode→TMSModeJoin on
ModeCode = TMSMode.ModeCodeMany TMSItemConstraint records → exactly one TMSMode record
Get this data out
No public entity reads from TMSItemConstraint. Its data is only reachable through the application, a custom entity or a database export.
Need help with TMSItemConstraint in a report, an integration or a migration? Talk to Dr Dynamics.