Table
RentalClassLine
Rental class lines
Lines that belong to a rental class, each pointing to a child rental class and a fleet item. A line can set a quantity limit, a default flag and a revenue percentage. The key combines the child class, the fleet item and the parent class.
- Table name
RentalClassLine- Module
Rental management- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
None- Replacement key
ModelIdObjectIdx- Key fields
ChildClassTable, RentalItem, ClassTable- Model
RentalManagement
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChildClassTableRental class that this line refers to as a child. | Int64RentalClassTableRecId | No | RentalClassTable.RecId | None |
RentalItemFleet item linked to this line. | Int64RentalItemRecId | No | RentalItemTable.RecId | None |
ClassTableRental class that owns this line. | Int64RentalClassTableRecId | Yes | RentalClassTable.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
IsDefaultMarks this line as the default choice for the class. | EnumNoYesIdNoYes (enum) | No | None | |
NoLimitShows that the quantity has no upper limit. | EnumNoYesIdNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QtyNumber of rental classes allowed on this line. | IntegerNumberOf | 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 | |
RevenuePctPercentage of the amount that counts as revenue. | RealRentalRevenuePct | 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 |
Indexes (3)
ModelIdObjectIdxReplacement keyChildClassTable,RentalItem,ClassTableUnique, alternate key.
RentalItemIdxNot unique.
ClassTableIdxNot unique.
Relations (3)
Each relation joins RentalClassLine to another table on the fields shown.
ChildClassTable→RentalClassTableJoin on
RentalClassTable.Package = null,ChildClassTable = RentalClassTable.RecIdMany RentalClassLine records → zero or one RentalClassTable record
ClassTable→RentalClassTableJoin on
ClassTable = RentalClassTable.RecIdMany RentalClassLine records → exactly one RentalClassTable record
RentalItem→RentalItemTableJoin on
RentalItem = RentalItemTable.RecIdMany RentalClassLine records → zero or one RentalItemTable record
Get this data out
No public entity reads from RentalClassLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with RentalClassLine in a report, an integration or a migration? Talk to Dr Dynamics.