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· rootMainLineRevenueCat(tableRentalRevenueCategory) · InnerJoin toRentalTemplate· read-onlyMainLineBulkRevenueCat(tableRentalRevenueCategory) · OuterJoin toRentalTemplate· read-onlyBillingScenario(tableRentalBillingScenario) · OuterJoin toRentalTemplate· read-onlyInvoiceMethod(tableRentalInvoiceMethod) · OuterJoin toRentalTemplate· read-onlyAppPriceFactor(tableRentalPriceFactor) · OuterJoin toRentalTemplate· read-onlyLocationPriceFactor(tableRentalPriceFactor) · OuterJoin toRentalTemplate· read-onlyShiftPriceFactor(tableRentalPriceFactor) · OuterJoin toRentalTemplate· read-onlyDefaultReasonCode(tableRentalItemMovementReasonCode) · OuterJoin toRentalTemplate· read-onlyActivationReasonCode(tableRentalItemMovementReasonCode) · OuterJoin toRentalTemplate· read-onlySwapReasonCode(tableRentalItemMovementReasonCode) · OuterJoin toRentalTemplate· read-onlyCallOffReasonCode(tableRentalItemMovementReasonCode) · OuterJoin toRentalTemplate· read-onlyPurchaseOptionInterest(tableRentalPurchaseOptionInterestCalculation) · OuterJoin toRentalTemplate· read-onlyContractNumberSeq(tableNumberSequenceTable) · OuterJoin toRentalTemplate· read-onlyQuotationNumberSeq(tableNumberSequenceTable) · OuterJoin toRentalTemplate· read-onlyDimensionDAVS(tableDimensionSetEntity) · OuterJoin toRentalTemplate· read-only
Fields (77)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
TemplateIdUnique ID of the rental template. | StringRentalTemplateId | Yes | Yes | RentalTemplate.TemplateId | |
TemplateNameShort name of the rental template. | String (30)RentalTemplateName | No | Yes | RentalTemplate.TemplateName | |
ContractTypeKind of contract: rental, lease or no-charge. | Enum
| No | Yes | RentalTemplate.ContractType | |
CurrencyCodeCurrency code that the template uses by default. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | RentalTemplate.CurrencyCode |
PaymentTermsIdTerms of payment that the template applies to quotations and contracts. | String (100)PaymTermId | No | Yes | PaymTerm.PaymTermId | RentalTemplate.PaymTerm |
MainLineIdIdentifier of a rental template line. | StringRentalTemplateLineId | No | Yes | RentalTemplate.MainLineId | |
MainLineNameDescription given to the main line that the template creates. | String (30)RentalTemplateLineName | No | Yes | RentalTemplate.MainLineName | |
IsMainLineApprovalRequiredYes/No flag showing whether approval is needed for SMU invoicing. | EnumRentalApprovalRequired
| No | Yes | RentalTemplate.MainLineApprovalRequired | |
IsMainLineExcludedFromFeeCalculationYes/No flag that leaves the main line out of fee calculation. | EnumNoYesId
| No | Yes | RentalTemplate.MainLineNoFee | |
MainLineOvertimeBillingMethodHow overtime is billed: by period, by last reading or at end of contract. | Enum
| No | Yes | RentalTemplate.MainLineOvertimeBillingMethod | |
DefaultExpirationDateDefault expiry setting for a rental quotation, held as a whole number. | IntegerRentalDefaultExpirationDate | No | Yes | RentalTemplate.DefaultExpirationDate | |
MaximumExpirationDateLargest allowed expiry setting for a rental quotation, held as a whole number. | IntegerRentalMaximumExpirationDate | No | Yes | RentalTemplate.MaximumExpirationDate | |
IsBestRateCalculationFullPeriodYes/No flag. Yes means best rate is worked out over the whole rental period. No means the last period only. | EnumRentalBestRateCalculationFullPeriod
| No | Yes | RentalTemplate.BestRateCalculationFullPeriod | |
WillUseCalendarForBestRateCalculationYes/No flag to use the template calendar for best rate days, leaving out closed days. | EnumRentalUseCalendarForBestRateCalculation
| No | Yes | RentalTemplate.UseCalendarForBestRateCalculation | |
SMUCalculationWhether service meter units are counted for the full period or the last period. | Enum
| No | Yes | RentalTemplate.SMUCalculation | |
IsHourlyBillingYes/No flag for hourly billing on contracts made from this template. | EnumRentalHourlyBilling
| No | Yes | RentalTemplate.HourlyBilling | |
HourlyRateRoundingRounding of the hourly rate: none, up or down. | Enum
| No | Yes | RentalTemplate.HourlyRateRounding | |
IsCalendarBasedInvoicingYes/No flag marking the template for calendar-based invoicing. | EnumRentalCalendarBasedInvoice
| No | Yes | RentalTemplate.CalendarBasedInvoice | |
CalendarIdWork calendar used by the template. | StringCalendarId | No | Yes | WorkCalendarTable.CalendarId | RentalTemplate.CalendarId |
WillAdjustFirstPeriodYes/No flag that adjusts the first contract period, for example to month end. | EnumRentalAdjustFirstMonth
| No | Yes | RentalTemplate.AdjustFirstMonth | |
WillProRateForCalendarYes/No flag to use a prorated rate in calendar-based calculation. | EnumRentalProRateForCalendar
| No | Yes | RentalTemplate.ProRateForCalendar | |
WillProRateStandDownYes/No flag to use a prorated rate for stand-down amounts. | EnumRentalProRateStandDown
| No | Yes | RentalTemplate.ProRateStandDown | |
WillCalculateGraceHoursYes/No flag to use period grace hours when counting days for best rate. | EnumRentalCalculateGraceHours
| No | Yes | RentalTemplate.CalculateGraceHours | |
WillProrateOvertimeYes/No flag to base the overtime fee on the active price and allowed hours, not the rental class fee. | EnumRentalProrateOvertime
| No | Yes | RentalTemplate.ProrateOvertime | |
WillScheduleOutboundRentalItemMovementYes/No flag for creating and scheduling an outbound fleet item movement when a contract is activated. | EnumRentalScheduleOutboundItemMovement
| No | Yes | RentalTemplate.ScheduleOutboundRentalItemMovement | |
PrintContractRuleWhether the contract is printed never, after a prompt, or always. | Enum
| No | Yes | RentalTemplate.PrintContract | |
CreateOrScheduleRentalItemMovementForSwapAutomatic fleet item movement action on a swap: none, create, or create then schedule. | Enum
| No | Yes | RentalTemplate.CreateOrScheduleRentalItemMovementForSwap | |
RentalItemMovementActionForCallOffAutomatic fleet item movement action on a call-off: none, create, or create and schedule. | Enum
| No | Yes | RentalTemplate.RentalItemMovementActionForCallOff | |
WillScheduleCentralDispatchOnActivationYes/No flag for using central dispatch when the activation movement is scheduled. | EnumNoYesId
| No | Yes | RentalTemplate.ScheduleCentralDispatchActivation | |
WillScheduleCentralDispatchOnSwapYes/No flag for using central dispatch when the swap movement is scheduled. | EnumNoYesId
| No | Yes | RentalTemplate.ScheduleCentralDispatchSwap | |
WillScheduleCentralDispatchOnCallOffYes/No flag for using central dispatch when the call-off movement is scheduled. | EnumNoYesId
| No | Yes | RentalTemplate.ScheduleCentralDispatchCallOff | |
WillValidateSuggestedAttachmentsAndBulkItemsYes/No flag that shows a notice when an added main line has suggested attachments or bulk items. | EnumRentalValidateSuggestedAttachmentsAndBulkItems
| No | Yes | RentalTemplate.ValidateSuggestedAttachmentsAndBulkItems | |
InsuranceTolerancePercentage of the fleet item's acquisition cost used as a tolerance for registered insurance. | RealRentalTemplateInsuranceTolerance | No | Yes | RentalTemplate.InsuranceTolerance | |
WillValidateInsuranceYes/No flag for removing insurance lines automatically when the customer has enough insurance. | EnumRentalTemplateInsuranceValidation
| No | Yes | RentalTemplate.InsuranceValidation | |
IsFuelCalculationActiveYes/No flag to calculate fuel on inbound fleet item movements. | EnumRentalFuelCalculation
| No | Yes | RentalTemplate.FuelCalculation | |
FuelPriceCost of one unit of fuel by volume. | RealRentalFuelPrice | No | Yes | RentalTemplate.FuelPrice | |
IsDieselCalculationActiveYes/No flag to calculate diesel on inbound fleet item movements. | EnumRentalDieselCalculation
| No | Yes | RentalTemplate.DieselCalculation | |
DieselPriceCost of one unit of diesel by volume. | RealRentalDieselPrice | No | Yes | RentalTemplate.DieselPrice | |
IsJobsiteSelectionAllowedYes/No flag that lets users also record the customer's job site when choosing a pickup fleet location. | EnumRentalAllowJobsiteSelection
| No | Yes | RentalTemplate.AllowJobsiteSelection | |
WillUseCalendarForStandDownYes/No flag to use the template calendar for stand-down days, leaving out closed days. | EnumRentalStandDownUseCalendar
| No | Yes | RentalTemplate.UseCalendarForStandDown | |
IsRentalPurchaseOptionEnabledYes/No flag that turns on the rental purchase option process. | EnumRentalContractRentalPurchaseOption
| No | Yes | RentalTemplate.ContractRentalPurchaseOption | |
IsFleetTransferProcessAllowedYes/No switch that turns on the fleet transfer process for rental contracts. | EnumRentalPurchaseOptionTransferProcess
| No | Yes | RentalTemplate.RentalPurchaseOptionTransferProcess | |
WillUseAskingPriceAsPurchasePriceYes/No flag to use the asking price as the purchase price. | EnumRentalPurchOrAskingPrice
| No | Yes | RentalTemplate.PurchOrAskingPrice | |
MaximumTermLongest term allowed for the rental purchase option. | IntegerRentalMaxTerm | No | Yes | RentalTemplate.MaximumTerm | |
MinimumTermShortest term allowed for the rental purchase option. | IntegerRentalMinTerm | No | Yes | RentalTemplate.MinimumTerm | |
RentalPurchaseOptionInterestTypeInterest type for the purchase option: none, fixed or prime plus. | Enum
| No | Yes | RentalTemplate.RentalPurchaseOptionInterestType | |
WillApplyCompoundInterestYes/No flag to add accrued interest to the declining balance. | EnumRentalCompoundInterest
| No | Yes | RentalTemplate.CompoundInterest | |
MainLineRevenueCategoryIdUnique ID of the revenue category. | StringRentalRevenueCategoryId | Yes | Yes | RentalRevenueCategory.RevenueCategoryId | |
MainLineBulkRevenueCategoryIdUnique ID of the revenue category. | StringRentalRevenueCategoryId | No | Yes | RentalRevenueCategory.RevenueCategoryId | |
MainLineBillingScenarioIdIdentifier of the billing scenario. | StringRentalBillingScenarioId | No | Yes | RentalBillingScenario.BillingScenarioId | |
InvoiceMethodIdIdentifier of the invoice method. | StringRentalInvoiceMethodId | No | Yes | RentalInvoiceMethod.InvoiceMethodId | |
DefaultApplicationPriceFactorIdID of the price factor. | StringRentalPriceFactorId | No | Yes | RentalPriceFactor.PriceFactorId | |
DefaultLocationPriceFactorIdID of the price factor. | StringRentalPriceFactorId | No | Yes | RentalPriceFactor.PriceFactorId | |
DefaultShiftPriceFactorIdID of the price factor. | StringRentalPriceFactorId | No | Yes | RentalPriceFactor.PriceFactorId | |
DefaultReasonCodeIdShort code that identifies the reason. It is the key of the table. | String (20)RentalItemMovementReasonCodeId | No | Yes | RentalItemMovementReasonCode.CodeId | |
ActivationReasonCodeIdShort code that identifies the reason. It is the key of the table. | String (20)RentalItemMovementReasonCodeId | No | Yes | RentalItemMovementReasonCode.CodeId | |
SwapReasonCodeIdShort code that identifies the reason. It is the key of the table. | String (20)RentalItemMovementReasonCodeId | No | Yes | RentalItemMovementReasonCode.CodeId | |
CallOffReasonCodeIdShort code that identifies the reason. It is the key of the table. | String (20)RentalItemMovementReasonCodeId | No | Yes | RentalItemMovementReasonCode.CodeId | |
RentalPurchaseOptionInterestCalculationNameName of the interest calculation. | StringRentalPurchaseOptionName | No | Yes | RentalPurchaseOptionInterestCalculation.RentalPurchaseOptionName | |
ContractNumberSequenceCodeCode that identifies the number sequence. | StringNumberSequenceCode | No | Yes | NumberSequenceTable.NumberSequence | |
QuotationNumberSequenceCodeCode that identifies the number sequence. | StringNumberSequenceCode | No | Yes | NumberSequenceTable.NumberSequence | |
DimensionFinancial dimension set linked to the template. | Int64LedgerDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | RentalTemplate.Dimension |
DimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
MainLineRevenueCategoryRecIdRevenue category for the main line. | Int64RentalRevenueCategoryRecId | No | No (private) | RentalRevenueCategory.RecId | RentalTemplate.MainLineRevenueCategory |
MainLineBulkRevenueCategoryRecIdRevenue category used for bulk items on the main line. | Int64RentalBulkRevenueCategoryRecId | No | No (private) | RentalRevenueCategory.RecId | RentalTemplate.MainLineBulkRevenueCategory |
MainLineBillingScenarioRecIdRental billing scenario for the main line, which holds the price lines. | Int64RentalBillingScenarioRecId | No | No (private) | RentalBillingScenario.RecId | RentalTemplate.MainLineBillingScenario |
InvoiceMethodRecIdInvoice method assigned to the template. | Int64RentalInvoiceMethodRecId | No | No (private) | RentalInvoiceMethod.RecId | RentalTemplate.InvoiceMethod |
ContractNumberSequenceRecIdNumber sequence used to give IDs to contracts created from this template. | Int64RefRecId | No | No (private) | NumberSequenceTable.RecId | RentalTemplate.ContractNumberSequence |
QuotationNumberSequenceRecIdNumber sequence used to give IDs to quotations created from this template. | Int64RefRecId | No | No (private) | NumberSequenceTable.RecId | RentalTemplate.QuotationNumberSequence |
DefaultApplicationPriceFactorRecIdDefault Application price factor for new contracts and quotations. | Int64RentalPriceFactorRecId | No | No (private) | RentalPriceFactor.RecId | RentalTemplate.DefaultApplicationPriceFactor |
DefaultLocationPriceFactorRecIdDefault Location price factor for new contracts and quotations. | Int64RentalPriceFactorRecId | No | No (private) | RentalPriceFactor.RecId | RentalTemplate.DefaultLocationPriceFactor |
DefaultShiftPriceFactorRecIdDefault Shift price factor for new contracts and quotations. | Int64RentalPriceFactorRecId | No | No (private) | RentalPriceFactor.RecId | RentalTemplate.DefaultShiftPriceFactor |
DefaultReasonCodeRecIdFleet item movement reason code linked to the template. | Int64RentalItemMovementReasonCodeRecId | No | No (private) | RentalItemMovementReasonCode.RecId | RentalTemplate.RentalItemMovementReasonCode |
ActivationReasonCodeRecIdReason code added to fleet item movements created at contract activation. | Int64RentalItemMovementReasonCodeRecId | No | No (private) | RentalItemMovementReasonCode.RecId | RentalTemplate.RentalItemMovementReasonCodeActivation |
SwapReasonCodeRecIdReason code added to fleet item movements created for a swap. | Int64RentalItemMovementReasonCodeRecId | No | No (private) | RentalItemMovementReasonCode.RecId | RentalTemplate.RentalItemMovementReasonCodeSwap |
CallOffReasonCodeRecIdReason code added to fleet item movements created for a call-off. | Int64RentalItemMovementReasonCodeRecId | No | No (private) | RentalItemMovementReasonCode.RecId | RentalTemplate.RentalItemMovementReasonCodeCallOff |
PurchaseOptionInterestRecIdInterest calculation record applied to the rental purchase option. | Int64RentalPurchaseOptionInterestRecId | No | No (private) | RentalPurchaseOptionInterestCalculation.RecId | RentalTemplate.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.