Table
RentalDocumentLineHours
Rental document line hours
Holds time-based hours data for a rental document line. Each record is keyed by the document line. It has start, end and call-off times, hours, an hourly rate, the invoiced amount and a closed flag. It can link to a price line.
- Table name
RentalDocumentLineHours- Module
Rental management- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
None- Replacement key
DocumentLineIdx- Key fields
DocumentLine- Model
RentalManagement
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DocumentLinePoints to the rental document line. | Int64RentalDocumentLineRecId | Yes | RentalDocumentLine.RecId | None |
AdditionalHoursExtra hours, based on the end and call-off times. Applies only to invoicing in advance and can be edited. | RealRentalAdditionalHours | No | None | |
CallOffDateTimeDate and time when the call-off starts. | UtcDateTimeRentalCallOffDateTime | No | None | |
ClosedYes or no flag showing whether the hours record is closed. | EnumNoYesIdNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DocumentLinePricePoints to the main price line. | Int64RentalDocumentLinePriceRecId | Yes | RentalDocumentLinePrice.RecId | None |
EndDateTimeDate and time when the hours period ends. | UtcDateTimeToDateTime | Yes | None | |
HourlyRateHourly rate taken from the related contract line. | RealRentalHourlyRate | No | None | |
HoursHours between the start and end times. It can be edited. | RealRentalHours | No | None | |
InvoicedAmountAmount already invoiced for the related document line. | RealRentalDocumentLineInvoicedAmount | No | None | |
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 | |
StartDateTimeDate and time when the hours period starts. | UtcDateTimeFromDateTime | Yes | 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 (2)
DocumentLineIdxReplacement keyUnique, alternate key.
RentalDocumentLinePriceIdxNot unique.
Relations (2)
Each relation joins RentalDocumentLineHours to another table on the fields shown.
RentalDocumentLine→RentalDocumentLineJoin on
DocumentLine = RentalDocumentLine.RecIdZero or one RentalDocumentLineHours record → exactly one RentalDocumentLine record
RentalDocumentLinePrice→RentalDocumentLinePriceJoin on
DocumentLinePrice = RentalDocumentLinePrice.RecIdZero or one RentalDocumentLineHours record → exactly one RentalDocumentLinePrice record
Get this data out
No public entity reads from RentalDocumentLineHours. Its data is only reachable through the application, a custom entity or a database export.
Need help with RentalDocumentLineHours in a report, an integration or a migration? Talk to Dr Dynamics.