Data entity

RentalContractLineItemEntity

Read-only list of fleet items on rental contract lines. It is keyed by rental ID, line number, fleet item number and closed time. It holds status, dates, meter and fuel readings at start and end, and invoicing period. It also holds revenue percentage, rental class and reservation ID.

Entity name
RentalContractLineItemEntity
Public entity name
RentalContractLineItem
OData collection
RentalContractLineItems
Category
Document
Module
Rental management
Read-only
Yes
Data management enabled
Yes
Configuration key
Rental
Keys
RentalContractId, LineNumber, RentalItemNumber, ClosedDateTime
Staging table
RentalContractLineItemStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/RentalContractLineItems
Dataverse virtual table
mserp_rentalcontractlineitementity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • RentalDocumentLineItem · root · read-only
  • RentalDocumentLine · InnerJoin to RentalDocumentLineItem · read-only
  • RentalDocumentTable · InnerJoin to RentalDocumentLine · read-only
  • RentalItemTable · InnerJoin to RentalDocumentLineItem · read-only
  • RentalClassTable · OuterJoin to RentalDocumentLineItem · read-only
  • RentalItemReservationTable · OuterJoin to RentalDocumentLineItem · read-only
  • ReplacedRentalDocumentLineItem (table RentalDocumentLineItem) · OuterJoin to RentalDocumentLineItem · read-only
  • ReplacedRentalItemTable (table RentalItemTable) · InnerJoin to ReplacedRentalDocumentLineItem · read-only

Fields (31)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
RentalContractIdUnique ID of the rental contract or quotation.String (21)
RentalId
YesYesRentalDocumentTable.RentalId
LineNumberNumber of the line within the rental document.Real
LineNum
YesYesRentalDocumentLine.LineNum
RentalItemNumberUnique number of the fleet item. It is the key of the table.String (20)
RentalItemId
YesYesRentalItemTable.RentalItemId
StatusShows whether the line item is active or closed.Enum
RentalDocumentLineItemStatus
  • Active 0
  • Closed 1
NoYesRentalDocumentLineItem.Status
StartDateTimeStart date and time for the item.UtcDateTime
StartDateTime
YesYesRentalDocumentLineItem.StartDateTime
EndDateTimeEnd date and time for the item.UtcDateTime
EndDateTime
NoYesRentalDocumentLineItem.EndDateTime
DeliveryDateDate the item is delivered.Date
DlvDate
NoYesRentalDocumentLineItem.DeliveryDate
PickupDateDate the item is picked up.Date
DlvDate
NoYesRentalDocumentLineItem.PickupDate
EstimatedReturnDateTimeExpected date and time of return.UtcDateTime
RentalEstimatedReturnDateTime
NoYesRentalDocumentLineItem.EstimatedReturnDateTime
StartServiceMeterUnitService meter reading when the item was shipped out.Real
RentalItemSMU
NoYesRentalDocumentLineItem.StartSMU
EndServiceMeterUnitService meter reading of the item at the end.Real
RentalItemSMU
NoYesRentalDocumentLineItem.EndSMU
StartFuelLevelFuel level of the item at the start.Real
RentalFuelLevel
NoYesRentalDocumentLineItem.StartFuelLevel
EndFuelLevelFuel level of the item at the end.Real
RentalFuelLevel
NoYesRentalDocumentLineItem.EndFuelLevel
InvoiceFromDateFirst invoice-to date to create.Date
RentalInvoiceFrom
NoYesRentalDocumentLineItem.InvoiceFrom
InvoiceUntilDateLast invoice-to date to create.Date
RentalInvoiceUntilDate
NoYesRentalDocumentLineItem.InvoiceUntil
RevenuePercentageShare of the amount recognised as revenue.Real
RentalRevenuePct
NoYesRentalDocumentLineItem.RevenuePct
IsPrimeProductYes or No flag marking the main fleet item.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalDocumentLineItem.PrimeProduct
AskingPriceAsking price of the fleet item.Real
RentalAskingPrice
NoYesRentalDocumentLineItem.AskingPrice
IsRevenueSplitForSwappedItemYes or No flag showing whether revenue is split for a swapped fleet item.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalDocumentLineItem.IsRevenueSplitForSwappedItem
ClosedByUserIdUser who closed the record.String
UserId
NoYesRentalDocumentLineItem.ClosedBy
ClosedDateTimeDate and time when the record was closed.UtcDateTime
ClosedDateTime
NoYesRentalDocumentLineItem.ClosedDateTime
RentalClassIdIdentifier of the rental class.String (20)
RentalClassId
NoYesRentalClassTable.ClassId
ReservationIdIdentifier of the reservation. It is the key of the table.String
RentalItemReservationId
NoYesRentalItemReservationTable.ReservationId
RentalItemRecIdFleet item assigned to the line.Int64
RentalItemRecId
YesNo (private)RentalItemTable.RecIdRentalDocumentLineItem.RentalItem
RentalDocumentLineRecIdRental document line that the item belongs to.Int64
RentalDocumentLineRecId
YesNo (private)RentalDocumentLine.RecIdRentalDocumentLineItem.RentalDocumentLine
RentalDocumentTableRecIdRental contract or quotation that the item belongs to.Int64
RentalDocumentTableRecId
YesNo (private)RentalDocumentTable.RecIdRentalDocumentLineItem.RentalDocumentTable
ClassTableRecIdRental class of the fleet item.Int64
RentalClassTableRecId
NoNo (private)RentalClassTable.RecIdRentalDocumentLineItem.ClassTable
ReplacedRentalItemNumberUnique number of the fleet item. It is the key of the table.String (20)
RentalItemId
NoYesRentalItemTable.RentalItemId
ReplacedDocumentLineItemClosedDateTimeDate and time when the record was closed.UtcDateTime
ClosedDateTime
NoYesRentalDocumentLineItem.ClosedDateTime
ReplacedDocumentLineItemRecIdEarlier line item that this item replaced.Int64
RentalDocumentLineItemRecId
NoNo (private)RentalDocumentLineItem.RecIdRentalDocumentLineItem.ReplacedDocumentLineItem
ReservationRecIdFleet item reservation linked to the record.Int64
RentalItemReservationTableRecId
NoNo (private)RentalItemReservationTable.RecIdRentalDocumentLineItem.Reservation

Foreign keys (6)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

Need help with RentalContractLineItemEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk