Data entity

RentalTemplateEntity

Rental templates, keyed by template ID. Each template holds contract settings such as contract type, currency, payment, expiration dates, overtime and hourly billing, calendar-based invoicing, and fleet item movement options. It links to revenue categories, a billing scenario, an invoice method, price factors, movement reason codes, number sequences and default dimensions.

Entity name
RentalTemplateEntity
Public entity name
RentalTemplate
OData collection
RentalTemplates
Category
Reference
Module
Rental management
Read-only
No
Data management enabled
Yes
Configuration key
Rental
Keys
TemplateId
Staging table
RentalTemplateStaging

Use it in Power BI and Power Platform

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

  • RentalTemplate · root
  • MainLineRevenueCat (table RentalRevenueCategory) · InnerJoin to RentalTemplate · read-only
  • MainLineBulkRevenueCat (table RentalRevenueCategory) · OuterJoin to RentalTemplate · read-only
  • BillingScenario (table RentalBillingScenario) · OuterJoin to RentalTemplate · read-only
  • InvoiceMethod (table RentalInvoiceMethod) · OuterJoin to RentalTemplate · read-only
  • AppPriceFactor (table RentalPriceFactor) · OuterJoin to RentalTemplate · read-only
  • LocationPriceFactor (table RentalPriceFactor) · OuterJoin to RentalTemplate · read-only
  • ShiftPriceFactor (table RentalPriceFactor) · OuterJoin to RentalTemplate · read-only
  • DefaultReasonCode (table RentalItemMovementReasonCode) · OuterJoin to RentalTemplate · read-only
  • ActivationReasonCode (table RentalItemMovementReasonCode) · OuterJoin to RentalTemplate · read-only
  • SwapReasonCode (table RentalItemMovementReasonCode) · OuterJoin to RentalTemplate · read-only
  • CallOffReasonCode (table RentalItemMovementReasonCode) · OuterJoin to RentalTemplate · read-only
  • PurchaseOptionInterest (table RentalPurchaseOptionInterestCalculation) · OuterJoin to RentalTemplate · read-only
  • ContractNumberSeq (table NumberSequenceTable) · OuterJoin to RentalTemplate · read-only
  • QuotationNumberSeq (table NumberSequenceTable) · OuterJoin to RentalTemplate · read-only
  • DimensionDAVS (table DimensionSetEntity) · OuterJoin to RentalTemplate · read-only

Fields (77)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
TemplateIdUnique ID of the rental template.String
RentalTemplateId
YesYesRentalTemplate.TemplateId
TemplateNameShort name of the rental template.String (30)
RentalTemplateName
NoYesRentalTemplate.TemplateName
ContractTypeKind of contract: rental, lease or no-charge.Enum
RentalContractType
  • Rental 0
  • Lease 1
  • NoCharge 2
NoYesRentalTemplate.ContractType
CurrencyCodeCurrency code that the template uses by default.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeRentalTemplate.CurrencyCode
PaymentTermsIdTerms of payment that the template applies to quotations and contracts.String (100)
PaymTermId
NoYesPaymTerm.PaymTermIdRentalTemplate.PaymTerm
MainLineIdIdentifier of a rental template line.String
RentalTemplateLineId
NoYesRentalTemplate.MainLineId
MainLineNameDescription given to the main line that the template creates.String (30)
RentalTemplateLineName
NoYesRentalTemplate.MainLineName
IsMainLineApprovalRequiredYes/No flag showing whether approval is needed for SMU invoicing.Enum
RentalApprovalRequired
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.MainLineApprovalRequired
IsMainLineExcludedFromFeeCalculationYes/No flag that leaves the main line out of fee calculation.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.MainLineNoFee
MainLineOvertimeBillingMethodHow overtime is billed: by period, by last reading or at end of contract.Enum
RentalSMUOvertimeBillingMethod
  • Period 0
  • LastReading 1
  • EndOfContract 2
NoYesRentalTemplate.MainLineOvertimeBillingMethod
DefaultExpirationDateDefault expiry setting for a rental quotation, held as a whole number.Integer
RentalDefaultExpirationDate
NoYesRentalTemplate.DefaultExpirationDate
MaximumExpirationDateLargest allowed expiry setting for a rental quotation, held as a whole number.Integer
RentalMaximumExpirationDate
NoYesRentalTemplate.MaximumExpirationDate
IsBestRateCalculationFullPeriodYes/No flag. Yes means best rate is worked out over the whole rental period. No means the last period only.Enum
RentalBestRateCalculationFullPeriod
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.BestRateCalculationFullPeriod
WillUseCalendarForBestRateCalculationYes/No flag to use the template calendar for best rate days, leaving out closed days.Enum
RentalUseCalendarForBestRateCalculation
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.UseCalendarForBestRateCalculation
SMUCalculationWhether service meter units are counted for the full period or the last period.Enum
RentalFullOrLastPeriod
  • FullPeriod 0
  • LastPeriod 1
NoYesRentalTemplate.SMUCalculation
IsHourlyBillingYes/No flag for hourly billing on contracts made from this template.Enum
RentalHourlyBilling
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.HourlyBilling
HourlyRateRoundingRounding of the hourly rate: none, up or down.Enum
RentalHourlyRateRounding
  • No 0
  • Up 1
  • Down 2
NoYesRentalTemplate.HourlyRateRounding
IsCalendarBasedInvoicingYes/No flag marking the template for calendar-based invoicing.Enum
RentalCalendarBasedInvoice
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.CalendarBasedInvoice
CalendarIdWork calendar used by the template.String
CalendarId
NoYesWorkCalendarTable.CalendarIdRentalTemplate.CalendarId
WillAdjustFirstPeriodYes/No flag that adjusts the first contract period, for example to month end.Enum
RentalAdjustFirstMonth
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.AdjustFirstMonth
WillProRateForCalendarYes/No flag to use a prorated rate in calendar-based calculation.Enum
RentalProRateForCalendar
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.ProRateForCalendar
WillProRateStandDownYes/No flag to use a prorated rate for stand-down amounts.Enum
RentalProRateStandDown
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.ProRateStandDown
WillCalculateGraceHoursYes/No flag to use period grace hours when counting days for best rate.Enum
RentalCalculateGraceHours
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.CalculateGraceHours
WillProrateOvertimeYes/No flag to base the overtime fee on the active price and allowed hours, not the rental class fee.Enum
RentalProrateOvertime
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.ProrateOvertime
WillScheduleOutboundRentalItemMovementYes/No flag for creating and scheduling an outbound fleet item movement when a contract is activated.Enum
RentalScheduleOutboundItemMovement
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.ScheduleOutboundRentalItemMovement
PrintContractRuleWhether the contract is printed never, after a prompt, or always.Enum
RentalPrintContract
  • Never 0
  • Prompt 1
  • Always 2
NoYesRentalTemplate.PrintContract
CreateOrScheduleRentalItemMovementForSwapAutomatic fleet item movement action on a swap: none, create, or create then schedule.Enum
RentalCreateOrScheduleItemMovementForSwap
  • No 0
  • Create 1
  • CreateThenSchedule 2
NoYesRentalTemplate.CreateOrScheduleRentalItemMovementForSwap
RentalItemMovementActionForCallOffAutomatic fleet item movement action on a call-off: none, create, or create and schedule.Enum
RentalItemMovementActionForCallOff
  • None 0
  • Create 1
  • CreateSchedule 2
NoYesRentalTemplate.RentalItemMovementActionForCallOff
WillScheduleCentralDispatchOnActivationYes/No flag for using central dispatch when the activation movement is scheduled.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.ScheduleCentralDispatchActivation
WillScheduleCentralDispatchOnSwapYes/No flag for using central dispatch when the swap movement is scheduled.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.ScheduleCentralDispatchSwap
WillScheduleCentralDispatchOnCallOffYes/No flag for using central dispatch when the call-off movement is scheduled.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.ScheduleCentralDispatchCallOff
WillValidateSuggestedAttachmentsAndBulkItemsYes/No flag that shows a notice when an added main line has suggested attachments or bulk items.Enum
RentalValidateSuggestedAttachmentsAndBulkItems
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.ValidateSuggestedAttachmentsAndBulkItems
InsuranceTolerancePercentage of the fleet item's acquisition cost used as a tolerance for registered insurance.Real
RentalTemplateInsuranceTolerance
NoYesRentalTemplate.InsuranceTolerance
WillValidateInsuranceYes/No flag for removing insurance lines automatically when the customer has enough insurance.Enum
RentalTemplateInsuranceValidation
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.InsuranceValidation
IsFuelCalculationActiveYes/No flag to calculate fuel on inbound fleet item movements.Enum
RentalFuelCalculation
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.FuelCalculation
FuelPriceCost of one unit of fuel by volume.Real
RentalFuelPrice
NoYesRentalTemplate.FuelPrice
IsDieselCalculationActiveYes/No flag to calculate diesel on inbound fleet item movements.Enum
RentalDieselCalculation
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.DieselCalculation
DieselPriceCost of one unit of diesel by volume.Real
RentalDieselPrice
NoYesRentalTemplate.DieselPrice
IsJobsiteSelectionAllowedYes/No flag that lets users also record the customer's job site when choosing a pickup fleet location.Enum
RentalAllowJobsiteSelection
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.AllowJobsiteSelection
WillUseCalendarForStandDownYes/No flag to use the template calendar for stand-down days, leaving out closed days.Enum
RentalStandDownUseCalendar
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.UseCalendarForStandDown
IsRentalPurchaseOptionEnabledYes/No flag that turns on the rental purchase option process.Enum
RentalContractRentalPurchaseOption
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.ContractRentalPurchaseOption
IsFleetTransferProcessAllowedYes/No switch that turns on the fleet transfer process for rental contracts.Enum
RentalPurchaseOptionTransferProcess
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.RentalPurchaseOptionTransferProcess
WillUseAskingPriceAsPurchasePriceYes/No flag to use the asking price as the purchase price.Enum
RentalPurchOrAskingPrice
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.PurchOrAskingPrice
MaximumTermLongest term allowed for the rental purchase option.Integer
RentalMaxTerm
NoYesRentalTemplate.MaximumTerm
MinimumTermShortest term allowed for the rental purchase option.Integer
RentalMinTerm
NoYesRentalTemplate.MinimumTerm
RentalPurchaseOptionInterestTypeInterest type for the purchase option: none, fixed or prime plus.Enum
RentalPurchaseOptionInterestType
  • None 0
  • Fixed 1
  • PrimePlus 2
NoYesRentalTemplate.RentalPurchaseOptionInterestType
WillApplyCompoundInterestYes/No flag to add accrued interest to the declining balance.Enum
RentalCompoundInterest
NoYes

Platform enum: values not in the metadata extract.

NoYesRentalTemplate.CompoundInterest
MainLineRevenueCategoryIdUnique ID of the revenue category.String
RentalRevenueCategoryId
YesYesRentalRevenueCategory.RevenueCategoryId
MainLineBulkRevenueCategoryIdUnique ID of the revenue category.String
RentalRevenueCategoryId
NoYesRentalRevenueCategory.RevenueCategoryId
MainLineBillingScenarioIdIdentifier of the billing scenario.String
RentalBillingScenarioId
NoYesRentalBillingScenario.BillingScenarioId
InvoiceMethodIdIdentifier of the invoice method.String
RentalInvoiceMethodId
NoYesRentalInvoiceMethod.InvoiceMethodId
DefaultApplicationPriceFactorIdID of the price factor.String
RentalPriceFactorId
NoYesRentalPriceFactor.PriceFactorId
DefaultLocationPriceFactorIdID of the price factor.String
RentalPriceFactorId
NoYesRentalPriceFactor.PriceFactorId
DefaultShiftPriceFactorIdID of the price factor.String
RentalPriceFactorId
NoYesRentalPriceFactor.PriceFactorId
DefaultReasonCodeIdShort code that identifies the reason. It is the key of the table.String (20)
RentalItemMovementReasonCodeId
NoYesRentalItemMovementReasonCode.CodeId
ActivationReasonCodeIdShort code that identifies the reason. It is the key of the table.String (20)
RentalItemMovementReasonCodeId
NoYesRentalItemMovementReasonCode.CodeId
SwapReasonCodeIdShort code that identifies the reason. It is the key of the table.String (20)
RentalItemMovementReasonCodeId
NoYesRentalItemMovementReasonCode.CodeId
CallOffReasonCodeIdShort code that identifies the reason. It is the key of the table.String (20)
RentalItemMovementReasonCodeId
NoYesRentalItemMovementReasonCode.CodeId
RentalPurchaseOptionInterestCalculationNameName of the interest calculation.String
RentalPurchaseOptionName
NoYesRentalPurchaseOptionInterestCalculation.RentalPurchaseOptionName
ContractNumberSequenceCodeCode that identifies the number sequence.String
NumberSequenceCode
NoYesNumberSequenceTable.NumberSequence
QuotationNumberSequenceCodeCode that identifies the number sequence.String
NumberSequenceCode
NoYesNumberSequenceTable.NumberSequence
DimensionFinancial dimension set linked to the template.Int64
LedgerDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdRentalTemplate.Dimension
DimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
MainLineRevenueCategoryRecIdRevenue category for the main line.Int64
RentalRevenueCategoryRecId
NoNo (private)RentalRevenueCategory.RecIdRentalTemplate.MainLineRevenueCategory
MainLineBulkRevenueCategoryRecIdRevenue category used for bulk items on the main line.Int64
RentalBulkRevenueCategoryRecId
NoNo (private)RentalRevenueCategory.RecIdRentalTemplate.MainLineBulkRevenueCategory
MainLineBillingScenarioRecIdRental billing scenario for the main line, which holds the price lines.Int64
RentalBillingScenarioRecId
NoNo (private)RentalBillingScenario.RecIdRentalTemplate.MainLineBillingScenario
InvoiceMethodRecIdInvoice method assigned to the template.Int64
RentalInvoiceMethodRecId
NoNo (private)RentalInvoiceMethod.RecIdRentalTemplate.InvoiceMethod
ContractNumberSequenceRecIdNumber sequence used to give IDs to contracts created from this template.Int64
RefRecId
NoNo (private)NumberSequenceTable.RecIdRentalTemplate.ContractNumberSequence
QuotationNumberSequenceRecIdNumber sequence used to give IDs to quotations created from this template.Int64
RefRecId
NoNo (private)NumberSequenceTable.RecIdRentalTemplate.QuotationNumberSequence
DefaultApplicationPriceFactorRecIdDefault Application price factor for new contracts and quotations.Int64
RentalPriceFactorRecId
NoNo (private)RentalPriceFactor.RecIdRentalTemplate.DefaultApplicationPriceFactor
DefaultLocationPriceFactorRecIdDefault Location price factor for new contracts and quotations.Int64
RentalPriceFactorRecId
NoNo (private)RentalPriceFactor.RecIdRentalTemplate.DefaultLocationPriceFactor
DefaultShiftPriceFactorRecIdDefault Shift price factor for new contracts and quotations.Int64
RentalPriceFactorRecId
NoNo (private)RentalPriceFactor.RecIdRentalTemplate.DefaultShiftPriceFactor
DefaultReasonCodeRecIdFleet item movement reason code linked to the template.Int64
RentalItemMovementReasonCodeRecId
NoNo (private)RentalItemMovementReasonCode.RecIdRentalTemplate.RentalItemMovementReasonCode
ActivationReasonCodeRecIdReason code added to fleet item movements created at contract activation.Int64
RentalItemMovementReasonCodeRecId
NoNo (private)RentalItemMovementReasonCode.RecIdRentalTemplate.RentalItemMovementReasonCodeActivation
SwapReasonCodeRecIdReason code added to fleet item movements created for a swap.Int64
RentalItemMovementReasonCodeRecId
NoNo (private)RentalItemMovementReasonCode.RecIdRentalTemplate.RentalItemMovementReasonCodeSwap
CallOffReasonCodeRecIdReason code added to fleet item movements created for a call-off.Int64
RentalItemMovementReasonCodeRecId
NoNo (private)RentalItemMovementReasonCode.RecIdRentalTemplate.RentalItemMovementReasonCodeCallOff
PurchaseOptionInterestRecIdInterest calculation record applied to the rental purchase option.Int64
RentalPurchaseOptionInterestRecId
NoNo (private)RentalPurchaseOptionInterestCalculation.RecIdRentalTemplate.RentalPurchaseOptionInterestCalculation

Foreign keys (18)

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.

  • CurrencyCode → Currency.CurrencyCode (key of Currency)

    Many RentalTemplate records → zero or one Currency record

    Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity

  • PaymentTermsId → PaymTerm.PaymTermId (key of PaymTerm)

    Many RentalTemplate records → zero or one PaymTerm record

    PaymTerm details: see PaymentTermEntity, CredManPaymTermRankEntity, TaxWithholdSettlementPeriodEntity

  • CalendarId → WorkCalendarTable.CalendarId (key of WorkCalendarTable)

    Many RentalTemplate records → zero or one WorkCalendarTable record

    WorkCalendarTable details: see WorkCalendarEntity, HcmWorkCalendarEmploymentEntity, ResResourceSetupDataEntity

  • Dimension → DimensionAttributeValueSet.RecId (key of DimensionAttributeValueSet)

    Many RentalTemplate records → zero or one DimensionAttributeValueSet record

    DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity

  • MainLineRevenueCategoryRecId → RentalRevenueCategory.RecId (key of RentalRevenueCategory)

    Many RentalTemplate records → zero or one RentalRevenueCategory record

    RentalRevenueCategory details: see RentalTemplateLineEntity

  • MainLineBulkRevenueCategoryRecId → RentalRevenueCategory.RecId (key of RentalRevenueCategory)

    Many RentalTemplate records → zero or one RentalRevenueCategory record

    RentalRevenueCategory details: see RentalTemplateLineEntity

  • MainLineBillingScenarioRecId → RentalBillingScenario.RecId (key of RentalBillingScenario)

    Many RentalTemplate records → zero or one RentalBillingScenario record

    Not exposed by a public entity.

  • InvoiceMethodRecId → RentalInvoiceMethod.RecId (key of RentalInvoiceMethod)

    Many RentalTemplate records → zero or one RentalInvoiceMethod record

    Not exposed by a public entity.

  • ContractNumberSequenceRecId → NumberSequenceTable.RecId (key of NumberSequenceTable)

    Many RentalTemplate records → zero or one NumberSequenceTable record

    NumberSequenceTable details: see NumberSequenceTableEntity, NumberSequenceTableV2Entity, MCRReqPlanContinuityEntity

  • QuotationNumberSequenceRecId → NumberSequenceTable.RecId (key of NumberSequenceTable)

    Many RentalTemplate records → zero or one NumberSequenceTable record

    NumberSequenceTable details: see NumberSequenceTableEntity, NumberSequenceTableV2Entity, MCRReqPlanContinuityEntity

  • DefaultApplicationPriceFactorRecId → RentalPriceFactor.RecId (key of RentalPriceFactor)

    Relation also requires RentalPriceFactor.PriceFactorType = null.

    Many RentalTemplate records → zero or one RentalPriceFactor record

    RentalPriceFactor details: see RentalRateHeaderEntity, RentalRateLineEntity

  • DefaultLocationPriceFactorRecId → RentalPriceFactor.RecId (key of RentalPriceFactor)

    Relation also requires RentalPriceFactor.PriceFactorType = RentalPriceFactorType::Location.

    Many RentalTemplate records → zero or one RentalPriceFactor record

    RentalPriceFactor details: see RentalRateHeaderEntity, RentalRateLineEntity

  • DefaultShiftPriceFactorRecId → RentalPriceFactor.RecId (key of RentalPriceFactor)

    Relation also requires RentalPriceFactor.PriceFactorType = RentalPriceFactorType::Shift.

    Many RentalTemplate records → zero or one RentalPriceFactor record

    RentalPriceFactor details: see RentalRateHeaderEntity, RentalRateLineEntity

  • DefaultReasonCodeRecId → RentalItemMovementReasonCode.RecId (key of RentalItemMovementReasonCode)

    Many RentalTemplate records → zero or one RentalItemMovementReasonCode record

    RentalItemMovementReasonCode details: see RentalItemMovementReasonCodeEntity, RentalItemMovementHeaderEntity

  • ActivationReasonCodeRecId → RentalItemMovementReasonCode.RecId (key of RentalItemMovementReasonCode)

    Many RentalTemplate records → zero or one RentalItemMovementReasonCode record

    RentalItemMovementReasonCode details: see RentalItemMovementReasonCodeEntity, RentalItemMovementHeaderEntity

  • SwapReasonCodeRecId → RentalItemMovementReasonCode.RecId (key of RentalItemMovementReasonCode)

    Many RentalTemplate records → zero or one RentalItemMovementReasonCode record

    RentalItemMovementReasonCode details: see RentalItemMovementReasonCodeEntity, RentalItemMovementHeaderEntity

  • CallOffReasonCodeRecId → RentalItemMovementReasonCode.RecId (key of RentalItemMovementReasonCode)

    Many RentalTemplate records → zero or one RentalItemMovementReasonCode record

    RentalItemMovementReasonCode details: see RentalItemMovementReasonCodeEntity, RentalItemMovementHeaderEntity

  • PurchaseOptionInterestRecId → RentalPurchaseOptionInterestCalculation.RecId (key of RentalPurchaseOptionInterestCalculation)

    Many RentalTemplate records → zero or one RentalPurchaseOptionInterestCalculation record

    Not exposed by a public entity.

Need help with RentalTemplateEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk