Table

RentalHaulerDriver

Hauler driver associations

Links drivers to haulers, and optionally to a truck and a trailer. The hauler and driver together form the key. It points to the hauler, driver, truck and trailer tables by system record ID.

Table name
RentalHaulerDriver
Module
Rental management
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
None
Replacement key
HaulerDriverIdx
Key fields
Hauler, Driver
Model
RentalManagement

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
HaulerThe hauler in the pairing. It points to the haulers table.Int64
RentalHaulerRecId
YesRentalHauler.RecIdNone
DriverThe driver in the pairing. It points to the drivers table.Int64
RentalDriverRecId
YesRentalDriver.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
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
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
TrailerThe trailer linked to this driver and hauler. It points to the trailers table.Int64
RentalTrailerRecId
NoRentalTrailer.RecIdNone
TruckThe truck linked to this driver and hauler. It points to the trucks table.Int64
RentalTruckRecId
NoRentalTruck.RecIdNone

Indexes (1)

  • HaulerDriverIdxReplacement key

    Hauler, Driver

    Unique, alternate key.

Relations (4)

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

  • Hauler → RentalHauler

    Join on Hauler = RentalHauler.RecId

    Many RentalHaulerDriver records → exactly one RentalHauler record

  • Driver → RentalDriver

    Join on Driver = RentalDriver.RecId

    Many RentalHaulerDriver records → exactly one RentalDriver record

  • Truck → RentalTruck

    Join on Truck = RentalTruck.RecId

    Many RentalHaulerDriver records → zero or one RentalTruck record

  • Trailer → RentalTrailer

    Join on Trailer = RentalTrailer.RecId

    Many RentalHaulerDriver records → zero or one RentalTrailer record

Get this data out

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

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

Email sales@drdynamics.co.uk