Table

RentalDocumentLine

Rental document lines

Holds the lines of rental contracts and quotations. Each line belongs to a rental document and is keyed by that document and a line number. A line can carry prices, fees, miscellaneous charges, dates, addresses, tax groups and meter-based (SMU) settings. Lines can also link to a parent line or to an attached line.

Table name
RentalDocumentLine
Module
Rental management
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
None
Replacement key
LineIdx
Key fields
RentalDocumentTable, LineNum
Model
RentalManagement

Fields (70)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RentalDocumentTableRental contract or quotation that the line belongs to.Int64
RentalDocumentTableRecId
YesRentalDocumentTable.RecIdRentalContractLineEntityRentalQuotationLineEntityRentalContractLineItemDVEntity
LineNumNumber of the line within the rental document.Real
LineNum
YesRentalContractLineEntityRentalContractLineEntityRentalQuotationLineEntityand 6 more
AdjustedFirstMonthYes or No flag showing whether calendar calculation records were made with the adjusted first month option.Enum
RentalAdjustedFirstMonth
NoYes (enum)
NoNone
AmountAmount of the line.Real
Amount
NoRentalContractLineEntityRentalQuotationLineEntity
ApplicationPriceFactorDefault application price factor for new contracts or quotations.Int64
RentalPriceFactorRecId
NoRentalPriceFactor.RecIdNone
ApprovalRequiredYes or No flag showing whether approval is needed for meter-based invoicing.Enum
RentalApprovalRequired
NoYes (enum)
NoNone
AttachedToLine that this line is attached to.Int64
RentalDocumentLineRecId
NoRentalDocumentLine.RecIdNone
BestSMUCalculatedYes or No flag showing whether best-rate processing calculated meter usage for the line.Enum
NoYesId
NoYes (enum)
NoNone
BillingScenarioBilling scenario applied to the line.Int64
RentalBillingScenarioRecId
NoRentalBillingScenario.RecIdNone
BulkItemIdItem number of the bulk item on the line.String (20)
ItemId
NoInventTable.ItemIdNone
CalculationBaseBase used to calculate the line: rental fee, asking price or rental rate.Enum
RentalCalculationBase (enum)
NoRentalContractLineEntityRentalQuotationLineEntity
CallOffDateCall-off date of the line.Date
RentalCallOffDate
NoRentalContractLineEntityRentalQuotationLineEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionFinancial dimension values set for the line.Int64
LedgerDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
EndDateTimeEnd date and time of the line.UtcDateTime
EndDateTime
NoRentalContractLineEntityRentalQuotationLineEntity
EstReturnDateTimeExpected date and time of return.UtcDateTime
RentalEstimatedReturnDateTime
NoRentalContractLineEntityRentalQuotationLineEntity
FinalInvoiceYes or No flag showing whether the charge applies only on the final invoice.Enum
RentalFinalInvoice
NoYes (enum)
NoRentalContractLineEntityRentalQuotationLineEntity
FinTagFinancial tag linked to the line.Int64
FinTagRecId
NoFinTag.RecIdNone
InsuranceExpiryLogInsurance expiry log record linked to the line.Int64
RentalInsuranceExpiryLogRecId
NoRentalInsuranceExpiryLog.RecIdNone
InvoiceFromDateFirst invoice-to date to create.Date
RentalInvoiceFrom
YesRentalContractLineEntityRentalQuotationLineEntity
InvoiceUntilDateLast invoice-to date to create.Date
RentalInvoiceUntilDate
NoRentalContractLineEntityRentalQuotationLineEntity
IsMainLineYes or No flag marking the main rental fee line.Enum
NoYesId
NoYes (enum)
NoRentalContractLineEntityRentalQuotationLineEntity
IsMiscChargeYes or No flag marking a miscellaneous charge, such as delivery or fuel, instead of a rental fee.Enum
NoYesId
NoYes (enum)
NoRentalContractLineEntityRentalQuotationLineEntity
JobSiteJob site linked to the line.Int64
RentalJobSiteRecId
NoRentalJobSite.RecIdRentalContractLineEntityRentalQuotationLineEntity
LiabilityInsuranceLiability insurance record linked to the line.Int64
RentalInsuranceRecId
NoRentalInsurance.RecIdNone
LineNotesFree-text description of the line.String (250)
RentalDocumentLineNotes
NoRentalContractLineEntityRentalQuotationLineEntity
LineStatusCurrent status of the line: active, closed, call-offs or best rate calculation.Enum
RentalDocumentLineStatus (enum)
NoRentalContractLineEntityRentalQuotationLineEntity
LineTypeShows whether the rental line is a normal amount or a percentage of another amount.Enum
RentalLineCalculationMethod (enum)
NoRentalContractLineEntityRentalQuotationLineEntity
LocationPriceFactorDefault location price factor for new contracts or quotations.Int64
RentalPriceFactorRecId
NoRentalPriceFactor.RecIdNone
LogisticsPostalAddressPostal address used for the line.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
MaxAmountUpper limit for a percentage-based miscellaneous charge.Real
RentalMaxAmount
NoRentalContractLineEntityRentalQuotationLineEntity
MiscChargeTypeKind of miscellaneous charge, such as recurring, once or supplemental, at header or line level.Enum
RentalMiscChargeType (enum)
NoRentalContractLineEntityRentalQuotationLineEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
NameShort name of the rental line.String (30)
RentalName30
NoRentalContractLineEntityRentalQuotationLineEntity
NextInvoiceDueDateDate when the next invoice is due.Date
RentalNextInvoiceDueDate
NoNone
NoFeeYes or No flag showing whether the line is left out of fee calculation.Enum
NoYesId
NoYes (enum)
NoRentalContractLineEntityRentalQuotationLineEntity
NoFeeOnNegativeYes or No flag that stops an invoice line when the main line gives a negative schedule line.Enum
NoYesId
NoYes (enum)
NoNone
NoticeToOwnerNotice to owner record linked to the line.Int64
RentalNoticeToOwnerRecId
NoRentalNoticeToOwner.RecIdNone
OvertimeBillingMethodHow overtime is billed: by period, last reading or end of contract.Enum
RentalSMUOvertimeBillingMethod (enum)
NoRentalContractLineEntityRentalQuotationLineEntity
ParentDocumentLineParent line of this line.Int64
RentalDocumentLineRecId
NoRentalDocumentLine.RecIdRentalContractLineEntityRentalQuotationLineEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PercentPercentage value used on the line.Real
Percent
NoRentalContractLineEntityRentalQuotationLineEntity
PickupRentalLocationIdFleet location where the item is picked up.String (100)
RentalPickupRentalLocationId
NoRentalLocation.LocationIdRentalContractLineEntityRentalQuotationLineEntity
PreviousLineStatusStatus the line had before its current status.Enum
RentalDocumentLineStatus (enum)
NoNone
PropertyInsuranceProperty insurance record linked to the line.Int64
RentalInsuranceRecId
NoRentalInsurance.RecIdNone
PurchPricePurchase price of the rental line.Real
RentalDocumentLinePurchPrice
NoRentalContractLineEntityRentalQuotationLineEntity
QtyQuantity on the line.Real
Qty
NoRentalContractLineEntityRentalQuotationLineEntity
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
RentalClassRental class of the line.Int64
RentalClassTableRecId
NoRentalClassTable.RecIdRentalContractLineEntityRentalQuotationLineEntity
RentalRateTypeType of rate used: default, customer group or customer.Enum
RentalLineRateType (enum)
NoRentalContractLineEntityRentalQuotationLineEntity
RevenueCategoryRevenue category of the line.Int64
RentalRevenueCategoryRecId
NoRentalRevenueCategory.RecIdNone
ShiftPriceFactorDefault shift price factor for new contracts or quotations.Int64
RentalPriceFactorRecId
NoRentalPriceFactor.RecIdNone
ShipFromInventLocationIdWarehouse that the fleet item ships from.String
RentalShipFromInventLocationId
NoInventLocation.InventLocationIdNone
ShipToRule for the delivery address: address, customer, job site or pickup fleet location.Enum
RentalMainAddressRule (enum)
NoRentalContractLineEntityRentalQuotationLineEntity
SkipRateUpdateYes or No flag. Label is missing, so the exact meaning is not stated in the metadata.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
SMUBasedChargeYes or No flag showing whether the miscellaneous charge depends on service meter usage.Enum
RentalSMUBasedCharge
NoYes (enum)
NoNone
SMUMinHoursMinimum hours charged whatever the meter usage.Real
RentalSMUMinHours
NoRentalContractLineEntityRentalQuotationLineEntity
SMUMinHoursModifiedYes or No flag. Label is missing, but the name suggests the minimum hours were changed.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
SMUPeriodEndDateTimeEnd of the period used for meter usage.UtcDateTime
EndDateTime
NoNone
SMUPeriodStartDateTimeStart of the period used for meter usage.UtcDateTime
StartDateTime
NoNone
SMUUsageMeter usage, as the difference between current and previous readings.Real
RentalUsage
NoRentalContractLineEntityRentalQuotationLineEntity
StartDateTimeStart date and time of the line.UtcDateTime
StartDateTime
NoRentalContractLineEntityRentalQuotationLineEntity
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
TaxGroupSales tax group of the line.String
TaxGroup
NoTaxGroupHeading.TaxGroupRentalContractLineEntityRentalQuotationLineEntity
TaxItemGroupItem sales tax group of the line.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupRentalContractLineEntityRentalQuotationLineEntity
TemplateLineIdRental template line that the line came from.String
RentalTemplateLineId
YesRentalContractLineEntityRentalQuotationLineEntity
UseSeparateAddressYes or No flag showing whether the line uses an address different from the header.Enum
NoYesId
NoYes (enum)
NoNone

Indexes (19)

Relations (23)

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

  • AttachedTo → RentalDocumentLine

    Join on AttachedTo = RentalDocumentLine.RecId

    Many RentalDocumentLine records → zero or one RentalDocumentLine record

  • BillingScenario → RentalBillingScenario

    Join on BillingScenario = RentalBillingScenario.RecId

    Many RentalDocumentLine records → zero or one RentalBillingScenario record

  • ClassTable → RentalClassTable

    Join on RentalClass = RentalClassTable.RecId

    Many RentalDocumentLine records → zero or one RentalClassTable record

  • Dimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many RentalDocumentLine records → zero or one DimensionAttributeValueSet record

  • InsuranceExpiryLog → RentalInsuranceExpiryLog

    Join on InsuranceExpiryLog = RentalInsuranceExpiryLog.RecId

    Many RentalDocumentLine records → zero or one RentalInsuranceExpiryLog record

  • InventTable → InventTable

    Join on BulkItemId = InventTable.ItemId

    Many RentalDocumentLine records → zero or one InventTable record

  • LiabilityInsurance → RentalInsurance

    Join on LiabilityInsurance = RentalInsurance.RecId

    Many RentalDocumentLine records → zero or one RentalInsurance record

  • RentalDocumentTable → RentalDocumentTable

    Join on RentalDocumentTable = RentalDocumentTable.RecId

    Many RentalDocumentLine records → exactly one RentalDocumentTable record

  • NoticeToOwner → RentalNoticeToOwner

    Join on NoticeToOwner = RentalNoticeToOwner.RecId

    Many RentalDocumentLine records → zero or one RentalNoticeToOwner record

  • ParentDocumentLine → RentalDocumentLine

    Join on ParentDocumentLine = RentalDocumentLine.RecId

    Many RentalDocumentLine records → zero or one RentalDocumentLine record

  • PropertyInsurance → RentalInsurance

    Join on PropertyInsurance = RentalInsurance.RecId

    Many RentalDocumentLine records → zero or one RentalInsurance record

  • JobSite → RentalJobSite

    Join on JobSite = RentalJobSite.RecId

    Many RentalDocumentLine records → zero or one RentalJobSite record

  • LogisticsPostalAddress → LogisticsPostalAddress

    Join on LogisticsPostalAddress = LogisticsPostalAddress.RecId

    Many RentalDocumentLine records → zero or one LogisticsPostalAddress record

  • PickupRentalLoc → RentalLocation

    Join on PickupRentalLocationId = RentalLocation.LocationId

    Many RentalDocumentLine records → zero or one RentalLocation record

  • TaxGroup → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many RentalDocumentLine records → zero or one TaxGroupHeading record

  • TaxItemGroup → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many RentalDocumentLine records → zero or one TaxItemGroupHeading record

  • ShipFromInventLocation → InventLocation

    Join on ShipFromInventLocationId = InventLocation.InventLocationId

    Many RentalDocumentLine records → zero or one InventLocation record

  • ApplicationPriceFactor → RentalPriceFactor

    Join on RentalPriceFactor.PriceFactorType = null, ApplicationPriceFactor = RentalPriceFactor.RecId

    Many RentalDocumentLine records → zero or one RentalPriceFactor record

  • RevenueCategory → RentalRevenueCategory

    Join on RevenueCategory = RentalRevenueCategory.RecId

    Many RentalDocumentLine records → zero or one RentalRevenueCategory record

  • ShiftPriceFactor → RentalPriceFactor

    Join on RentalPriceFactor.PriceFactorType = RentalPriceFactorType::Shift, ShiftPriceFactor = RentalPriceFactor.RecId

    Many RentalDocumentLine records → zero or one RentalPriceFactor record

  • LocationPriceFactor → RentalPriceFactor

    Join on RentalPriceFactor.PriceFactorType = RentalPriceFactorType::Location, LocationPriceFactor = RentalPriceFactor.RecId

    Many RentalDocumentLine records → zero or one RentalPriceFactor record

  • RentalTemplateLine → RentalTemplateLine

    Join on TemplateLineId = RentalTemplateLine.TemplateLineId

    Many RentalDocumentLine records → exactly one RentalTemplateLine record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many RentalDocumentLine records → zero or one FinTag record

Get this data out

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

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

Email sales@drdynamics.co.uk