Table

RentalTemplateFleetType

Fleet type and fleet item/attachment eligibility

Sets which fleet types a rental template accepts, for fleet items, attachments or both. Each record is identified by the rental template and the fleet type. It also holds the contract type the rule applies to.

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

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RentalTemplateThe rental template this rule belongs to, linked by its system record ID.Int64
RentalTemplateRecId
YesRentalTemplate.RecIdNone
FleetTypeThe fleet type the rule applies to, such as New, Rental, Lease or Used.Enum
RentalFleetType (enum)
NoNone
ContractTypeThe contract type the rule applies to: all, rent-to-rent or rental purchase option.Enum
RentalPurchaseOptionFleetByContractType (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
RentalItemTypeSays whether the rule covers fleet items, attachments or all of them.Enum
RentalItemAttachmentAll (enum)
NoNone
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

Indexes (1)

Relations (1)

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

  • RentalTemplate → RentalTemplate

    Join on RentalTemplate = RentalTemplate.RecId

    Many RentalTemplateFleetType records → exactly one RentalTemplate record

Get this data out

No public entity reads from RentalTemplateFleetType. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk