Data entity

RentalTemplateLineEntity

Lines of a rental template, such as fees and charges. Each line has an amount, percentage, calculation base and method, fee type, miscellaneous charge type and a validity range. It can link to a revenue category and default dimensions. The key is template ID and template line ID.

Entity name
RentalTemplateLineEntity
Public entity name
RentalTemplateLine
OData collection
RentalTemplateLines
Category
Reference
Module
Rental management
Read-only
No
Data management enabled
Yes
Configuration key
Rental
Keys
TemplateId, TemplateLineId
Staging table
RentalTemplateLineStaging

Use it in Power BI and Power Platform

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

  • RentalTemplateLine · root
  • RentalTemplate · InnerJoin to RentalTemplateLine · read-only
  • RevenueCat (table RentalRevenueCategory) · InnerJoin to RentalTemplateLine · read-only
  • DimensionDAVS (table DimensionSetEntity) · OuterJoin to RentalTemplateLine · read-only

Fields (25)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
TemplateIdUnique ID of the rental template.String
RentalTemplateId
YesYesRentalTemplate.TemplateId
TemplateLineIdID of the template line.String
RentalTemplateLineId
YesYesRentalTemplateLine.TemplateLineId
TemplateLineNameShort name of the template line.String (30)
RentalTemplateLineName
NoYesRentalTemplateLine.TemplateLineName
AmountFixed amount of the line.Real
Amount
NoYesRentalTemplateLine.Amount
CalculationBaseWhat the charge is based on: rental fee, asking price or rental rate.Enum
RentalCalculationBase
  • RentalFee 0
  • AskingPrice 1
  • RentalRate 2
NoYesRentalTemplateLine.CalculationBase
CalculationMethodWhether the line price is a normal unit amount or a percentage.Enum
RentalDocumentLineCalculationMethod
RentalLineCalculationMethod
  • Normal 0
  • Percent 1
NoYesRentalTemplateLine.CalculationMethod
IsForFinalInvoiceOnlyYes/No flag that applies the charge only on the final invoice schedule.Enum
RentalFinalInvoice
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplateLine.FinalInvoice
MaximumAmountUpper limit of the amount for a percent-type line.Real
RentalMaxAmount
NoYesRentalTemplateLine.MaxAmount
IsDamageRelatedChargeYes/No flag marking the charge as one used to record damage.Enum
RentalMiscChargeDamage
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplateLine.MiscChargeDamage
MiscChargeFeeTypeFee type of the miscellaneous charge, such as transport, fuel or repair.Enum
RentalFeeType_MiscCharge
  • Other 0
  • FTV 3
  • Transport 4
  • PropertyTax 5
  • Repair 6
  • Fuel 7
  • EnvFee 8
  • Installation 9
  • LossWaiver 10
  • AfterHours 11
  • ContigencyFee 12
  • OtherRollUp 13
NoYesRentalTemplateLine.MiscChargeFeeType
MiscChargeTypeType of miscellaneous charge: header or line level, and recurring, once or supplemental.Enum
RentalMiscChargeType
  • None 0
  • HeaderRecurring 6
  • HeaderOnce 2
  • HeaderSupplemental 1
  • LineRecurring 3
  • LineOnce 4
  • LineSupplemental 5
NoYesRentalTemplateLine.MiscChargeType
IsExcludedFromFeeCalculationYes/No flag that leaves the line out of fee calculation.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplateLine.NoFee
IsExcludedFromNegativeInvoiceFeeYes/No flag that stops an invoice line being created when the main line gives a negative schedule line.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplateLine.NoFeeOnNegative
PercentagePercentage used when the line is calculated as a percent.Real
Percent
NoYesRentalTemplateLine.Percent
RelatedToWhether the line relates to the contract header or a contract line.Enum
RentalRelatedTo
  • Header 0
  • Line 1
NoYesRentalTemplateLine.RelatedTo
WillAddDamageChargeToContractYes/No flag that adds the charge to the contract automatically as a damage charge.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplateLine.AddDamageChargeToContract
IsServiceMeterUnitBasedChargeYes/No flag showing that the charge depends on service meter unit (SMU) use.Enum
RentalSMUBasedCharge
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplateLine.SMUBasedCharge
ServiceMeterUnitMinimumHoursMinimum hours charged whatever the SMU use.Real
RentalSMUMinHours
NoYesRentalTemplateLine.SMUMinHours
RevenueCategoryIdUnique ID of the revenue category.String
RentalRevenueCategoryId
YesYesRentalRevenueCategory.RevenueCategoryId
RevenueCategoryValidFromFirst date the category is valid.Date
RentalValidFrom
YesYesRentalRevenueCategory.ValidFrom
RevenueCategoryValidToLast date the category is valid.Date
RentalValidTo
YesYesRentalRevenueCategory.ValidTo
DimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
DimensionFinancial dimension set linked to the line.Int64
LedgerDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdRentalTemplateLine.Dimension
RevenueCategoryRecIdRevenue category for the line.Int64
RentalRevenueCategoryRecId
NoNo (private)RentalRevenueCategory.RecIdRentalTemplateLine.RevenueCategory
TemplateRecIdRental template that the line belongs to.Int64
RentalTemplateRecId
NoNo (private)RentalTemplate.RecIdRentalTemplateLine.Template

Foreign keys (3)

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

Email sales@drdynamics.co.uk