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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RentalDocumentLineRental document line that this approval belongs to. | Int64RentalDocumentLineRecId | Yes | RentalDocumentLine.RecId | None |
RentalItemFleet item that the overtime relates to. | Int64RentalItemRecId | Yes | RentalItemTable.RecId | None |
NextInvoiceDueDateDate when the next invoice is due. | DateRentalNextInvoiceDueDate | Yes | None | |
StatusApproval status: Created, Approved, Canceled or Deleted. | EnumRentalSMUInvoicingOvertimeStatus (enum) | No | None | |
AllowedHoursNumber of hours or SMU units allowed. | RealRentalAllowedHours | No | None | |
CalculatedOvertimeFeeOvertime fee amount that was calculated; currency not stated in the metadata. | RealRentalOvertimeFee | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EndSMUSMU reading at the end of the current period. | RealRentalEndSMU | No | None | |
EndSMUDateDate of the end SMU reading. | DateEndDate | No | None | |
ModifiedOvertimeFeeOvertime fee amount after it was changed; currency not stated in the metadata. | RealRentalOvertimeFee | No | None | |
OvertimeOvertime SMU, meaning usage above the allowance. | RealRentalItemSMUOvertime | No | None | |
OvertimeRateRental rate used for overtime in the selected period. | RealRentalOvertimeRate | 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 | |
RentalDocumentLinePriceMain price line of the rental document line. | Int64RentalDocumentLinePriceRecId | No | RentalDocumentLinePrice.RecId | None |
StartSMUSMU reading at the start of the current period, when the item was shipped out. | RealRentalStartSMU | No | None | |
StartSMUDateDate of the start SMU reading. | DateStartDate | No | 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 | |
TotalUsageTotal SMU usage of the fleet item. | RealRentalItemSMU | No | None |
Indexes (3)
RentalItemTableIdxNot unique.
RentalDocumentLinePriceIdxNot unique.
OvertimeApprovalIdxReplacement keyRentalDocumentLine,RentalItem,NextInvoiceDueDate,StatusUnique, alternate key.
Relations (3)
Each relation joins RentalSMUInvoicingOvertimeApproval to another table on the fields shown.
RentalItemTable→RentalItemTableJoin on
RentalItem = RentalItemTable.RecIdMany RentalSMUInvoicingOvertimeApproval records → exactly one RentalItemTable record
RentalDocumentLine→RentalDocumentLineJoin on
RentalDocumentLine = RentalDocumentLine.RecIdMany RentalSMUInvoicingOvertimeApproval records → exactly one RentalDocumentLine record
RentalDocumentLinePrice→RentalDocumentLinePriceJoin on
RentalDocumentLinePrice = RentalDocumentLinePrice.RecIdMany 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.