Table

RentalSMUInvoicingOvertimeApproval

Overtime approvals

Transaction table for overtime approvals based on service meter unit (SMU) readings. Each record covers a rental document line and fleet item, with allowed hours, overtime, usage, a calculated and a modified fee, and an approval status. It links to the rental document line, its price line and the fleet item.

Table name
RentalSMUInvoicingOvertimeApproval
Module
Rental management
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
None
Replacement key
OvertimeApprovalIdx
Key fields
RentalDocumentLine, RentalItem, NextInvoiceDueDate, Status
Model
RentalManagement

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RentalDocumentLineRental document line that this approval belongs to.Int64
RentalDocumentLineRecId
YesRentalDocumentLine.RecIdNone
RentalItemFleet item that the overtime relates to.Int64
RentalItemRecId
YesRentalItemTable.RecIdNone
NextInvoiceDueDateDate when the next invoice is due.Date
RentalNextInvoiceDueDate
YesNone
StatusApproval status: Created, Approved, Canceled or Deleted.Enum
RentalSMUInvoicingOvertimeStatus (enum)
NoNone
AllowedHoursNumber of hours or SMU units allowed.Real
RentalAllowedHours
NoNone
CalculatedOvertimeFeeOvertime fee amount that was calculated; currency not stated in the metadata.Real
RentalOvertimeFee
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EndSMUSMU reading at the end of the current period.Real
RentalEndSMU
NoNone
EndSMUDateDate of the end SMU reading.Date
EndDate
NoNone
ModifiedOvertimeFeeOvertime fee amount after it was changed; currency not stated in the metadata.Real
RentalOvertimeFee
NoNone
OvertimeOvertime SMU, meaning usage above the allowance.Real
RentalItemSMUOvertime
NoNone
OvertimeRateRental rate used for overtime in the selected period.Real
RentalOvertimeRate
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
RentalDocumentLinePriceMain price line of the rental document line.Int64
RentalDocumentLinePriceRecId
NoRentalDocumentLinePrice.RecIdNone
StartSMUSMU reading at the start of the current period, when the item was shipped out.Real
RentalStartSMU
NoNone
StartSMUDateDate of the start SMU reading.Date
StartDate
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
TotalUsageTotal SMU usage of the fleet item.Real
RentalItemSMU
NoNone

Indexes (3)

Relations (3)

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

  • RentalItemTable → RentalItemTable

    Join on RentalItem = RentalItemTable.RecId

    Many RentalSMUInvoicingOvertimeApproval records → exactly one RentalItemTable record

  • RentalDocumentLine → RentalDocumentLine

    Join on RentalDocumentLine = RentalDocumentLine.RecId

    Many RentalSMUInvoicingOvertimeApproval records → exactly one RentalDocumentLine record

  • RentalDocumentLinePrice → RentalDocumentLinePrice

    Join on RentalDocumentLinePrice = RentalDocumentLinePrice.RecId

    Many RentalSMUInvoicingOvertimeApproval records → zero or one RentalDocumentLinePrice record

Get this data out

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

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

Email sales@drdynamics.co.uk