Table

RentalItemUsageHistory

Fleet item usage historical entries

Holds historical meter readings (service meter units, SMU) for fleet items. Each entry is keyed by capture date and time and the fleet item. It records the reading, an optional secondary reading, where the reading came from, and whether it was used for depreciation.

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

Fields (28)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CreationDateTimeDate and time when the usage entry was captured.UtcDateTime
RentalCreationDateTime
NoRentalItemUsageHistoryDVEntity
RentalItemThe fleet item this usage entry belongs to.Int64
RentalItemRecId
YesRentalItemTable.RecIdRentalItemUsageHistoryDVEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoRentalItemUsageHistoryDVEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DepreciationLedgerJournalLink to the ledger journal for the depreciation that used this reading.Int64
RentalAssetDeprSMUBasedLedgerJournalRefRecId
NoLedgerJournalTable.RecIdNone
DocumentReferenceNumeric identifier of the document that produced this entry.Int64
RentalSourceDocumentReference
NoNone
DocumentReferenceIdID of the source document, pointing to a fleet item movement record.String (21)
RentalDocumentReferenceId
NoRentalItemMovementTable.RentalItemMovementIdNone
InventSerialIdSerial number of the item the reading relates to.String (20)
InventSerialId
NoNone
LifetimeSMUExpected total SMU over the life of the fleet item, based on installed SMU plus expected SMU.Real
RentalItemLifetimeSMU
NoRentalItemUsageHistoryDVEntity
MeterReadingThe service meter reading recorded for the fleet item.Real
RentalItemSMU
NoRentalItemUsageHistoryDVEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PreviousSMUThe service meter reading before this entry; the metadata does not state this clearly.low confidenceReal
RentalItemSMU
NoNone
ProcessedYes/No flag showing whether the entry has been processed for invoicing.Enum
RentalProcessed
NoYes (enum)
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 lifetime value for the secondary meter.Real
RentalItemLifetimeSMU
NoNone
SecondaryPreviousSMUThe secondary meter reading before this entry.Real
RentalItemSMU
NoNone
SecondarySMUThe reading from the secondary meter.Real
RentalItemSecondarySMU
NoNone
SecondarySMUCaptureDateTimeDate and time when the secondary meter reading was captured.UtcDateTime
RentalItemSMUCaptureDateTime
NoNone
SecondarySMUUnitSymbolUnit symbol used for the secondary meter reading.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolNone
SMUUnitSymbolUnit symbol used for the main meter reading.String
UnitOfMeasureSymbol
NoRentalItemUsageHistoryDVEntity
SourceShows how the reading entered the system, such as manual entry, journal, portal or rental contract.Enum
RentalMeterReadingSource (enum)
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
TypeKind of reading: standard, start value or end value.Enum
RentalMeterReadingType (enum)
NoRentalItemUsageHistoryDVEntity
UnexpectedSMUYes/No flag marking a reading that was higher than expected.Enum
RentalItemUnexpectedSMU
NoYes (enum)
NoNone
UsedForDepreciationYes/No flag showing whether this reading was used in a depreciation calculation.Enum
RentalAssetDeprSMUBasedUsedForDepreciation
NoYes (enum)
NoNone
VoidYes/No flag marking the reading as not valid.Enum
RentalItemUsageHistoryVoid
NoYes (enum)
NoRentalItemUsageHistoryDVEntity

Indexes (6)

Relations (6)

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

  • ItemMovementTable → RentalItemMovementTable

    Join on Source = RentalMeterReadingSource::RentalItemMovement, DocumentReferenceId = RentalItemMovementTable.RentalItemMovementId

    Many RentalItemUsageHistory records → zero or one RentalItemMovementTable record

  • InventSerial → InventSerial

    Join on InventSerialId = InventSerial.InventSerialId

    Many RentalItemUsageHistory records → zero or one InventSerial record

  • RentalContract → RentalDocumentTable

    Join on RentalDocumentTable.DocumentType = RentalDocumentType::Contract, Source = RentalMeterReadingSource::RentalContract, DocumentReferenceId = RentalDocumentTable.RentalId

    Many RentalItemUsageHistory records → zero or one RentalDocumentTable record

  • UnitOfMeasuresSecondary → UnitOfMeasure

    Join on SecondarySMUUnitSymbol = UnitOfMeasure.Symbol

    Many RentalItemUsageHistory records → zero or one UnitOfMeasure record

  • RentalItemTable → RentalItemTable

    Join on RentalItem = RentalItemTable.RecId

    Many RentalItemUsageHistory records → exactly one RentalItemTable record

  • DepreciationLedgerJournal → LedgerJournalTable

    Join on DepreciationLedgerJournal = LedgerJournalTable.RecId

    Many RentalItemUsageHistory records → zero or one LedgerJournalTable record

Get this data out

Tables are not exposed directly. These public entities read from RentalItemUsageHistory; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk