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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ChildClassTableRental class that this line refers to as a child.Int64
RentalClassTableRecId
NoRentalClassTable.RecIdNone
RentalItemFleet item linked to this line.Int64
RentalItemRecId
NoRentalItemTable.RecIdNone
ClassTableRental class that owns this line.Int64
RentalClassTableRecId
YesRentalClassTable.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
IsDefaultMarks this line as the default choice for the class.Enum
NoYesId
NoYes (enum)
NoNone
NoLimitShows that the quantity has no upper limit.Enum
NoYesId
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QtyNumber of rental classes allowed on this line.Integer
NumberOf
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
RevenuePctPercentage of the amount that counts as revenue.Real
RentalRevenuePct
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 (3)

Relations (3)

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

  • ChildClassTable → RentalClassTable

    Join on RentalClassTable.Package = null, ChildClassTable = RentalClassTable.RecId

    Many RentalClassLine records → zero or one RentalClassTable record

  • ClassTable → RentalClassTable

    Join on ClassTable = RentalClassTable.RecId

    Many RentalClassLine records → exactly one RentalClassTable record

  • RentalItem → RentalItemTable

    Join on RentalItem = RentalItemTable.RecId

    Many 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.

Email sales@drdynamics.co.uk