Data entity

RentalContractLineEntity

Lines of rental contracts, keyed by rental ID and line number. It holds line type and status, rental class, quantity, amounts, dates, invoicing period, tax groups, job site and pickup location. It also holds rental rate type and notes.

Entity name
RentalContractLineEntity
Public entity name
RentalContractLine
OData collection
RentalContractLines
Category
Document
Module
Rental management
Read-only
No
Data management enabled
Yes
Configuration key
Rental
Keys
RentalContractId, LineNumber
Staging table
RentalContractLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/RentalContractLines
Dataverse virtual table
mserp_rentalcontractlineentity. 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

  • RentalDocumentLine · root
  • RentalDocumentTable · InnerJoin to RentalDocumentLine · read-only
  • RentalClassTable · OuterJoin to RentalDocumentLine · read-only
  • RentalJobSite · OuterJoin to RentalDocumentLine · read-only
  • ParentRentalDocumentLine (table RentalDocumentLine) · OuterJoin to RentalDocumentLine · read-only

Fields (39)

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
LineTypeShows whether the rental line is a normal amount or a percentage of another amount.Enum
RentalLineCalculationMethod
  • Normal 0
  • Percent 1
NoYesRentalDocumentLine.LineType
LineStatusCurrent status of the line: active, closed, call-offs or best rate calculation.Enum
RentalDocumentLineStatus
  • Active 0
  • Closed 1
  • CallOff 2
  • BestRateCalculation 3
NoYesRentalDocumentLine.LineStatus
RentalClassIdIdentifier of the rental class.String (20)
RentalClassId
NoYesRentalClassTable.ClassId
LineNameShort name of the rental line.String (30)
RentalName30
NoYesRentalDocumentLine.Name
QuantityQuantity on the line.Real
Qty
NoYesRentalDocumentLine.Qty
LineAmountAmount of the line.Real
Amount
NoYesRentalDocumentLine.Amount
MaximumAmountUpper limit for a percentage-based miscellaneous charge.Real
RentalMaxAmount
NoYesRentalDocumentLine.MaxAmount
IsMiscellaneousChargeYes or No flag marking a miscellaneous charge, such as delivery or fuel, instead of a rental fee.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalDocumentLine.IsMiscCharge
MiscellaneousChargeTypeKind of miscellaneous charge, such as recurring, once or supplemental, at header or line level.Enum
RentalMiscChargeType
  • None 0
  • HeaderRecurring 6
  • HeaderOnce 2
  • HeaderSupplemental 1
  • LineRecurring 3
  • LineOnce 4
  • LineSupplemental 5
NoYesRentalDocumentLine.MiscChargeType
IsMainLineYes or No flag marking the main rental fee line.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalDocumentLine.IsMainLine
StartDateTimeStart date and time of the line.UtcDateTime
StartDateTime
NoYesRentalDocumentLine.StartDateTime
EndDateTimeEnd date and time of the line.UtcDateTime
EndDateTime
NoYesRentalDocumentLine.EndDateTime
InvoiceFromDateFirst invoice-to date to create.Date
RentalInvoiceFrom
YesYesRentalDocumentLine.InvoiceFromDate
InvoiceUntilDateLast invoice-to date to create.Date
RentalInvoiceUntilDate
NoYesRentalDocumentLine.InvoiceUntilDate
EstimatedReturnDateTimeExpected date and time of return.UtcDateTime
RentalEstimatedReturnDateTime
NoYesRentalDocumentLine.EstReturnDateTime
SalesTaxGroupIdSales tax group of the line.String
TaxGroup
NoYesTaxGroupHeading.TaxGroupRentalDocumentLine.TaxGroup
ItemSalesTaxGroupIdItem sales tax group of the line.String
TaxItemGroup
NoYesTaxItemGroupHeading.TaxItemGroupRentalDocumentLine.TaxItemGroup
JobSiteIdUnique ID of the job site.String (20)
RentalJobSiteId
NoYesRentalJobSite.JobSiteId
ShipToRuleRule for the delivery address: address, customer, job site or pickup fleet location.Enum
RentalMainAddressRule
  • Manual 0
  • Customer 1
  • Jobsite 2
  • Pickup 3
NoYesRentalDocumentLine.ShipTo
PickupRentalLocationIdFleet location where the item is picked up.String (100)
RentalPickupRentalLocationId
NoYesRentalLocation.LocationIdRentalDocumentLine.PickupRentalLocationId
RentalRateTypeType of rate used: default, customer group or customer.Enum
RentalLineRateType
  • Default 0
  • CustomerGroup 1
  • Customer 2
NoYesRentalDocumentLine.RentalRateType
LineNotesFree-text description of the line.String (250)
RentalDocumentLineNotes
NoYesRentalDocumentLine.LineNotes
PercentagePercentage value used on the line.Real
Percent
NoYesRentalDocumentLine.Percent
PurchasePricePurchase price of the rental line.Real
RentalDocumentLinePurchPrice
NoYesRentalDocumentLine.PurchPrice
IsExcludedFromFeeCalculationYes or No flag showing whether the line is left out of fee calculation.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalDocumentLine.NoFee
IsMiscellaneousChargeOnlyOnFinalInvoiceScheduleYes or No flag showing whether the charge applies only on the final invoice.Enum
RentalFinalInvoice
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalDocumentLine.FinalInvoice
CallOffDateCall-off date of the line.Date
RentalCallOffDate
NoYesRentalDocumentLine.CallOffDate
ServiceMeterUnitUsageMeter usage, as the difference between current and previous readings.Real
RentalUsage
NoYesRentalDocumentLine.SMUUsage
ServiceMeterUnitMinimumHoursMinimum hours charged whatever the meter usage.Real
RentalSMUMinHours
NoYesRentalDocumentLine.SMUMinHours
MiscChargeCalculationBaseBase used to calculate the line: rental fee, asking price or rental rate.Enum
RentalCalculationBase
  • RentalFee 0
  • AskingPrice 1
  • RentalRate 2
NoYesRentalDocumentLine.CalculationBase
OvertimeBillingMethodHow overtime is billed: by period, last reading or end of contract.Enum
RentalSMUOvertimeBillingMethod
  • Period 0
  • LastReading 1
  • EndOfContract 2
NoYesRentalDocumentLine.OvertimeBillingMethod
TemplateLineIdRental template line that the line came from.String
RentalTemplateLineId
YesYesRentalDocumentLine.TemplateLineId
ParentLineNumberNumber of the line within the rental document.Real
LineNum
YesYesRentalDocumentLine.LineNum
RentalDocumentTableRecIdRental contract or quotation that the line belongs to.Int64
RentalDocumentTableRecId
YesNo (private)RentalDocumentTable.RecIdRentalDocumentLine.RentalDocumentTable
RentalClassRecIdRental class of the line.Int64
RentalClassTableRecId
NoNo (private)RentalClassTable.RecIdRentalDocumentLine.RentalClass
ParentDocumentLineRecIdParent line of this line.Int64
RentalDocumentLineRecId
NoNo (private)RentalDocumentLine.RecIdRentalDocumentLine.ParentDocumentLine
JobSiteRecIdJob site linked to the line.Int64
RentalJobSiteRecId
NoNo (private)RentalJobSite.RecIdRentalDocumentLine.JobSite

Foreign keys (7)

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 RentalContractLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk