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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
HubMasterCodeUnique code of the hub. | String (20)TMSHubMasterCode | Yes | None | |
CompanyNameName of the company at the hub. | String (60)TMSCompanyName | No | None | |
ContactName of the contact person for the hub. | String (60)TMSContact | 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 (UTC) from which the hub is effective. | UtcDateTimeTMSEffectiveUTCDateTimeFrom | No | None | |
EffectiveUTCDateTimeToDate and time (UTC) when the hub stops being effective. | UtcDateTimeTMSEffectiveUTCDateTimeTo | No | None | |
EmailEmail address for the hub. | String (80)TMSEmail | No | None | |
FaxFax number for the hub. | String (20)TMSFax | No | None | |
HubTypeCodeType of the hub, pointing to the hub types table. | String (20)TMSHubTypeCode | Yes | TMSHubType.HubTypeCode | None |
LocationSystem record ID of the location of the hub. | Int64LogisticsLocationRecId | No | LogisticsLocation.RecId | 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 hub. | 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 | |
PhonePhone number for the hub. | String (20)TMSPhone | No | None | |
RateMasterCodeRate master linked to the hub. | String (20)TMSRateMasterCode | No | TMSRateMaster.RateMasterCode | 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 linked to the hub. | String (20)TMSVendorCode | No | VendTable.AccountNum | None |
VendorInvoiceCodeVendor account used as the invoice account for the hub. | String (20)TMSVendorInvoiceCode | No | VendTable.AccountNum | None |
Indexes (1)
HubMasterCodeIdxPrimary indexReplacement keyUnique, alternate key.
Relations (5)
Each relation joins TMSHubMaster to another table on the fields shown.
Location_FK→LogisticsLocationJoin on
Location = LogisticsLocation.RecIdMany TMSHubMaster records → zero or one LogisticsLocation record
TMSHubType→TMSHubTypeJoin on
HubTypeCode = TMSHubType.HubTypeCodeMany TMSHubMaster records → exactly one TMSHubType record
TMSRateMaster→TMSRateMasterJoin on
RateMasterCode = TMSRateMaster.RateMasterCodeMany TMSHubMaster records → exactly one TMSRateMaster record
VendTable→VendTableJoin on
VendorCode = VendTable.AccountNumMany TMSHubMaster records → zero or one VendTable record
VendTableInvoice→VendTableJoin on
VendorInvoiceCode = VendTable.AccountNumMany 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.