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 descriptionType / EDT / enumMandatoryReferencesIn public entities
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
CurrencyCodeCurrency of the rate.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
CustomerRateRate charged to the customer.Real
TMSCustomerRate
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
IdID of the rate record.String (20)
TMSId
NoNone
MarkupCodeCharges code linked to the rate.String
MarkupCode
NoNone
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
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RateCurRate amount. Currency is not stated in the metadata.Real
TMSRate
NoNone
RateNoteFree-text note for the rate.String (100)
TMSApptNote
NoNone
RateTypeKind of rate line: rate, hub charge, accessorial, error or constraint.Enum
TMSRateType (enum)
NoNone
RateUnitNumber of units the rate applies to.Real
TMSRateUnit
NoNone
RateUnitRateRate for one unit.Real
TMSRateUnitRate
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
RefRecIdRecord ID of the related record, such as a charge override.Int64
RefRecId
NoNone
RefTableIdID of the table that the related record belongs to.Integer
RefTableId
NoNone
ResponsibleForPaymentWho pays: company, customer or third party.Enum
TMSResponsibleForPayment (enum)
NoNone
ShipperRateRate charged to the shipper.Real
TMSShipperRate
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VendorCodeVendor linked to the rate.String (20)
TMSVendorCode
NoVendTable.AccountNumNone
VendorInvoiceCodeVendor account used for invoicing.String (20)
TMSVendorInvoiceCode
NoVendTable.AccountNumNone

Indexes (3)

Relations (5)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TMSRateDetails records → exactly one Currency record

  • TMSChargeOverrideTable → TMSChargeOverrideTable

    Join on RefTableId = TMSChargeOverrideTable.TableId, RefRecId = TMSChargeOverrideTable.RecId

    Many TMSRateDetails records → zero or one TMSChargeOverrideTable record

  • TMSRouteSegmentTable → TMSRouteSegmentTable

    Join on RefRecId = TMSRouteSegmentTable.RecId, RefTableId = TMSRouteSegmentTable.TableId

    Many TMSRateDetails records → zero or one TMSRouteSegmentTable record

  • VendTable → VendTable

    Join on VendorCode = VendTable.AccountNum

    Many TMSRateDetails records → zero or one VendTable record

  • VendTableInvoice → VendTable

    Join on VendorInvoiceCode = VendTable.AccountNum

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

Email sales@drdynamics.co.uk