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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreationDateTimeDate and time when the usage entry was captured. | UtcDateTimeRentalCreationDateTime | No | RentalItemUsageHistoryDVEntity | |
RentalItemThe fleet item this usage entry belongs to. | Int64RentalItemRecId | Yes | RentalItemTable.RecId | RentalItemUsageHistoryDVEntity |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | RentalItemUsageHistoryDVEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DepreciationLedgerJournalLink to the ledger journal for the depreciation that used this reading. | Int64RentalAssetDeprSMUBasedLedgerJournalRefRecId | No | LedgerJournalTable.RecId | None |
DocumentReferenceNumeric identifier of the document that produced this entry. | Int64RentalSourceDocumentReference | No | None | |
DocumentReferenceIdID of the source document, pointing to a fleet item movement record. | String (21)RentalDocumentReferenceId | No | RentalItemMovementTable.RentalItemMovementId | None |
InventSerialIdSerial number of the item the reading relates to. | String (20)InventSerialId | No | None | |
LifetimeSMUExpected total SMU over the life of the fleet item, based on installed SMU plus expected SMU. | RealRentalItemLifetimeSMU | No | RentalItemUsageHistoryDVEntity | |
MeterReadingThe service meter reading recorded for the fleet item. | RealRentalItemSMU | No | RentalItemUsageHistoryDVEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PreviousSMUThe service meter reading before this entry; the metadata does not state this clearly.low confidence | RealRentalItemSMU | No | None | |
ProcessedYes/No flag showing whether the entry has been processed for invoicing. | EnumRentalProcessedNoYes (enum) | 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 | |
SecondaryLifetimeSMUExpected lifetime value for the secondary meter. | RealRentalItemLifetimeSMU | No | None | |
SecondaryPreviousSMUThe secondary meter reading before this entry. | RealRentalItemSMU | No | None | |
SecondarySMUThe reading from the secondary meter. | RealRentalItemSecondarySMU | No | None | |
SecondarySMUCaptureDateTimeDate and time when the secondary meter reading was captured. | UtcDateTimeRentalItemSMUCaptureDateTime | No | None | |
SecondarySMUUnitSymbolUnit symbol used for the secondary meter reading. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | None |
SMUUnitSymbolUnit symbol used for the main meter reading. | StringUnitOfMeasureSymbol | No | RentalItemUsageHistoryDVEntity | |
SourceShows how the reading entered the system, such as manual entry, journal, portal or rental contract. | EnumRentalMeterReadingSource (enum) | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TypeKind of reading: standard, start value or end value. | EnumRentalMeterReadingType (enum) | No | RentalItemUsageHistoryDVEntity | |
UnexpectedSMUYes/No flag marking a reading that was higher than expected. | EnumRentalItemUnexpectedSMUNoYes (enum) | No | None | |
UsedForDepreciationYes/No flag showing whether this reading was used in a depreciation calculation. | EnumRentalAssetDeprSMUBasedUsedForDepreciationNoYes (enum) | No | None | |
VoidYes/No flag marking the reading as not valid. | EnumRentalItemUsageHistoryVoidNoYes (enum) | No | RentalItemUsageHistoryDVEntity |
Indexes (6)
PrimaryIdxRentalItem,InventSerialId,Void,CreationDateTime,MeterReading,RecIdUnique.
ReferenceIdxNot unique.
CreationDateTimeIdxReplacement keyUnique, alternate key.
RentalItemSerialCreationDateTimeIdxRentalItem,InventSerialId,CreationDateTime,LifetimeSMU,RecIdUnique.
RentalItemVoidCreationDateTimeIdxRentalItem,Void,CreationDateTime,MeterReading,RecIdUnique.
RentalItemTypeIdxRentalItem,Type,Void,CreationDateTime,MeterReading,RecIdUnique.
Relations (6)
Each relation joins RentalItemUsageHistory to another table on the fields shown.
ItemMovementTable→RentalItemMovementTableJoin on
Source = RentalMeterReadingSource::RentalItemMovement,DocumentReferenceId = RentalItemMovementTable.RentalItemMovementIdMany RentalItemUsageHistory records → zero or one RentalItemMovementTable record
InventSerial→InventSerialJoin on
InventSerialId = InventSerial.InventSerialIdMany RentalItemUsageHistory records → zero or one InventSerial record
RentalContract→RentalDocumentTableJoin on
RentalDocumentTable.DocumentType = RentalDocumentType::Contract,Source = RentalMeterReadingSource::RentalContract,DocumentReferenceId = RentalDocumentTable.RentalIdMany RentalItemUsageHistory records → zero or one RentalDocumentTable record
UnitOfMeasuresSecondary→UnitOfMeasureJoin on
SecondarySMUUnitSymbol = UnitOfMeasure.SymbolMany RentalItemUsageHistory records → zero or one UnitOfMeasure record
RentalItemTable→RentalItemTableJoin on
RentalItem = RentalItemTable.RecIdMany RentalItemUsageHistory records → exactly one RentalItemTable record
DepreciationLedgerJournal→LedgerJournalTableJoin on
DepreciationLedgerJournal = LedgerJournalTable.RecIdMany 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.
RentalItemUsageHistoryDVEntity· 8 fields from this table
Need help with RentalItemUsageHistory in a report, an integration or a migration? Talk to Dr Dynamics.