Table

RentalUserSetup

Rental user setups

Stores rental defaults for each user, with the user ID as the key. It links to a warehouse, a fleet location, a rental template and a reservation type. It also holds options for reservations and fleet item availability screens.

Table name
RentalUserSetup
Module
Rental management
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
None
Replacement key
UserIdx
Key fields
UserId
Model
RentalManagement

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
UserIdThe user these rental settings belong to.String
SysUserId
YesNone
AutoSitePopulationYes or No option for filling in the site automatically from the user's warehouse when a fleet item is removed.Enum
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventLocationIdThe warehouse set for the user.String
InventLocationId
NoInventLocation.InventLocationIdNone
ManageAllReservationsYes or No option that lets the user change all reservations.Enum
RentalManageAllReservations
NoYes (enum)
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
RentalItemAttachmentAllChooses whether availability shows fleet items, attachments or all.Enum
RentalItemAttachmentAll (enum)
NoNone
RentalItemShowAllOnAvailabilityYes or No option that sets the default of the Show all field on fleet item availability.Enum
RentalItemShowAllOnAvailability
NoYes (enum)
NoNone
RentalLocationIdThe fleet location set for the user.String (100)
RentalLocationId
NoRentalLocation.LocationIdNone
RentalTemplateThe rental template set for the user, linked by its system record ID.Int64
RentalTemplateRecId
NoRentalTemplate.RecIdNone
ReservationTypeThe reservation type set for the user, linked by its system record ID.Int64
RentalItemReservationTypeRecId
NoRentalItemReservationType.RecIdNone
ShowUtilizationOnAvailabilityYes or No option to show utilisation on the availability views.Enum
RentalShowUtilizationOnAvailability
NoYes (enum)
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

Indexes (1)

  • UserIdxReplacement key

    UserId

    Unique, alternate key.

Relations (4)

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

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many RentalUserSetup records → zero or one InventLocation record

  • RentalLocation → RentalLocation

    Join on RentalLocationId = RentalLocation.LocationId

    Many RentalUserSetup records → zero or one RentalLocation record

  • RentalTemplate → RentalTemplate

    Join on RentalTemplate = RentalTemplate.RecId

    Many RentalUserSetup records → zero or one RentalTemplate record

  • ReservationType → RentalItemReservationType

    Join on ReservationType = RentalItemReservationType.RecId

    Many RentalUserSetup records → zero or one RentalItemReservationType record

Get this data out

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

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

Email sales@drdynamics.co.uk