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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RentalDocumentLineRental document line that the exception belongs to. | Int64RentalDocumentLineRecId | Yes | RentalDocumentLine.RecId | None |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
ActualClassTableRental class that was actually used on the line. | Int64RentalClassTableRecId | No | RentalClassTable.RecId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ReasonShort code giving the reason for the exception. | String (20)RentalClassExceptionReason | 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 | |
RentalDocumentTableRental document, such as a contract or quotation, that the exception belongs to. | Int64RentalDocumentTableRecId | Yes | RentalDocumentTable.RecId | None |
SuggestedClassTableRental class that was suggested for the line. | Int64RentalClassTableRecId | No | RentalClassTable.RecId | 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 (4)
RentalClassExceptionIdxReplacement keyRentalDocumentLine,CreatedDateTimeUnique, alternate key.
RentalDocumentTableIdxNot unique.
ActualClassTableIdxNot unique.
SuggestedClassTableIdxNot unique.
Relations (4)
Each relation joins RentalClassException to another table on the fields shown.
ActualClassTable→RentalClassTableJoin on
ActualClassTable = RentalClassTable.RecIdMany RentalClassException records → zero or one RentalClassTable record
RentalDocumentLine→RentalDocumentLineJoin on
RentalDocumentLine = RentalDocumentLine.RecIdMany RentalClassException records → exactly one RentalDocumentLine record
RentalDocumentTable→RentalDocumentTableJoin on
RentalDocumentTable = RentalDocumentTable.RecIdMany RentalClassException records → exactly one RentalDocumentTable record
SuggestedClassTable→RentalClassTableJoin on
SuggestedClassTable = RentalClassTable.RecIdMany 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.