Table

TMSRateBase

Rate base

Defines rate bases, keyed by rate base code. Each record links to a rate master and a break master, and holds a currency with minimum and maximum charges.

Table name
TMSRateBase
Module
Transportation management
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
RateBaseCodeIdx
Replacement key
RateBaseCodeIdx
Key fields
RateBaseCode
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RateBaseCodeUnique code that identifies the rate base.String (20)
TMSRateBaseCode
YesNone
BreakMasterCodeBreak master linked to the rate base.String (20)
TMSBreakMasterCode
YesTMSBreakMaster.BreakMasterCodeNone
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 base.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
MaximumChargeHighest charge allowed for the rate base.Real
TMSMaximumCharge
NoNone
MinimumChargeLowest charge allowed for the rate base.Real
TMSMinimumCharge
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
NameName of the rate base.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
RateMasterCodeRate master the rate base belongs to.String (20)
TMSRateMasterCode
YesTMSRateMaster.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

Indexes (2)

Relations (3)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TMSRateBase records → exactly one Currency record

  • TMSBreakMaster → TMSBreakMaster

    Join on BreakMasterCode = TMSBreakMaster.BreakMasterCode

    Many TMSRateBase records → exactly one TMSBreakMaster record

  • TMSRateMaster → TMSRateMaster

    Join on RateMasterCode = TMSRateMaster.RateMasterCode

    Many TMSRateBase records → exactly one TMSRateMaster record

Get this data out

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

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

Email sales@drdynamics.co.uk