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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RentalDocumentTableRental contract or quotation that the line belongs to. | Int64RentalDocumentTableRecId | Yes | RentalDocumentTable.RecId | RentalContractLineEntityRentalQuotationLineEntityRentalContractLineItemDVEntity |
LineNumNumber of the line within the rental document. | RealLineNum | Yes | RentalContractLineEntityRentalContractLineEntityRentalQuotationLineEntityand 6 more | |
AdjustedFirstMonthYes or No flag showing whether calendar calculation records were made with the adjusted first month option. | EnumRentalAdjustedFirstMonthNoYes (enum) | No | None | |
AmountAmount of the line. | RealAmount | No | RentalContractLineEntityRentalQuotationLineEntity | |
ApplicationPriceFactorDefault application price factor for new contracts or quotations. | Int64RentalPriceFactorRecId | No | RentalPriceFactor.RecId | None |
ApprovalRequiredYes or No flag showing whether approval is needed for meter-based invoicing. | EnumRentalApprovalRequiredNoYes (enum) | No | None | |
AttachedToLine that this line is attached to. | Int64RentalDocumentLineRecId | No | RentalDocumentLine.RecId | None |
BestSMUCalculatedYes or No flag showing whether best-rate processing calculated meter usage for the line. | EnumNoYesIdNoYes (enum) | No | None | |
BillingScenarioBilling scenario applied to the line. | Int64RentalBillingScenarioRecId | No | RentalBillingScenario.RecId | None |
BulkItemIdItem number of the bulk item on the line. | String (20)ItemId | No | InventTable.ItemId | None |
CalculationBaseBase used to calculate the line: rental fee, asking price or rental rate. | EnumRentalCalculationBase (enum) | No | RentalContractLineEntityRentalQuotationLineEntity | |
CallOffDateCall-off date of the line. | DateRentalCallOffDate | No | RentalContractLineEntityRentalQuotationLineEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionFinancial dimension values set for the line. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
EndDateTimeEnd date and time of the line. | UtcDateTimeEndDateTime | No | RentalContractLineEntityRentalQuotationLineEntity | |
EstReturnDateTimeExpected date and time of return. | UtcDateTimeRentalEstimatedReturnDateTime | No | RentalContractLineEntityRentalQuotationLineEntity | |
FinalInvoiceYes or No flag showing whether the charge applies only on the final invoice. | EnumRentalFinalInvoiceNoYes (enum) | No | RentalContractLineEntityRentalQuotationLineEntity | |
FinTagFinancial tag linked to the line. | Int64FinTagRecId | No | FinTag.RecId | None |
InsuranceExpiryLogInsurance expiry log record linked to the line. | Int64RentalInsuranceExpiryLogRecId | No | RentalInsuranceExpiryLog.RecId | None |
InvoiceFromDateFirst invoice-to date to create. | DateRentalInvoiceFrom | Yes | RentalContractLineEntityRentalQuotationLineEntity | |
InvoiceUntilDateLast invoice-to date to create. | DateRentalInvoiceUntilDate | No | RentalContractLineEntityRentalQuotationLineEntity | |
IsMainLineYes or No flag marking the main rental fee line. | EnumNoYesIdNoYes (enum) | No | RentalContractLineEntityRentalQuotationLineEntity | |
IsMiscChargeYes or No flag marking a miscellaneous charge, such as delivery or fuel, instead of a rental fee. | EnumNoYesIdNoYes (enum) | No | RentalContractLineEntityRentalQuotationLineEntity | |
JobSiteJob site linked to the line. | Int64RentalJobSiteRecId | No | RentalJobSite.RecId | RentalContractLineEntityRentalQuotationLineEntity |
LiabilityInsuranceLiability insurance record linked to the line. | Int64RentalInsuranceRecId | No | RentalInsurance.RecId | None |
LineNotesFree-text description of the line. | String (250)RentalDocumentLineNotes | No | RentalContractLineEntityRentalQuotationLineEntity | |
LineStatusCurrent status of the line: active, closed, call-offs or best rate calculation. | EnumRentalDocumentLineStatus (enum) | No | RentalContractLineEntityRentalQuotationLineEntity | |
LineTypeShows whether the rental line is a normal amount or a percentage of another amount. | EnumRentalLineCalculationMethod (enum) | No | RentalContractLineEntityRentalQuotationLineEntity | |
LocationPriceFactorDefault location price factor for new contracts or quotations. | Int64RentalPriceFactorRecId | No | RentalPriceFactor.RecId | None |
LogisticsPostalAddressPostal address used for the line. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
MaxAmountUpper limit for a percentage-based miscellaneous charge. | RealRentalMaxAmount | No | RentalContractLineEntityRentalQuotationLineEntity | |
MiscChargeTypeKind of miscellaneous charge, such as recurring, once or supplemental, at header or line level. | EnumRentalMiscChargeType (enum) | No | RentalContractLineEntityRentalQuotationLineEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
NameShort name of the rental line. | String (30)RentalName30 | No | RentalContractLineEntityRentalQuotationLineEntity | |
NextInvoiceDueDateDate when the next invoice is due. | DateRentalNextInvoiceDueDate | No | None | |
NoFeeYes or No flag showing whether the line is left out of fee calculation. | EnumNoYesIdNoYes (enum) | No | RentalContractLineEntityRentalQuotationLineEntity | |
NoFeeOnNegativeYes or No flag that stops an invoice line when the main line gives a negative schedule line. | EnumNoYesIdNoYes (enum) | No | None | |
NoticeToOwnerNotice to owner record linked to the line. | Int64RentalNoticeToOwnerRecId | No | RentalNoticeToOwner.RecId | None |
OvertimeBillingMethodHow overtime is billed: by period, last reading or end of contract. | EnumRentalSMUOvertimeBillingMethod (enum) | No | RentalContractLineEntityRentalQuotationLineEntity | |
ParentDocumentLineParent line of this line. | Int64RentalDocumentLineRecId | No | RentalDocumentLine.RecId | RentalContractLineEntityRentalQuotationLineEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PercentPercentage value used on the line. | RealPercent | No | RentalContractLineEntityRentalQuotationLineEntity | |
PickupRentalLocationIdFleet location where the item is picked up. | String (100)RentalPickupRentalLocationId | No | RentalLocation.LocationId | RentalContractLineEntityRentalQuotationLineEntity |
PreviousLineStatusStatus the line had before its current status. | EnumRentalDocumentLineStatus (enum) | No | None | |
PropertyInsuranceProperty insurance record linked to the line. | Int64RentalInsuranceRecId | No | RentalInsurance.RecId | None |
PurchPricePurchase price of the rental line. | RealRentalDocumentLinePurchPrice | No | RentalContractLineEntityRentalQuotationLineEntity | |
QtyQuantity on the line. | RealQty | No | RentalContractLineEntityRentalQuotationLineEntity | |
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 | |
RentalClassRental class of the line. | Int64RentalClassTableRecId | No | RentalClassTable.RecId | RentalContractLineEntityRentalQuotationLineEntity |
RentalRateTypeType of rate used: default, customer group or customer. | EnumRentalLineRateType (enum) | No | RentalContractLineEntityRentalQuotationLineEntity | |
RevenueCategoryRevenue category of the line. | Int64RentalRevenueCategoryRecId | No | RentalRevenueCategory.RecId | None |
ShiftPriceFactorDefault shift price factor for new contracts or quotations. | Int64RentalPriceFactorRecId | No | RentalPriceFactor.RecId | None |
ShipFromInventLocationIdWarehouse that the fleet item ships from. | StringRentalShipFromInventLocationId | No | InventLocation.InventLocationId | None |
ShipToRule for the delivery address: address, customer, job site or pickup fleet location. | EnumRentalMainAddressRule (enum) | No | RentalContractLineEntityRentalQuotationLineEntity | |
SkipRateUpdateYes or No flag. Label is missing, so the exact meaning is not stated in the metadata.low confidence | EnumNoYesIdNoYes (enum) | No | None | |
SMUBasedChargeYes or No flag showing whether the miscellaneous charge depends on service meter usage. | EnumRentalSMUBasedChargeNoYes (enum) | No | None | |
SMUMinHoursMinimum hours charged whatever the meter usage. | RealRentalSMUMinHours | No | RentalContractLineEntityRentalQuotationLineEntity | |
SMUMinHoursModifiedYes or No flag. Label is missing, but the name suggests the minimum hours were changed.low confidence | EnumNoYesIdNoYes (enum) | No | None | |
SMUPeriodEndDateTimeEnd of the period used for meter usage. | UtcDateTimeEndDateTime | No | None | |
SMUPeriodStartDateTimeStart of the period used for meter usage. | UtcDateTimeStartDateTime | No | None | |
SMUUsageMeter usage, as the difference between current and previous readings. | RealRentalUsage | No | RentalContractLineEntityRentalQuotationLineEntity | |
StartDateTimeStart date and time of the line. | UtcDateTimeStartDateTime | No | RentalContractLineEntityRentalQuotationLineEntity | |
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 | |
TaxGroupSales tax group of the line. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | RentalContractLineEntityRentalQuotationLineEntity |
TaxItemGroupItem sales tax group of the line. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | RentalContractLineEntityRentalQuotationLineEntity |
TemplateLineIdRental template line that the line came from. | StringRentalTemplateLineId | Yes | RentalContractLineEntityRentalQuotationLineEntity | |
UseSeparateAddressYes or No flag showing whether the line uses an address different from the header. | EnumNoYesIdNoYes (enum) | No | None |
Indexes (19)
LineIdxReplacement keyUnique, alternate key.
DimensionAttributeValueSetIdxNot unique.
RentalClassTableIdxNot unique.
RentalBillingScenarioTableIdxNot unique.
InventTableIdxNot unique.
NoticeToOwnerIdxNot unique.
AttachedToIdxNot unique.
RentalInsuranceIdxNot unique.
RentalInsuranceExpiryLogIdxNot unique.
ParentDocumentLineIdxNot unique.
RentalJobSiteIdxNot unique.
PickupRentalLocationIdxNot unique.
LogisticsPostalAddressIdxNot unique.
TaxGroupHeadingIdxNot unique.
TaxItemGroupHeadingIdxNot unique.
ApplicationPriceFactorIdxNot unique.
ShiftPriceFactorIdxNot unique.
LocationPriceFactorIdxNot unique.
RentalRevenueCategoryIdxNot unique.
Relations (23)
Each relation joins RentalDocumentLine to another table on the fields shown.
AttachedTo→RentalDocumentLineJoin on
AttachedTo = RentalDocumentLine.RecIdMany RentalDocumentLine records → zero or one RentalDocumentLine record
BillingScenario→RentalBillingScenarioJoin on
BillingScenario = RentalBillingScenario.RecIdMany RentalDocumentLine records → zero or one RentalBillingScenario record
ClassTable→RentalClassTableJoin on
RentalClass = RentalClassTable.RecIdMany RentalDocumentLine records → zero or one RentalClassTable record
Dimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany RentalDocumentLine records → zero or one DimensionAttributeValueSet record
InsuranceExpiryLog→RentalInsuranceExpiryLogJoin on
InsuranceExpiryLog = RentalInsuranceExpiryLog.RecIdMany RentalDocumentLine records → zero or one RentalInsuranceExpiryLog record
InventTable→InventTableJoin on
BulkItemId = InventTable.ItemIdMany RentalDocumentLine records → zero or one InventTable record
LiabilityInsurance→RentalInsuranceJoin on
LiabilityInsurance = RentalInsurance.RecIdMany RentalDocumentLine records → zero or one RentalInsurance record
RentalDocumentTable→RentalDocumentTableJoin on
RentalDocumentTable = RentalDocumentTable.RecIdMany RentalDocumentLine records → exactly one RentalDocumentTable record
NoticeToOwner→RentalNoticeToOwnerJoin on
NoticeToOwner = RentalNoticeToOwner.RecIdMany RentalDocumentLine records → zero or one RentalNoticeToOwner record
ParentDocumentLine→RentalDocumentLineJoin on
ParentDocumentLine = RentalDocumentLine.RecIdMany RentalDocumentLine records → zero or one RentalDocumentLine record
PropertyInsurance→RentalInsuranceJoin on
PropertyInsurance = RentalInsurance.RecIdMany RentalDocumentLine records → zero or one RentalInsurance record
JobSite→RentalJobSiteJoin on
JobSite = RentalJobSite.RecIdMany RentalDocumentLine records → zero or one RentalJobSite record
LogisticsPostalAddress→LogisticsPostalAddressJoin on
LogisticsPostalAddress = LogisticsPostalAddress.RecIdMany RentalDocumentLine records → zero or one LogisticsPostalAddress record
PickupRentalLoc→RentalLocationJoin on
PickupRentalLocationId = RentalLocation.LocationIdMany RentalDocumentLine records → zero or one RentalLocation record
TaxGroup→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany RentalDocumentLine records → zero or one TaxGroupHeading record
TaxItemGroup→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany RentalDocumentLine records → zero or one TaxItemGroupHeading record
ShipFromInventLocation→InventLocationJoin on
ShipFromInventLocationId = InventLocation.InventLocationIdMany RentalDocumentLine records → zero or one InventLocation record
ApplicationPriceFactor→RentalPriceFactorJoin on
RentalPriceFactor.PriceFactorType = null,ApplicationPriceFactor = RentalPriceFactor.RecIdMany RentalDocumentLine records → zero or one RentalPriceFactor record
RevenueCategory→RentalRevenueCategoryJoin on
RevenueCategory = RentalRevenueCategory.RecIdMany RentalDocumentLine records → zero or one RentalRevenueCategory record
ShiftPriceFactor→RentalPriceFactorJoin on
RentalPriceFactor.PriceFactorType = RentalPriceFactorType::Shift,ShiftPriceFactor = RentalPriceFactor.RecIdMany RentalDocumentLine records → zero or one RentalPriceFactor record
LocationPriceFactor→RentalPriceFactorJoin on
RentalPriceFactor.PriceFactorType = RentalPriceFactorType::Location,LocationPriceFactor = RentalPriceFactor.RecIdMany RentalDocumentLine records → zero or one RentalPriceFactor record
RentalTemplateLine→RentalTemplateLineJoin on
TemplateLineId = RentalTemplateLine.TemplateLineIdMany RentalDocumentLine records → exactly one RentalTemplateLine record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany 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.
RentalContractLineEntity· 36 fields from this tableRentalQuotationLineEntity· 36 fields from this tableRentalContractLinePriceEntity· 1 field from this tableRentalQuotationLinePriceEntity· 1 field from this tableRentalContractLineItemEntity· 1 field from this tableRentalQuotationLineItemEntity· 1 field from this tableRentalContractLineItemDVEntity· 2 fields from this table
Need help with RentalDocumentLine in a report, an integration or a migration? Talk to Dr Dynamics.