Table
RentalClassTable
Rental classes
Holds the rental classes, identified by a class ID. Each class has a name, a note, a package flag, a rental category and an item sales tax group. Rental contract and quotation lines and fleet items refer to it.
- Table name
RentalClassTable- Module
Rental management- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
None- Replacement key
RentalClassIdx- Key fields
ClassId- Model
RentalManagement
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ClassIdIdentifier of the rental class. | String (20)RentalClassId | Yes | RentalClassEntityRentalContractLineEntityRentalItemEntityand 4 more | |
CategoryRental category that the class belongs to. | Int64RentalCategoryRecId | No | RentalCategory.RecId | RentalClassEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
NameName of the rental class. | String (60)Name | No | RentalClassEntity | |
NoteFree-text note about the class. | String (-1)Notes | No | RentalClassEntity | |
PackageYes or No flag showing whether the class is a rental package. | EnumRentalPackageNoYes (enum) | No | RentalClassEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
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 | |
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 | |
TaxItemGroupItem sales tax group used for the class. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | RentalClassEntity |
Indexes (3)
RentalClassIdxReplacement keyUnique, alternate key.
RentalCategoryIdxNot unique.
TaxItemGroupHeadingIdxNot unique.
Relations (2)
Each relation joins RentalClassTable to another table on the fields shown.
RentalCategory→RentalCategoryJoin on
Category = RentalCategory.RecIdMany RentalClassTable records → zero or one RentalCategory record
TaxItemGroup→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany RentalClassTable records → zero or one TaxItemGroupHeading record
Get this data out
Tables are not exposed directly. These public entities read from RentalClassTable; use one of them in Power BI, Power Platform or a data management project.
RentalClassEntity· 6 fields from this tableRentalContractLineEntity· 1 field from this tableRentalItemEntity· 1 field from this tableRentalQuotationLineEntity· 1 field from this tableRentalRateOverrideClassLimitEntity· 1 field from this tableRentalContractLineItemEntity· 1 field from this tableRentalQuotationLineItemEntity· 1 field from this table
Need help with RentalClassTable in a report, an integration or a migration? Talk to Dr Dynamics.