Table

RentalItemUsage

Fleet item usage

Holds current usage and location data for each fleet item. It covers usage counters for the current contract, service meter unit (SMU) readings, expected lifetime values and the last GPS position. The key is the fleet item.

Table name
RentalItemUsage
Module
Rental management
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
None
Replacement key
RentalItemIdx
Key fields
RentalItem
Model
RentalManagement

Fields (32)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RentalItemPoints to the fleet item (by system record ID) that this usage record belongs to.Int64
RefRecId
YesRentalItemTable.RecIdNone
CurrentUsageCounterCounter reading at present for the current contract.Real
RentalItemUsageVolume
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EndUsageCounterCounter reading taken when the current contract finishes.Real
RentalItemUsageVolume
NoNone
EndUsageDateEnd date of the current contract.Date
TransDate
NoNone
EstimatedPeriodNumberNumber of periods used for the usage estimate.Integer
NumberOf
NoNone
EstimatedPeriodTypeUnit of the estimated period: day, week, month, quarter or year.Enum
DayWeekMonthQuarterYear (enum)
NoNone
EstimatedPeriodUsageExpected usage of the fleet item in one estimated period.Real
RentalItemUsageVolume
NoNone
GPSLatitudeLatitude of the item's last recorded GPS position.Real
RentalGPSLatitude
NoNone
GPSLatitudeBearingShows whether the latitude is north or south.Enum
RentalGPSLatitudeBearing (enum)
NoNone
GPSLocationTypeKind of position fix, such as GPS, DOP, last known or unavailable.Enum
RentalGPSLocationType (enum)
NoNone
GPSLongitudeLongitude of the item's last recorded GPS position.Real
RentalGPSLongitude
NoNone
GPSLongitudeBearingShows whether the longitude is west or east.Enum
RentalGPSLongitudeBearing (enum)
NoNone
GPSPositionCreatedDate and time when the GPS position was captured.UtcDateTime
RentalGPSPositionCreated
NoNone
IsUsageCounterMandatoryYes/no flag showing whether a usage counter reading is required.Enum
RentalItemUsageCounter
NoYes (enum)
NoNone
IsUsageRequiredSetting for whether usage is required: default, yes or no.Enum
RentalUsageRequired (enum)
NoNone
LifetimeSMUExpected total SMU over the item's life.Real
RentalItemLifetimeSMU
NoNone
MeasureDateDate when the current counter setting was measured.Date
TransDate
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
SecondaryLifetimeSMUExpected total life for the secondary SMU.Real
RentalItemLifetimeSMU
NoNone
SecondarySMULastMost recent reading of the secondary meter.Real
RentalItemSecondarySMU
NoNone
SecondarySMULastCaptureDateTimeDate and time when the last secondary SMU reading was captured.UtcDateTime
RentalItemSMUCaptureDateTime
NoNone
SecondarySMUUnitSymbolUnit of measure symbol for the secondary SMU. It points to the unit table.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolNone
SMULastMost recent service meter unit (SMU) reading.Real
RentalItemSMU
NoNone
SMULastCaptureDateTimeDate and time when the last SMU reading was captured.UtcDateTime
RentalItemSMUCaptureDateTime
NoNone
SMUUnitSymbolUnit of measure symbol for the SMU. It points to the unit table.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolNone
StartUsageCounterCounter reading taken when the current contract begins.Real
RentalItemUsageVolume
NoNone
StartUsageDateStart date of the current contract.Date
TransDate
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • RentalItemIdxReplacement key

    RentalItem

    Unique, alternate key.

Relations (3)

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

  • RentalItemTable → RentalItemTable

    Join on RentalItem = RentalItemTable.RecId

    Zero or one RentalItemUsage record → exactly one RentalItemTable record

  • SecondaryUnitOfMeasure → UnitOfMeasure

    Join on SecondarySMUUnitSymbol = UnitOfMeasure.Symbol

    Many RentalItemUsage records → zero or one UnitOfMeasure record

  • UnitOfMeasure → UnitOfMeasure

    Join on SMUUnitSymbol = UnitOfMeasure.Symbol

    Many RentalItemUsage records → exactly one UnitOfMeasure record

Get this data out

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

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

Email sales@drdynamics.co.uk