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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ReservationIdIdentifier of the reservation. It is the key of the table. | StringRentalItemReservationId | Yes | RentalContractLineItemEntityRentalQuotationLineItemEntity | |
BusRelAccountProspect account of the reservation. Points to a prospect. | String (20)smmBusRelAccount | No | smmBusRelTable.BusRelAccount | None |
ClassTableRental class of the reservation. Points to a rental class. | Int64RentalClassTableRecId | No | RentalClassTable.RecId | None |
ContractLineThe rental document line linked to the reservation. | Int64RentalDocumentLineRecId | No | RentalDocumentLine.RecId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustAccountCustomer account of the reservation. Points to a customer. | String (20)CustAccount | No | CustTable.AccountNum | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionFree text notes about the reservation. | String (1000)RentalItemReservationDescription | No | None | |
EndDateEnd date of the reservation. | DateEndDate | No | None | |
ExpiryDateDate when the reservation expires. | DateExpirationDate | No | None | |
ModelFleet item model that is reserved. Points to a model. | Int64RentalItemModelRecId | No | RentalItemModel.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurchIdPurchase order number linked to the reservation. | String (20)PurchIdBase | No | None | |
QtyQuantity reserved. | RealQty | No | None | |
QuotationIdSales quotation number linked to the reservation. | String (20)QuotationIdBase | 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 | |
RentalDocumentTableThe rental contract or quotation linked to the record. Points to a rental document. | Int64RentalDocumentTableRecId | No | RentalDocumentTable.RecId | None |
ReservationStageWhether the record is a Request or a Reservation. | EnumRentalItemReservationStage (enum) | No | None | |
ReservationTypeType of the reservation. Points to a reservation type record. | Int64RentalItemReservationTypeRecId | Yes | RentalItemReservationType.RecId | None |
ResponsibleThe worker responsible for the reservation. Points to a worker. | Int64RentalResponsibleWorkerRecId | No | HcmWorker.RecId | None |
SalesIdSales order number linked to the reservation. | String (20)SalesIdBase | No | None | |
smmOpportunitySales opportunity linked to the reservation. Points to an opportunity. | StringsmmOpportunityId | No | smmOpportunityTable.OpportunityId | None |
StartDateStart date of the reservation. | DateStartDate | Yes | None | |
StatusStatus of the reservation: Active, Expired, Converted or Canceled. | EnumRentalItemReservationStatus (enum) | 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 |
Indexes (10)
CustTableIdxNot unique.
smmBusRelTableIdxNot unique.
HcmWorkerIdxNot unique.
ReservationIdxReplacement keyUnique, alternate key.
RentalDocumentLineIdxNot unique.
smmOpportunityTableIdxNot unique.
RentalClassTableIdxNot unique.
RentalItemModelIdxNot unique.
RentalItemReservationTypeIdxNot unique.
TypeStatusIdxReservationStage,StartDate,EndDate,Status,RecIdNot unique.
Relations (9)
Each relation joins RentalItemReservationTable to another table on the fields shown.
ClassTable→RentalClassTableJoin on
ClassTable = RentalClassTable.RecIdMany RentalItemReservationTable records → zero or one RentalClassTable record
ContractLine→RentalDocumentLineJoin on
ContractLine = RentalDocumentLine.RecIdMany RentalItemReservationTable records → zero or one RentalDocumentLine record
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany RentalItemReservationTable records → zero or one CustTable record
Model→RentalItemModelJoin on
Model = RentalItemModel.RecIdMany RentalItemReservationTable records → zero or one RentalItemModel record
ReservationType→RentalItemReservationTypeJoin on
ReservationType = RentalItemReservationType.RecIdMany RentalItemReservationTable records → exactly one RentalItemReservationType record
Responsible→HcmWorkerJoin on
Responsible = HcmWorker.RecIdMany RentalItemReservationTable records → zero or one HcmWorker record
smmBusRelTable→smmBusRelTableJoin on
BusRelAccount = smmBusRelTable.BusRelAccountMany RentalItemReservationTable records → zero or one smmBusRelTable record
smmOpportunityTable→smmOpportunityTableJoin on
smmOpportunity = smmOpportunityTable.OpportunityIdMany RentalItemReservationTable records → zero or one smmOpportunityTable record
RentalDocumentTable→RentalDocumentTableJoin on
RentalDocumentTable = RentalDocumentTable.RecIdMany 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.
RentalContractLineItemEntity· 1 field from this tableRentalQuotationLineItemEntity· 1 field from this table
Need help with RentalItemReservationTable in a report, an integration or a migration? Talk to Dr Dynamics.