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 descriptionType / EDT / enumMandatoryReferencesIn public entities
LoadBuildTemplateNameUnique name of the load building template.String (60)
TMSLoadBuildTemplateName
YesNone
AccountCustomer or vendor account number used by the template.String (20)
CustVendAC
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionText that describes the template.String (255)
TMSTemplateDescription
NoNone
DestinationCountryIdCountry or region of the destination.String
TMSCountryRegion
NoLogisticsAddressCountryRegion.CountryRegionIdNone
DestinationFromPostalCodeStart of the destination postal code range.String (20)
TMSPostalCodeFromRegExpression
NoNone
DestinationLocationIdDestination warehouse.String
InventLocationId
NoInventLocation.InventLocationIdNone
DestinationSiteIdDestination site.String
InventSiteId
NoInventSite.SiteIdNone
DestinationToPostalCodeEnd of the destination postal code range.String (20)
TMSPostalCodeToRegExpression
NoNone
FilterCode1First product filter code for the template.String
TMSFilterCode
NoNone
FilterCode2Second product filter code for the template.String
TMSFilterCode
NoNone
FilterCode3Third product filter code for the template.String
TMSFilterCode
NoNone
FilterCode4Fourth product filter code for the template.String
TMSFilterCode
NoNone
LoadBuildStrategyLoad building strategy the template uses, given as its system record ID.Int64
TMSLoadBuildStrategyId
NoTMSLoadBuildStrategy.RecIdNone
OriginCountryIdCountry or region of the origin.String
TMSCountryRegion
NoLogisticsAddressCountryRegion.CountryRegionIdNone
OriginFromPostalCodeStart of the origin postal code range.String (20)
TMSPostalCodeFromRegExpression
NoNone
OriginLocationIdOrigin warehouse.String
InventLocationId
NoInventLocation.InventLocationIdNone
OriginSiteIdOrigin site.String
InventSiteId
NoInventSite.SiteIdNone
OriginToPostalCodeEnd of the origin postal code range.String (20)
TMSPostalCodeToRegExpression
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
SupplyDemandQueryRunSaved query settings, stored as a packed container, used to select supply or demand records.Container
PackedQueryRun
YesNone
SupplyDemandTypeKind of source record the template works on: Sales, Purchase, Transfer issue, Shipment or Outbound shipment order.Enum
TMSLoadBuildSupplyDemandType (enum)
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (11)

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

  • DestinationCountryRegion → LogisticsAddressCountryRegion

    Join on DestinationCountryId = LogisticsAddressCountryRegion.CountryRegionId

    Many TMSLoadBuildTemplate records → zero or one LogisticsAddressCountryRegion record

  • DestinationInventLocation → InventLocation

    Join on DestinationLocationId = InventLocation.InventLocationId

    Many TMSLoadBuildTemplate records → zero or one InventLocation record

  • DestinationInventSite → InventSite

    Join on DestinationSiteId = InventSite.SiteId

    Many TMSLoadBuildTemplate records → zero or one InventSite record

  • FilterCode1 → WHSFilters

    Join on WHSFilters.FilterTitle = WHSFilterTitle::Code1, FilterCode1 = WHSFilters.FilterNum

    Many TMSLoadBuildTemplate records → zero or one WHSFilters record

  • FilterCode2 → WHSFilters

    Join on WHSFilters.FilterTitle = WHSFilterTitle::Code2, FilterCode2 = WHSFilters.FilterNum

    Many TMSLoadBuildTemplate records → zero or one WHSFilters record

  • FilterCode3 → WHSFilters

    Join on WHSFilters.FilterTitle = WHSFilterTitle::Code3, FilterCode3 = WHSFilters.FilterNum

    Many TMSLoadBuildTemplate records → zero or one WHSFilters record

  • FilterCode4 → WHSFilters

    Join on WHSFilters.FilterTitle = WHSFilterTitle::Code4, FilterCode4 = WHSFilters.FilterNum

    Many TMSLoadBuildTemplate records → zero or one WHSFilters record

  • LoadBuildStrategy → TMSLoadBuildStrategy

    Join on LoadBuildStrategy = TMSLoadBuildStrategy.RecId

    Many TMSLoadBuildTemplate records → exactly one TMSLoadBuildStrategy record

  • OriginCountryRegion → LogisticsAddressCountryRegion

    Join on OriginCountryId = LogisticsAddressCountryRegion.CountryRegionId

    Many TMSLoadBuildTemplate records → zero or one LogisticsAddressCountryRegion record

  • OriginInventLocation → InventLocation

    Join on OriginLocationId = InventLocation.InventLocationId

    Many TMSLoadBuildTemplate records → zero or one InventLocation record

  • OriginInventSite → InventSite

    Join on OriginSiteId = InventSite.SiteId

    Many 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.

Email sales@drdynamics.co.uk