Table

TMSMileageDetail

Mileage Detail

Holds mileage values for a mileage engine. Each record is identified by the engine code and up to eight dimension values, and gives the miles for that combination. Each record links to a mileage engine.

Table name
TMSMileageDetail
Module
Transportation management
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
RecId
Replacement key
DimensionsMileageEngineCodeIdx
Key fields
MileageEngineCode, Dimension1, Dimension2, Dimension3, Dimension4, Dimension5, Dimension6, Dimension7, Dimension8
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
MileageEngineCodeCode of the mileage engine this record belongs to.String (20)
TMSMileageEngineCode
YesTMSMileageEngine.MileageEngineCodeNone
Dimension1First dimension value used to identify the mileage record.String (50)
TMSDimension
NoNone
Dimension2Second dimension value used to identify the mileage record.String (50)
TMSDimension
NoNone
Dimension3Third dimension value used to identify the mileage record.String (50)
TMSDimension
NoNone
Dimension4Fourth dimension value used to identify the mileage record.String (50)
TMSDimension
NoNone
Dimension5Fifth dimension value used to identify the mileage record.String (50)
TMSDimension
NoNone
Dimension6Sixth dimension value used to identify the mileage record.String (50)
TMSDimension
NoNone
Dimension7Seventh dimension value used to identify the mileage record.String (50)
TMSDimension
NoNone
Dimension8Eighth dimension value used to identify the mileage record.String (50)
TMSDimension
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
MilesNumber of miles stored for this combination of dimension values.Real
TMSMiles
YesNone
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
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 (1)

Relations (1)

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

  • TMSMileageEngine → TMSMileageEngine

    Join on MileageEngineCode = TMSMileageEngine.MileageEngineCode

    Many TMSMileageDetail records → exactly one TMSMileageEngine record

Get this data out

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

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

Email sales@drdynamics.co.uk