Table
TMSLoadBuildTemplate
Load building templates
Defines load building templates, keyed by template name. A template sets an origin and a destination by site, warehouse, country or region and postal code range. It also holds product filters, a load building strategy, a supply or demand type and a packed query.
- Table name
TMSLoadBuildTemplate- Module
Transportation management- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
None- Replacement key
TMSLoadBuildTemplateNameIdx- Key fields
LoadBuildTemplateName- Model
Foundation
Fields (25)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LoadBuildTemplateNameUnique name of the load building template. | String (60)TMSLoadBuildTemplateName | Yes | None | |
AccountCustomer or vendor account number used by the template. | String (20)CustVendAC | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionText that describes the template. | String (255)TMSTemplateDescription | No | None | |
DestinationCountryIdCountry or region of the destination. | StringTMSCountryRegion | No | LogisticsAddressCountryRegion.CountryRegionId | None |
DestinationFromPostalCodeStart of the destination postal code range. | String (20)TMSPostalCodeFromRegExpression | No | None | |
DestinationLocationIdDestination warehouse. | StringInventLocationId | No | InventLocation.InventLocationId | None |
DestinationSiteIdDestination site. | StringInventSiteId | No | InventSite.SiteId | None |
DestinationToPostalCodeEnd of the destination postal code range. | String (20)TMSPostalCodeToRegExpression | No | None | |
FilterCode1First product filter code for the template. | StringTMSFilterCode | No | None | |
FilterCode2Second product filter code for the template. | StringTMSFilterCode | No | None | |
FilterCode3Third product filter code for the template. | StringTMSFilterCode | No | None | |
FilterCode4Fourth product filter code for the template. | StringTMSFilterCode | No | None | |
LoadBuildStrategyLoad building strategy the template uses, given as its system record ID. | Int64TMSLoadBuildStrategyId | No | TMSLoadBuildStrategy.RecId | None |
OriginCountryIdCountry or region of the origin. | StringTMSCountryRegion | No | LogisticsAddressCountryRegion.CountryRegionId | None |
OriginFromPostalCodeStart of the origin postal code range. | String (20)TMSPostalCodeFromRegExpression | No | None | |
OriginLocationIdOrigin warehouse. | StringInventLocationId | No | InventLocation.InventLocationId | None |
OriginSiteIdOrigin site. | StringInventSiteId | No | InventSite.SiteId | None |
OriginToPostalCodeEnd of the origin postal code range. | String (20)TMSPostalCodeToRegExpression | 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 | |
SupplyDemandQueryRunSaved query settings, stored as a packed container, used to select supply or demand records. | ContainerPackedQueryRun | Yes | None | |
SupplyDemandTypeKind of source record the template works on: Sales, Purchase, Transfer issue, Shipment or Outbound shipment order. | EnumTMSLoadBuildSupplyDemandType (enum) | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
TMSLoadBuildTemplateNameIdxReplacement keyUnique, alternate key.
Relations (11)
Each relation joins TMSLoadBuildTemplate to another table on the fields shown.
DestinationCountryRegion→LogisticsAddressCountryRegionJoin on
DestinationCountryId = LogisticsAddressCountryRegion.CountryRegionIdMany TMSLoadBuildTemplate records → zero or one LogisticsAddressCountryRegion record
DestinationInventLocation→InventLocationJoin on
DestinationLocationId = InventLocation.InventLocationIdMany TMSLoadBuildTemplate records → zero or one InventLocation record
DestinationInventSite→InventSiteJoin on
DestinationSiteId = InventSite.SiteIdMany TMSLoadBuildTemplate records → zero or one InventSite record
FilterCode1→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code1,FilterCode1 = WHSFilters.FilterNumMany TMSLoadBuildTemplate records → zero or one WHSFilters record
FilterCode2→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code2,FilterCode2 = WHSFilters.FilterNumMany TMSLoadBuildTemplate records → zero or one WHSFilters record
FilterCode3→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code3,FilterCode3 = WHSFilters.FilterNumMany TMSLoadBuildTemplate records → zero or one WHSFilters record
FilterCode4→WHSFiltersJoin on
WHSFilters.FilterTitle = WHSFilterTitle::Code4,FilterCode4 = WHSFilters.FilterNumMany TMSLoadBuildTemplate records → zero or one WHSFilters record
LoadBuildStrategy→TMSLoadBuildStrategyJoin on
LoadBuildStrategy = TMSLoadBuildStrategy.RecIdMany TMSLoadBuildTemplate records → exactly one TMSLoadBuildStrategy record
OriginCountryRegion→LogisticsAddressCountryRegionJoin on
OriginCountryId = LogisticsAddressCountryRegion.CountryRegionIdMany TMSLoadBuildTemplate records → zero or one LogisticsAddressCountryRegion record
OriginInventLocation→InventLocationJoin on
OriginLocationId = InventLocation.InventLocationIdMany TMSLoadBuildTemplate records → zero or one InventLocation record
OriginInventSite→InventSiteJoin on
OriginSiteId = InventSite.SiteIdMany TMSLoadBuildTemplate records → zero or one InventSite record
Get this data out
No public entity reads from TMSLoadBuildTemplate. Its data is only reachable through the application, a custom entity or a database export.
Need help with TMSLoadBuildTemplate in a report, an integration or a migration? Talk to Dr Dynamics.