Table

TMSHubMaster

Hub masters

Holds the hubs, identified by a hub code. Each hub has contact details, a location, a hub type and a rate master. It also links to a vendor and an invoice account vendor, and has an effective period.

Table name
TMSHubMaster
Module
Transportation management
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
HubMasterCodeIdx
Replacement key
HubMasterCodeIdx
Key fields
HubMasterCode
Model
Foundation

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
HubMasterCodeUnique code of the hub.String (20)
TMSHubMasterCode
YesNone
CompanyNameName of the company at the hub.String (60)
TMSCompanyName
NoNone
ContactName of the contact person for the hub.String (60)
TMSContact
NoNone
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
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EffectiveUTCDateTimeFromDate and time (UTC) from which the hub is effective.UtcDateTime
TMSEffectiveUTCDateTimeFrom
NoNone
EffectiveUTCDateTimeToDate and time (UTC) when the hub stops being effective.UtcDateTime
TMSEffectiveUTCDateTimeTo
NoNone
EmailEmail address for the hub.String (80)
TMSEmail
NoNone
FaxFax number for the hub.String (20)
TMSFax
NoNone
HubTypeCodeType of the hub, pointing to the hub types table.String (20)
TMSHubTypeCode
YesTMSHubType.HubTypeCodeNone
LocationSystem record ID of the location of the hub.Int64
LogisticsLocationRecId
NoLogisticsLocation.RecIdNone
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 hub.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
PhonePhone number for the hub.String (20)
TMSPhone
NoNone
RateMasterCodeRate master linked to the hub.String (20)
TMSRateMasterCode
NoTMSRateMaster.RateMasterCodeNone
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 linked to the hub.String (20)
TMSVendorCode
NoVendTable.AccountNumNone
VendorInvoiceCodeVendor account used as the invoice account for the hub.String (20)
TMSVendorInvoiceCode
NoVendTable.AccountNumNone

Indexes (1)

  • HubMasterCodeIdxPrimary indexReplacement key

    HubMasterCode

    Unique, alternate key.

Relations (5)

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

  • Location_FK → LogisticsLocation

    Join on Location = LogisticsLocation.RecId

    Many TMSHubMaster records → zero or one LogisticsLocation record

  • TMSHubType → TMSHubType

    Join on HubTypeCode = TMSHubType.HubTypeCode

    Many TMSHubMaster records → exactly one TMSHubType record

  • TMSRateMaster → TMSRateMaster

    Join on RateMasterCode = TMSRateMaster.RateMasterCode

    Many TMSHubMaster records → exactly one TMSRateMaster record

  • VendTable → VendTable

    Join on VendorCode = VendTable.AccountNum

    Many TMSHubMaster records → zero or one VendTable record

  • VendTableInvoice → VendTable

    Join on VendorInvoiceCode = VendTable.AccountNum

    Many TMSHubMaster records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk