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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TemplateIdUnique ID of the rental template. | StringRentalTemplateId | Yes | RentalTemplateEntityRentalContractHeaderEntityRentalMiscChargeExemptionEntityand 2 more | |
AdjustFirstMonthYes/No flag that adjusts the first contract period, for example to month end. | EnumRentalAdjustFirstMonthNoYes (enum) | No | RentalTemplateEntity | |
AllowJobsiteSelectionYes/No flag that lets users also record the customer's job site when choosing a pickup fleet location. | EnumRentalAllowJobsiteSelectionNoYes (enum) | No | RentalTemplateEntity | |
BestRateCalculationFullPeriodYes/No flag. Yes means best rate is worked out over the whole rental period. No means the last period only. | EnumRentalBestRateCalculationFullPeriodNoYes (enum) | No | RentalTemplateEntity | |
CalculateGraceHoursYes/No flag to use period grace hours when counting days for best rate. | EnumRentalCalculateGraceHoursNoYes (enum) | No | RentalTemplateEntity | |
CalendarBasedInvoiceYes/No flag marking the template for calendar-based invoicing. | EnumRentalCalendarBasedInvoiceNoYes (enum) | No | RentalTemplateEntity | |
CalendarIdWork calendar used by the template. | StringCalendarId | No | WorkCalendarTable.CalendarId | RentalTemplateEntity |
CompoundInterestYes/No flag to add accrued interest to the declining balance. | EnumRentalCompoundInterestNoYes (enum) | No | RentalTemplateEntity | |
ContractNumberSequenceNumber sequence used to give IDs to contracts created from this template. | Int64RefRecId | No | NumberSequenceTable.RecId | RentalTemplateEntity |
ContractRentalPurchaseOptionYes/No flag that turns on the rental purchase option process. | EnumRentalContractRentalPurchaseOptionNoYes (enum) | No | RentalTemplateEntity | |
ContractTypeKind of contract: rental, lease or no-charge. | EnumRentalContractType (enum) | No | RentalTemplateEntity | |
CreateOrScheduleRentalItemMovementForSwapAutomatic fleet item movement action on a swap: none, create, or create then schedule. | EnumRentalCreateOrScheduleItemMovementForSwap (enum) | No | RentalTemplateEntity | |
CurrencyCodeCurrency code that the template uses by default. | String (3)CurrencyCode | No | Currency.CurrencyCode | RentalTemplateEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultApplicationPriceFactorDefault Application price factor for new contracts and quotations. | Int64RentalPriceFactorRecId | No | RentalPriceFactor.RecId | RentalTemplateEntity |
DefaultExpirationDateDefault expiry setting for a rental quotation, held as a whole number. | IntegerRentalDefaultExpirationDate | No | RentalTemplateEntity | |
DefaultLocationPriceFactorDefault Location price factor for new contracts and quotations. | Int64RentalPriceFactorRecId | No | RentalPriceFactor.RecId | RentalTemplateEntity |
DefaultShiftPriceFactorDefault Shift price factor for new contracts and quotations. | Int64RentalPriceFactorRecId | No | RentalPriceFactor.RecId | RentalTemplateEntity |
DieselCalculationYes/No flag to calculate diesel on inbound fleet item movements. | EnumRentalDieselCalculationNoYes (enum) | No | RentalTemplateEntity | |
DieselPriceCost of one unit of diesel by volume. | RealRentalDieselPrice | No | RentalTemplateEntity | |
DimensionFinancial dimension set linked to the template. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | RentalTemplateEntity |
FuelCalculationYes/No flag to calculate fuel on inbound fleet item movements. | EnumRentalFuelCalculationNoYes (enum) | No | RentalTemplateEntity | |
FuelPriceCost of one unit of fuel by volume. | RealRentalFuelPrice | No | RentalTemplateEntity | |
HourlyBillingYes/No flag for hourly billing on contracts made from this template. | EnumRentalHourlyBillingNoYes (enum) | No | RentalTemplateEntity | |
HourlyRateRoundingRounding of the hourly rate: none, up or down. | EnumRentalHourlyRateRounding (enum) | No | RentalTemplateEntity | |
InsuranceTolerancePercentage of the fleet item's acquisition cost used as a tolerance for registered insurance. | RealRentalTemplateInsuranceTolerance | No | RentalTemplateEntity | |
InsuranceValidationYes/No flag for removing insurance lines automatically when the customer has enough insurance. | EnumRentalTemplateInsuranceValidationNoYes (enum) | No | RentalTemplateEntity | |
InvoiceMethodInvoice method assigned to the template. | Int64RentalInvoiceMethodRecId | No | RentalInvoiceMethod.RecId | RentalTemplateEntity |
MainLineApprovalRequiredYes/No flag showing whether approval is needed for SMU invoicing. | EnumRentalApprovalRequiredNoYes (enum) | No | RentalTemplateEntity | |
MainLineBillingScenarioRental billing scenario for the main line, which holds the price lines. | Int64RentalBillingScenarioRecId | No | RentalBillingScenario.RecId | RentalTemplateEntity |
MainLineBulkRevenueCategoryRevenue category used for bulk items on the main line. | Int64RentalBulkRevenueCategoryRecId | No | RentalRevenueCategory.RecId | RentalTemplateEntity |
MainLineIdIdentifier of a rental template line. | StringRentalTemplateLineId | No | RentalTemplateEntity | |
MainLineNameDescription given to the main line that the template creates. | String (30)RentalTemplateLineName | No | RentalTemplateEntity | |
MainLineNoFeeYes/No flag that leaves the main line out of fee calculation. | EnumNoYesIdNoYes (enum) | No | RentalTemplateEntity | |
MainLineOvertimeBillingMethodHow overtime is billed: by period, by last reading or at end of contract. | EnumRentalSMUOvertimeBillingMethod (enum) | No | RentalTemplateEntity | |
MainLineRevenueCategoryRevenue category for the main line. | Int64RentalRevenueCategoryRecId | Yes | RentalRevenueCategory.RecId | RentalTemplateEntity |
MaximumExpirationDateLargest allowed expiry setting for a rental quotation, held as a whole number. | IntegerRentalMaximumExpirationDate | No | RentalTemplateEntity | |
MaximumTermLongest term allowed for the rental purchase option. | IntegerRentalMaxTerm | No | RentalTemplateEntity | |
MinimumTermShortest term allowed for the rental purchase option. | IntegerRentalMinTerm | No | RentalTemplateEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymTermTerms of payment that the template applies to quotations and contracts. | String (100)PaymTermId | No | PaymTerm.PaymTermId | RentalTemplateEntity |
PrintContractWhether the contract is printed never, after a prompt, or always. | EnumRentalPrintContract (enum) | No | RentalTemplateEntity | |
ProRateForCalendarYes/No flag to use a prorated rate in calendar-based calculation. | EnumRentalProRateForCalendarNoYes (enum) | No | RentalTemplateEntity | |
ProrateOvertimeYes/No flag to base the overtime fee on the active price and allowed hours, not the rental class fee. | EnumRentalProrateOvertimeNoYes (enum) | No | RentalTemplateEntity | |
ProRateStandDownYes/No flag to use a prorated rate for stand-down amounts. | EnumRentalProRateStandDownNoYes (enum) | No | RentalTemplateEntity | |
PurchOrAskingPriceYes/No flag to use the asking price as the purchase price. | EnumRentalPurchOrAskingPriceNoYes (enum) | No | RentalTemplateEntity | |
QuotationNumberSequenceNumber sequence used to give IDs to quotations created from this template. | Int64RefRecId | No | NumberSequenceTable.RecId | RentalTemplateEntity |
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 | |
RentalItemMovementActionForCallOffAutomatic fleet item movement action on a call-off: none, create, or create and schedule. | EnumRentalItemMovementActionForCallOff (enum) | No | RentalTemplateEntity | |
RentalItemMovementReasonCodeFleet item movement reason code linked to the template. | Int64RentalItemMovementReasonCodeRecId | No | RentalItemMovementReasonCode.RecId | RentalTemplateEntity |
RentalItemMovementReasonCodeActivationReason code added to fleet item movements created at contract activation. | Int64RentalItemMovementReasonCodeRecId | No | RentalItemMovementReasonCode.RecId | RentalTemplateEntity |
RentalItemMovementReasonCodeCallOffReason code added to fleet item movements created for a call-off. | Int64RentalItemMovementReasonCodeRecId | No | RentalItemMovementReasonCode.RecId | RentalTemplateEntity |
RentalItemMovementReasonCodeSwapReason code added to fleet item movements created for a swap. | Int64RentalItemMovementReasonCodeRecId | No | RentalItemMovementReasonCode.RecId | RentalTemplateEntity |
RentalPurchaseOptionInterestCalculationInterest calculation record applied to the rental purchase option. | Int64RentalPurchaseOptionInterestRecId | No | RentalPurchaseOptionInterestCalculation.RecId | RentalTemplateEntity |
RentalPurchaseOptionInterestTypeInterest type for the purchase option: none, fixed or prime plus. | EnumRentalPurchaseOptionInterestType (enum) | No | RentalTemplateEntity | |
RentalPurchaseOptionTransferProcessYes/No switch that turns on the fleet transfer process for rental contracts. | EnumRentalPurchaseOptionTransferProcessNoYes (enum) | No | RentalTemplateEntity | |
ScheduleCentralDispatchActivationYes/No flag for using central dispatch when the activation movement is scheduled. | EnumNoYesIdNoYes (enum) | No | RentalTemplateEntity | |
ScheduleCentralDispatchCallOffYes/No flag for using central dispatch when the call-off movement is scheduled. | EnumNoYesIdNoYes (enum) | No | RentalTemplateEntity | |
ScheduleCentralDispatchSwapYes/No flag for using central dispatch when the swap movement is scheduled. | EnumNoYesIdNoYes (enum) | No | RentalTemplateEntity | |
ScheduleOutboundRentalItemMovementYes/No flag for creating and scheduling an outbound fleet item movement when a contract is activated. | EnumRentalScheduleOutboundItemMovementNoYes (enum) | No | RentalTemplateEntity | |
SMUCalculationWhether service meter units are counted for the full period or the last period. | EnumRentalFullOrLastPeriod (enum) | No | RentalTemplateEntity | |
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 | |
TemplateNameShort name of the rental template. | String (30)RentalTemplateName | No | RentalTemplateEntity | |
UseCalendarForBestRateCalculationYes/No flag to use the template calendar for best rate days, leaving out closed days. | EnumRentalUseCalendarForBestRateCalculationNoYes (enum) | No | RentalTemplateEntity | |
UseCalendarForStandDownYes/No flag to use the template calendar for stand-down days, leaving out closed days. | EnumRentalStandDownUseCalendarNoYes (enum) | No | RentalTemplateEntity | |
ValidateSuggestedAttachmentsAndBulkItemsYes/No flag that shows a notice when an added main line has suggested attachments or bulk items. | EnumRentalValidateSuggestedAttachmentsAndBulkItemsNoYes (enum) | No | RentalTemplateEntity |
Indexes (8)
RentalTemplateIdxReplacement keyUnique, alternate key.
CurrencyIdxNot unique.
PaymTermIdxNot unique.
DimensionIdxNot unique.
InvoiceMethodIdxNot unique.
ContractNumberSequenceIdxNot unique.
QuotationNumberSequenceIdxNot unique.
PeriodCodeTableIdxNot unique.
Relations (18)
Each relation joins RentalTemplate to another table on the fields shown.
ContractNumberSequence→NumberSequenceTableJoin on
ContractNumberSequence = NumberSequenceTable.RecIdMany RentalTemplate records → zero or one NumberSequenceTable record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany RentalTemplate records → zero or one Currency record
Dimension→DimensionAttributeValueSetJoin on
Dimension = DimensionAttributeValueSet.RecIdMany RentalTemplate records → zero or one DimensionAttributeValueSet record
RentalItemMovementReasonCode→RentalItemMovementReasonCodeJoin on
RentalItemMovementReasonCode = RentalItemMovementReasonCode.RecIdMany RentalTemplate records → zero or one RentalItemMovementReasonCode record
InvoiceMethod→RentalInvoiceMethodJoin on
InvoiceMethod = RentalInvoiceMethod.RecIdMany RentalTemplate records → zero or one RentalInvoiceMethod record
PaymTerm→PaymTermJoin on
PaymTerm = PaymTerm.PaymTermIdMany RentalTemplate records → zero or one PaymTerm record
QuotationNumberSequence→NumberSequenceTableJoin on
QuotationNumberSequence = NumberSequenceTable.RecIdMany RentalTemplate records → zero or one NumberSequenceTable record
RenBillingScenarioTable→RentalBillingScenarioJoin on
MainLineBillingScenario = RentalBillingScenario.RecIdMany RentalTemplate records → zero or one RentalBillingScenario record
RenBulkRevenueCat→RentalRevenueCategoryJoin on
MainLineBulkRevenueCategory = RentalRevenueCategory.RecIdMany RentalTemplate records → zero or one RentalRevenueCategory record
RenRevenueCategoryTable→RentalRevenueCategoryJoin on
MainLineRevenueCategory = RentalRevenueCategory.RecIdMany RentalTemplate records → zero or one RentalRevenueCategory record
DefaultShiftPriceFactor→RentalPriceFactorJoin on
RentalPriceFactor.PriceFactorType = RentalPriceFactorType::Shift,DefaultShiftPriceFactor = RentalPriceFactor.RecIdMany RentalTemplate records → zero or one RentalPriceFactor record
DefaultApplicationPriceFactor→RentalPriceFactorJoin on
RentalPriceFactor.PriceFactorType = null,DefaultApplicationPriceFactor = RentalPriceFactor.RecIdMany RentalTemplate records → zero or one RentalPriceFactor record
DefaultLocationPriceFactor→RentalPriceFactorJoin on
RentalPriceFactor.PriceFactorType = RentalPriceFactorType::Location,DefaultLocationPriceFactor = RentalPriceFactor.RecIdMany RentalTemplate records → zero or one RentalPriceFactor record
CalendarId→WorkCalendarTableJoin on
CalendarId = WorkCalendarTable.CalendarIdMany RentalTemplate records → zero or one WorkCalendarTable record
RentalItemMovementReasonCodeActivation→RentalItemMovementReasonCodeJoin on
RentalItemMovementReasonCodeActivation = RentalItemMovementReasonCode.RecIdMany RentalTemplate records → zero or one RentalItemMovementReasonCode record
RentalItemMovementReasonCodeCallOff→RentalItemMovementReasonCodeJoin on
RentalItemMovementReasonCodeCallOff = RentalItemMovementReasonCode.RecIdMany RentalTemplate records → zero or one RentalItemMovementReasonCode record
RentalItemMovementReasonCodeSwap→RentalItemMovementReasonCodeJoin on
RentalItemMovementReasonCodeSwap = RentalItemMovementReasonCode.RecIdMany RentalTemplate records → zero or one RentalItemMovementReasonCode record
RentalPurchaseOptionInterestCalculation→RentalPurchaseOptionInterestCalculationJoin on
RentalPurchaseOptionInterestCalculation = RentalPurchaseOptionInterestCalculation.RecIdMany 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.
RentalTemplateEntity· 62 fields from this tableRentalContractHeaderEntity· 1 field from this tableRentalMiscChargeExemptionEntity· 1 field from this tableRentalQuotationHeaderEntity· 1 field from this tableRentalTemplateLineEntity· 1 field from this table
Need help with RentalTemplate in a report, an integration or a migration? Talk to Dr Dynamics.