Table

RentalTemplate

Rental templates

Holds the default settings used to create rental quotations and contracts. Each template is identified by a template ID. It sets numbering, currency, payment terms, invoicing, fleet item movement, best rate, stand-down, fuel and rental purchase option defaults. It links to several lookup tables such as number sequences, price factors and revenue categories.

Table name
RentalTemplate
Module
Rental management
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
None
Replacement key
RentalTemplateIdx
Key fields
TemplateId
Model
RentalManagement

Fields (68)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TemplateIdUnique ID of the rental template.String
RentalTemplateId
YesRentalTemplateEntityRentalContractHeaderEntityRentalMiscChargeExemptionEntityand 2 more
AdjustFirstMonthYes/No flag that adjusts the first contract period, for example to month end.Enum
RentalAdjustFirstMonth
NoYes (enum)
NoRentalTemplateEntity
AllowJobsiteSelectionYes/No flag that lets users also record the customer's job site when choosing a pickup fleet location.Enum
RentalAllowJobsiteSelection
NoYes (enum)
NoRentalTemplateEntity
BestRateCalculationFullPeriodYes/No flag. Yes means best rate is worked out over the whole rental period. No means the last period only.Enum
RentalBestRateCalculationFullPeriod
NoYes (enum)
NoRentalTemplateEntity
CalculateGraceHoursYes/No flag to use period grace hours when counting days for best rate.Enum
RentalCalculateGraceHours
NoYes (enum)
NoRentalTemplateEntity
CalendarBasedInvoiceYes/No flag marking the template for calendar-based invoicing.Enum
RentalCalendarBasedInvoice
NoYes (enum)
NoRentalTemplateEntity
CalendarIdWork calendar used by the template.String
CalendarId
NoWorkCalendarTable.CalendarIdRentalTemplateEntity
CompoundInterestYes/No flag to add accrued interest to the declining balance.Enum
RentalCompoundInterest
NoYes (enum)
NoRentalTemplateEntity
ContractNumberSequenceNumber sequence used to give IDs to contracts created from this template.Int64
RefRecId
NoNumberSequenceTable.RecIdRentalTemplateEntity
ContractRentalPurchaseOptionYes/No flag that turns on the rental purchase option process.Enum
RentalContractRentalPurchaseOption
NoYes (enum)
NoRentalTemplateEntity
ContractTypeKind of contract: rental, lease or no-charge.Enum
RentalContractType (enum)
NoRentalTemplateEntity
CreateOrScheduleRentalItemMovementForSwapAutomatic fleet item movement action on a swap: none, create, or create then schedule.Enum
RentalCreateOrScheduleItemMovementForSwap (enum)
NoRentalTemplateEntity
CurrencyCodeCurrency code that the template uses by default.String (3)
CurrencyCode
NoCurrency.CurrencyCodeRentalTemplateEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultApplicationPriceFactorDefault Application price factor for new contracts and quotations.Int64
RentalPriceFactorRecId
NoRentalPriceFactor.RecIdRentalTemplateEntity
DefaultExpirationDateDefault expiry setting for a rental quotation, held as a whole number.Integer
RentalDefaultExpirationDate
NoRentalTemplateEntity
DefaultLocationPriceFactorDefault Location price factor for new contracts and quotations.Int64
RentalPriceFactorRecId
NoRentalPriceFactor.RecIdRentalTemplateEntity
DefaultShiftPriceFactorDefault Shift price factor for new contracts and quotations.Int64
RentalPriceFactorRecId
NoRentalPriceFactor.RecIdRentalTemplateEntity
DieselCalculationYes/No flag to calculate diesel on inbound fleet item movements.Enum
RentalDieselCalculation
NoYes (enum)
NoRentalTemplateEntity
DieselPriceCost of one unit of diesel by volume.Real
RentalDieselPrice
NoRentalTemplateEntity
DimensionFinancial dimension set linked to the template.Int64
LedgerDimensionValueSet
NoDimensionAttributeValueSet.RecIdRentalTemplateEntity
FuelCalculationYes/No flag to calculate fuel on inbound fleet item movements.Enum
RentalFuelCalculation
NoYes (enum)
NoRentalTemplateEntity
FuelPriceCost of one unit of fuel by volume.Real
RentalFuelPrice
NoRentalTemplateEntity
HourlyBillingYes/No flag for hourly billing on contracts made from this template.Enum
RentalHourlyBilling
NoYes (enum)
NoRentalTemplateEntity
HourlyRateRoundingRounding of the hourly rate: none, up or down.Enum
RentalHourlyRateRounding (enum)
NoRentalTemplateEntity
InsuranceTolerancePercentage of the fleet item's acquisition cost used as a tolerance for registered insurance.Real
RentalTemplateInsuranceTolerance
NoRentalTemplateEntity
InsuranceValidationYes/No flag for removing insurance lines automatically when the customer has enough insurance.Enum
RentalTemplateInsuranceValidation
NoYes (enum)
NoRentalTemplateEntity
InvoiceMethodInvoice method assigned to the template.Int64
RentalInvoiceMethodRecId
NoRentalInvoiceMethod.RecIdRentalTemplateEntity
MainLineApprovalRequiredYes/No flag showing whether approval is needed for SMU invoicing.Enum
RentalApprovalRequired
NoYes (enum)
NoRentalTemplateEntity
MainLineBillingScenarioRental billing scenario for the main line, which holds the price lines.Int64
RentalBillingScenarioRecId
NoRentalBillingScenario.RecIdRentalTemplateEntity
MainLineBulkRevenueCategoryRevenue category used for bulk items on the main line.Int64
RentalBulkRevenueCategoryRecId
NoRentalRevenueCategory.RecIdRentalTemplateEntity
MainLineIdIdentifier of a rental template line.String
RentalTemplateLineId
NoRentalTemplateEntity
MainLineNameDescription given to the main line that the template creates.String (30)
RentalTemplateLineName
NoRentalTemplateEntity
MainLineNoFeeYes/No flag that leaves the main line out of fee calculation.Enum
NoYesId
NoYes (enum)
NoRentalTemplateEntity
MainLineOvertimeBillingMethodHow overtime is billed: by period, by last reading or at end of contract.Enum
RentalSMUOvertimeBillingMethod (enum)
NoRentalTemplateEntity
MainLineRevenueCategoryRevenue category for the main line.Int64
RentalRevenueCategoryRecId
YesRentalRevenueCategory.RecIdRentalTemplateEntity
MaximumExpirationDateLargest allowed expiry setting for a rental quotation, held as a whole number.Integer
RentalMaximumExpirationDate
NoRentalTemplateEntity
MaximumTermLongest term allowed for the rental purchase option.Integer
RentalMaxTerm
NoRentalTemplateEntity
MinimumTermShortest term allowed for the rental purchase option.Integer
RentalMinTerm
NoRentalTemplateEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymTermTerms of payment that the template applies to quotations and contracts.String (100)
PaymTermId
NoPaymTerm.PaymTermIdRentalTemplateEntity
PrintContractWhether the contract is printed never, after a prompt, or always.Enum
RentalPrintContract (enum)
NoRentalTemplateEntity
ProRateForCalendarYes/No flag to use a prorated rate in calendar-based calculation.Enum
RentalProRateForCalendar
NoYes (enum)
NoRentalTemplateEntity
ProrateOvertimeYes/No flag to base the overtime fee on the active price and allowed hours, not the rental class fee.Enum
RentalProrateOvertime
NoYes (enum)
NoRentalTemplateEntity
ProRateStandDownYes/No flag to use a prorated rate for stand-down amounts.Enum
RentalProRateStandDown
NoYes (enum)
NoRentalTemplateEntity
PurchOrAskingPriceYes/No flag to use the asking price as the purchase price.Enum
RentalPurchOrAskingPrice
NoYes (enum)
NoRentalTemplateEntity
QuotationNumberSequenceNumber sequence used to give IDs to quotations created from this template.Int64
RefRecId
NoNumberSequenceTable.RecIdRentalTemplateEntity
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
RentalItemMovementActionForCallOffAutomatic fleet item movement action on a call-off: none, create, or create and schedule.Enum
RentalItemMovementActionForCallOff (enum)
NoRentalTemplateEntity
RentalItemMovementReasonCodeFleet item movement reason code linked to the template.Int64
RentalItemMovementReasonCodeRecId
NoRentalItemMovementReasonCode.RecIdRentalTemplateEntity
RentalItemMovementReasonCodeActivationReason code added to fleet item movements created at contract activation.Int64
RentalItemMovementReasonCodeRecId
NoRentalItemMovementReasonCode.RecIdRentalTemplateEntity
RentalItemMovementReasonCodeCallOffReason code added to fleet item movements created for a call-off.Int64
RentalItemMovementReasonCodeRecId
NoRentalItemMovementReasonCode.RecIdRentalTemplateEntity
RentalItemMovementReasonCodeSwapReason code added to fleet item movements created for a swap.Int64
RentalItemMovementReasonCodeRecId
NoRentalItemMovementReasonCode.RecIdRentalTemplateEntity
RentalPurchaseOptionInterestCalculationInterest calculation record applied to the rental purchase option.Int64
RentalPurchaseOptionInterestRecId
NoRentalPurchaseOptionInterestCalculation.RecIdRentalTemplateEntity
RentalPurchaseOptionInterestTypeInterest type for the purchase option: none, fixed or prime plus.Enum
RentalPurchaseOptionInterestType (enum)
NoRentalTemplateEntity
RentalPurchaseOptionTransferProcessYes/No switch that turns on the fleet transfer process for rental contracts.Enum
RentalPurchaseOptionTransferProcess
NoYes (enum)
NoRentalTemplateEntity
ScheduleCentralDispatchActivationYes/No flag for using central dispatch when the activation movement is scheduled.Enum
NoYesId
NoYes (enum)
NoRentalTemplateEntity
ScheduleCentralDispatchCallOffYes/No flag for using central dispatch when the call-off movement is scheduled.Enum
NoYesId
NoYes (enum)
NoRentalTemplateEntity
ScheduleCentralDispatchSwapYes/No flag for using central dispatch when the swap movement is scheduled.Enum
NoYesId
NoYes (enum)
NoRentalTemplateEntity
ScheduleOutboundRentalItemMovementYes/No flag for creating and scheduling an outbound fleet item movement when a contract is activated.Enum
RentalScheduleOutboundItemMovement
NoYes (enum)
NoRentalTemplateEntity
SMUCalculationWhether service meter units are counted for the full period or the last period.Enum
RentalFullOrLastPeriod (enum)
NoRentalTemplateEntity
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
TemplateNameShort name of the rental template.String (30)
RentalTemplateName
NoRentalTemplateEntity
UseCalendarForBestRateCalculationYes/No flag to use the template calendar for best rate days, leaving out closed days.Enum
RentalUseCalendarForBestRateCalculation
NoYes (enum)
NoRentalTemplateEntity
UseCalendarForStandDownYes/No flag to use the template calendar for stand-down days, leaving out closed days.Enum
RentalStandDownUseCalendar
NoYes (enum)
NoRentalTemplateEntity
ValidateSuggestedAttachmentsAndBulkItemsYes/No flag that shows a notice when an added main line has suggested attachments or bulk items.Enum
RentalValidateSuggestedAttachmentsAndBulkItems
NoYes (enum)
NoRentalTemplateEntity

Indexes (8)

Relations (18)

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

  • ContractNumberSequence → NumberSequenceTable

    Join on ContractNumberSequence = NumberSequenceTable.RecId

    Many RentalTemplate records → zero or one NumberSequenceTable record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many RentalTemplate records → zero or one Currency record

  • Dimension → DimensionAttributeValueSet

    Join on Dimension = DimensionAttributeValueSet.RecId

    Many RentalTemplate records → zero or one DimensionAttributeValueSet record

  • RentalItemMovementReasonCode → RentalItemMovementReasonCode

    Join on RentalItemMovementReasonCode = RentalItemMovementReasonCode.RecId

    Many RentalTemplate records → zero or one RentalItemMovementReasonCode record

  • InvoiceMethod → RentalInvoiceMethod

    Join on InvoiceMethod = RentalInvoiceMethod.RecId

    Many RentalTemplate records → zero or one RentalInvoiceMethod record

  • PaymTerm → PaymTerm

    Join on PaymTerm = PaymTerm.PaymTermId

    Many RentalTemplate records → zero or one PaymTerm record

  • QuotationNumberSequence → NumberSequenceTable

    Join on QuotationNumberSequence = NumberSequenceTable.RecId

    Many RentalTemplate records → zero or one NumberSequenceTable record

  • RenBillingScenarioTable → RentalBillingScenario

    Join on MainLineBillingScenario = RentalBillingScenario.RecId

    Many RentalTemplate records → zero or one RentalBillingScenario record

  • RenBulkRevenueCat → RentalRevenueCategory

    Join on MainLineBulkRevenueCategory = RentalRevenueCategory.RecId

    Many RentalTemplate records → zero or one RentalRevenueCategory record

  • RenRevenueCategoryTable → RentalRevenueCategory

    Join on MainLineRevenueCategory = RentalRevenueCategory.RecId

    Many RentalTemplate records → zero or one RentalRevenueCategory record

  • DefaultShiftPriceFactor → RentalPriceFactor

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

    Many RentalTemplate records → zero or one RentalPriceFactor record

  • DefaultApplicationPriceFactor → RentalPriceFactor

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

    Many RentalTemplate records → zero or one RentalPriceFactor record

  • DefaultLocationPriceFactor → RentalPriceFactor

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

    Many RentalTemplate records → zero or one RentalPriceFactor record

  • CalendarId → WorkCalendarTable

    Join on CalendarId = WorkCalendarTable.CalendarId

    Many RentalTemplate records → zero or one WorkCalendarTable record

  • RentalItemMovementReasonCodeActivation → RentalItemMovementReasonCode

    Join on RentalItemMovementReasonCodeActivation = RentalItemMovementReasonCode.RecId

    Many RentalTemplate records → zero or one RentalItemMovementReasonCode record

  • RentalItemMovementReasonCodeCallOff → RentalItemMovementReasonCode

    Join on RentalItemMovementReasonCodeCallOff = RentalItemMovementReasonCode.RecId

    Many RentalTemplate records → zero or one RentalItemMovementReasonCode record

  • RentalItemMovementReasonCodeSwap → RentalItemMovementReasonCode

    Join on RentalItemMovementReasonCodeSwap = RentalItemMovementReasonCode.RecId

    Many RentalTemplate records → zero or one RentalItemMovementReasonCode record

  • RentalPurchaseOptionInterestCalculation → RentalPurchaseOptionInterestCalculation

    Join on RentalPurchaseOptionInterestCalculation = RentalPurchaseOptionInterestCalculation.RecId

    Many RentalTemplate records → zero or one RentalPurchaseOptionInterestCalculation record

Get this data out

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

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

Email sales@drdynamics.co.uk