Table

RentalClassException

Rental class exceptions

Records exceptions found on rental document lines, where the class used differs from the class suggested. Each row stores a reason, the actual class and the suggested class. The key is the rental document line plus the creation date and time.

Table name
RentalClassException
Module
Rental management
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
None
Replacement key
RentalClassExceptionIdx
Key fields
RentalDocumentLine, CreatedDateTime
Model
RentalManagement

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RentalDocumentLineRental document line that the exception belongs to.Int64
RentalDocumentLineRecId
YesRentalDocumentLine.RecIdNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
ActualClassTableRental class that was actually used on the line.Int64
RentalClassTableRecId
NoRentalClassTable.RecIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
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
ReasonShort code giving the reason for the exception.String (20)
RentalClassExceptionReason
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
RentalDocumentTableRental document, such as a contract or quotation, that the exception belongs to.Int64
RentalDocumentTableRecId
YesRentalDocumentTable.RecIdNone
SuggestedClassTableRental class that was suggested for the line.Int64
RentalClassTableRecId
NoRentalClassTable.RecIdNone
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 (4)

Relations (4)

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

  • ActualClassTable → RentalClassTable

    Join on ActualClassTable = RentalClassTable.RecId

    Many RentalClassException records → zero or one RentalClassTable record

  • RentalDocumentLine → RentalDocumentLine

    Join on RentalDocumentLine = RentalDocumentLine.RecId

    Many RentalClassException records → exactly one RentalDocumentLine record

  • RentalDocumentTable → RentalDocumentTable

    Join on RentalDocumentTable = RentalDocumentTable.RecId

    Many RentalClassException records → exactly one RentalDocumentTable record

  • SuggestedClassTable → RentalClassTable

    Join on SuggestedClassTable = RentalClassTable.RecId

    Many RentalClassException records → zero or one RentalClassTable record

Get this data out

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

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

Email sales@drdynamics.co.uk