Table

RentalTemplateLine

Rental template lines

Holds the lines of a rental template. Each line is identified by the template and a template line ID. Lines mainly describe miscellaneous charges, with amount or percent, calculation base, fee type and revenue category.

Table name
RentalTemplateLine
Module
Rental management
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
None
Replacement key
RentalTemplateLineIdx
Key fields
Template, TemplateLineId
Model
RentalManagement

Fields (27)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TemplateRental template that the line belongs to.Int64
RentalTemplateRecId
YesRentalTemplate.RecIdRentalTemplateLineEntityRentalMiscChargeExemptionEntity
TemplateLineIdID of the template line.String
RentalTemplateLineId
YesRentalTemplateLineEntityRentalMiscChargeExemptionEntity
AddDamageChargeToContractYes/No flag that adds the charge to the contract automatically as a damage charge.Enum
NoYesId
NoYes (enum)
NoRentalTemplateLineEntity
AmountFixed amount of the line.Real
Amount
NoRentalTemplateLineEntity
CalculationBaseWhat the charge is based on: rental fee, asking price or rental rate.Enum
RentalCalculationBase (enum)
NoRentalTemplateLineEntity
CalculationMethodWhether the line price is a normal unit amount or a percentage.Enum
RentalDocumentLineCalculationMethod
RentalLineCalculationMethod (enum)
NoRentalTemplateLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultChargeYes/No flag marking the line as a default charge.low confidenceEnum
RentalDefaultCharge
NoYes (enum)
NoNone
DimensionFinancial dimension set linked to the line.Int64
LedgerDimensionValueSet
NoDimensionAttributeValueSet.RecIdRentalTemplateLineEntity
FinalInvoiceYes/No flag that applies the charge only on the final invoice schedule.Enum
RentalFinalInvoice
NoYes (enum)
NoRentalTemplateLineEntity
MaxAmountUpper limit of the amount for a percent-type line.Real
RentalMaxAmount
NoRentalTemplateLineEntity
MiscChargeDamageYes/No flag marking the charge as one used to record damage.Enum
RentalMiscChargeDamage
NoYes (enum)
NoRentalTemplateLineEntity
MiscChargeFeeTypeFee type of the miscellaneous charge, such as transport, fuel or repair.Enum
RentalFeeType_MiscCharge (enum)
NoRentalTemplateLineEntity
MiscChargeTypeType of miscellaneous charge: header or line level, and recurring, once or supplemental.Enum
RentalMiscChargeType (enum)
NoRentalTemplateLineEntity
NoFeeYes/No flag that leaves the line out of fee calculation.Enum
NoYesId
NoYes (enum)
NoRentalTemplateLineEntity
NoFeeOnNegativeYes/No flag that stops an invoice line being created when the main line gives a negative schedule line.Enum
NoYesId
NoYes (enum)
NoRentalTemplateLineEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PercentPercentage used when the line is calculated as a percent.Real
Percent
NoRentalTemplateLineEntity
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
RelatedToWhether the line relates to the contract header or a contract line.Enum
RentalRelatedTo (enum)
NoRentalTemplateLineEntity
RevenueCategoryRevenue category for the line.Int64
RentalRevenueCategoryRecId
YesRentalRevenueCategory.RecIdRentalTemplateLineEntity
SMUBasedChargeYes/No flag showing that the charge depends on service meter unit (SMU) use.Enum
RentalSMUBasedCharge
NoYes (enum)
NoRentalTemplateLineEntity
SMUMinHoursMinimum hours charged whatever the SMU use.Real
RentalSMUMinHours
NoRentalTemplateLineEntity
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
TemplateLineNameShort name of the template line.String (30)
RentalTemplateLineName
NoRentalTemplateLineEntity

Indexes (3)

Relations (3)

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

  • Dimension → DimensionAttributeValueSet

    Join on Dimension = DimensionAttributeValueSet.RecId

    Many RentalTemplateLine records → zero or one DimensionAttributeValueSet record

  • RentalTemplate → RentalTemplate

    Join on Template = RentalTemplate.RecId

    Many RentalTemplateLine records → exactly one RentalTemplate record

  • RevenueCategory → RentalRevenueCategory

    Join on RevenueCategory = RentalRevenueCategory.RecId

    Many RentalTemplateLine records → exactly one RentalRevenueCategory record

Get this data out

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

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

Email sales@drdynamics.co.uk