Table
TMSRateDetails
Rate Details
Holds rate lines with their charges. Each record gives a rate, customer and shipper rates, units and a rate type such as hub charge, accessorial or error. It can link to a vendor, a currency and a charge override record. It has no defined key.
- Table name
TMSRateDetails- Module
Transportation management- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
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 | |
CurrencyCodeCurrency of the rate. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | None |
CustomerRateRate charged to the customer. | RealTMSCustomerRate | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
IdID of the rate record. | String (20)TMSId | No | None | |
MarkupCodeCharges code linked to the rate. | StringMarkupCode | No | 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 | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RateCurRate amount. Currency is not stated in the metadata. | RealTMSRate | No | None | |
RateNoteFree-text note for the rate. | String (100)TMSApptNote | No | None | |
RateTypeKind of rate line: rate, hub charge, accessorial, error or constraint. | EnumTMSRateType (enum) | No | None | |
RateUnitNumber of units the rate applies to. | RealTMSRateUnit | No | None | |
RateUnitRateRate for one unit. | RealTMSRateUnitRate | 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 | |
RefRecIdRecord ID of the related record, such as a charge override. | Int64RefRecId | No | None | |
RefTableIdID of the table that the related record belongs to. | IntegerRefTableId | No | None | |
ResponsibleForPaymentWho pays: company, customer or third party. | EnumTMSResponsibleForPayment (enum) | No | None | |
ShipperRateRate charged to the shipper. | RealTMSShipperRate | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VendorCodeVendor linked to the rate. | String (20)TMSVendorCode | No | VendTable.AccountNum | None |
VendorInvoiceCodeVendor account used for invoicing. | String (20)TMSVendorInvoiceCode | No | VendTable.AccountNum | None |
Indexes (3)
RouteTypeIdxNot unique.
CurrencyIdxNot unique.
RefTableIdRefRecIdIdxNot unique.
Relations (5)
Each relation joins TMSRateDetails to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany TMSRateDetails records → exactly one Currency record
TMSChargeOverrideTable→TMSChargeOverrideTableJoin on
RefTableId = TMSChargeOverrideTable.TableId,RefRecId = TMSChargeOverrideTable.RecIdMany TMSRateDetails records → zero or one TMSChargeOverrideTable record
TMSRouteSegmentTable→TMSRouteSegmentTableJoin on
RefRecId = TMSRouteSegmentTable.RecId,RefTableId = TMSRouteSegmentTable.TableIdMany TMSRateDetails records → zero or one TMSRouteSegmentTable record
VendTable→VendTableJoin on
VendorCode = VendTable.AccountNumMany TMSRateDetails records → zero or one VendTable record
VendTableInvoice→VendTableJoin on
VendorInvoiceCode = VendTable.AccountNumMany TMSRateDetails records → zero or one VendTable record
Get this data out
No public entity reads from TMSRateDetails. Its data is only reachable through the application, a custom entity or a database export.
Need help with TMSRateDetails in a report, an integration or a migration? Talk to Dr Dynamics.