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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DocumentLinePoints to the rental document line.Int64
RentalDocumentLineRecId
YesRentalDocumentLine.RecIdNone
AdditionalHoursExtra hours, based on the end and call-off times. Applies only to invoicing in advance and can be edited.Real
RentalAdditionalHours
NoNone
CallOffDateTimeDate and time when the call-off starts.UtcDateTime
RentalCallOffDateTime
NoNone
ClosedYes or no flag showing whether the hours record is closed.Enum
NoYesId
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocumentLinePricePoints to the main price line.Int64
RentalDocumentLinePriceRecId
YesRentalDocumentLinePrice.RecIdNone
EndDateTimeDate and time when the hours period ends.UtcDateTime
ToDateTime
YesNone
HourlyRateHourly rate taken from the related contract line.Real
RentalHourlyRate
NoNone
HoursHours between the start and end times. It can be edited.Real
RentalHours
NoNone
InvoicedAmountAmount already invoiced for the related document line.Real
RentalDocumentLineInvoicedAmount
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
StartDateTimeDate and time when the hours period starts.UtcDateTime
FromDateTime
YesNone
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 (2)

Relations (2)

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

  • RentalDocumentLine → RentalDocumentLine

    Join on DocumentLine = RentalDocumentLine.RecId

    Zero or one RentalDocumentLineHours record → exactly one RentalDocumentLine record

  • RentalDocumentLinePrice → RentalDocumentLinePrice

    Join on DocumentLinePrice = RentalDocumentLinePrice.RecId

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

Email sales@drdynamics.co.uk