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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
MileageEngineCodeCode of the mileage engine this record belongs to. | String (20)TMSMileageEngineCode | Yes | TMSMileageEngine.MileageEngineCode | None |
Dimension1First dimension value used to identify the mileage record. | String (50)TMSDimension | No | None | |
Dimension2Second dimension value used to identify the mileage record. | String (50)TMSDimension | No | None | |
Dimension3Third dimension value used to identify the mileage record. | String (50)TMSDimension | No | None | |
Dimension4Fourth dimension value used to identify the mileage record. | String (50)TMSDimension | No | None | |
Dimension5Fifth dimension value used to identify the mileage record. | String (50)TMSDimension | No | None | |
Dimension6Sixth dimension value used to identify the mileage record. | String (50)TMSDimension | No | None | |
Dimension7Seventh dimension value used to identify the mileage record. | String (50)TMSDimension | No | None | |
Dimension8Eighth dimension value used to identify the mileage record. | String (50)TMSDimension | 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 | |
MilesNumber of miles stored for this combination of dimension values. | RealTMSMiles | Yes | 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 | |
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 |
Indexes (1)
DimensionsMileageEngineCodeIdxReplacement keyMileageEngineCode,Dimension1,Dimension2,Dimension3,Dimension4,Dimension5,Dimension6,Dimension7,Dimension8Unique, alternate key.
Relations (1)
Each relation joins TMSMileageDetail to another table on the fields shown.
TMSMileageEngine→TMSMileageEngineJoin on
MileageEngineCode = TMSMileageEngine.MileageEngineCodeMany 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.