Table

RentalItemReservationTable

Fleet item reservations

Holds reservations and requests for fleet items, identified by a reservation ID. Each has a stage (Request or Reservation) and a status, with start, end and expiry dates and a quantity. It links to a model, rental class, customer or prospect, rental document and related sales or purchase documents.

Table name
RentalItemReservationTable
Module
Rental management
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
None
Replacement key
ReservationIdx
Key fields
ReservationId
Model
RentalManagement

Fields (28)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ReservationIdIdentifier of the reservation. It is the key of the table.String
RentalItemReservationId
YesRentalContractLineItemEntityRentalQuotationLineItemEntity
BusRelAccountProspect account of the reservation. Points to a prospect.String (20)
smmBusRelAccount
NosmmBusRelTable.BusRelAccountNone
ClassTableRental class of the reservation. Points to a rental class.Int64
RentalClassTableRecId
NoRentalClassTable.RecIdNone
ContractLineThe rental document line linked to the reservation.Int64
RentalDocumentLineRecId
NoRentalDocumentLine.RecIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CustAccountCustomer account of the reservation. Points to a customer.String (20)
CustAccount
NoCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionFree text notes about the reservation.String (1000)
RentalItemReservationDescription
NoNone
EndDateEnd date of the reservation.Date
EndDate
NoNone
ExpiryDateDate when the reservation expires.Date
ExpirationDate
NoNone
ModelFleet item model that is reserved. Points to a model.Int64
RentalItemModelRecId
NoRentalItemModel.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchIdPurchase order number linked to the reservation.String (20)
PurchIdBase
NoNone
QtyQuantity reserved.Real
Qty
NoNone
QuotationIdSales quotation number linked to the reservation.String (20)
QuotationIdBase
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
RentalDocumentTableThe rental contract or quotation linked to the record. Points to a rental document.Int64
RentalDocumentTableRecId
NoRentalDocumentTable.RecIdNone
ReservationStageWhether the record is a Request or a Reservation.Enum
RentalItemReservationStage (enum)
NoNone
ReservationTypeType of the reservation. Points to a reservation type record.Int64
RentalItemReservationTypeRecId
YesRentalItemReservationType.RecIdNone
ResponsibleThe worker responsible for the reservation. Points to a worker.Int64
RentalResponsibleWorkerRecId
NoHcmWorker.RecIdNone
SalesIdSales order number linked to the reservation.String (20)
SalesIdBase
NoNone
smmOpportunitySales opportunity linked to the reservation. Points to an opportunity.String
smmOpportunityId
NosmmOpportunityTable.OpportunityIdNone
StartDateStart date of the reservation.Date
StartDate
YesNone
StatusStatus of the reservation: Active, Expired, Converted or Canceled.Enum
RentalItemReservationStatus (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 (10)

Relations (9)

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

  • ClassTable → RentalClassTable

    Join on ClassTable = RentalClassTable.RecId

    Many RentalItemReservationTable records → zero or one RentalClassTable record

  • ContractLine → RentalDocumentLine

    Join on ContractLine = RentalDocumentLine.RecId

    Many RentalItemReservationTable records → zero or one RentalDocumentLine record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many RentalItemReservationTable records → zero or one CustTable record

  • Model → RentalItemModel

    Join on Model = RentalItemModel.RecId

    Many RentalItemReservationTable records → zero or one RentalItemModel record

  • ReservationType → RentalItemReservationType

    Join on ReservationType = RentalItemReservationType.RecId

    Many RentalItemReservationTable records → exactly one RentalItemReservationType record

  • Responsible → HcmWorker

    Join on Responsible = HcmWorker.RecId

    Many RentalItemReservationTable records → zero or one HcmWorker record

  • smmBusRelTable → smmBusRelTable

    Join on BusRelAccount = smmBusRelTable.BusRelAccount

    Many RentalItemReservationTable records → zero or one smmBusRelTable record

  • smmOpportunityTable → smmOpportunityTable

    Join on smmOpportunity = smmOpportunityTable.OpportunityId

    Many RentalItemReservationTable records → zero or one smmOpportunityTable record

  • RentalDocumentTable → RentalDocumentTable

    Join on RentalDocumentTable = RentalDocumentTable.RecId

    Many RentalItemReservationTable records → zero or one RentalDocumentTable record

Get this data out

Tables are not exposed directly. These public entities read from RentalItemReservationTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk