Table
RentalSalesTable
Rental sales order
Adds rental details to a sales order header, one record per sales order. It links to the rental contract, fleet item, job site, notice to owner, invoice schedule and load the order came from. It also holds the ship-to choice and pickup location.
- Table name
RentalSalesTable- Module
Rental management- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
SalesTableIdx- Replacement key
SalesTableIdx- Key fields
SalesTable- Model
RentalManagement
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SalesTableThe sales order this rental record extends. | Int64SalesTableRefRecId | Yes | SalesTable.RecId | RentalSalesTableBiEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | 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 | |
RentalDocumentTableThe rental contract or quotation linked to the order. | Int64RentalDocumentTableRecId | No | RentalDocumentTable.RecId | RentalSalesTableBiEntity |
RentalInvoiceScheduleTableThe invoice schedule linked to the order. | Int64RentalInvoiceScheduleTableRecId | No | RentalInvoiceScheduleTable.RecId | RentalSalesTableBiEntity |
RentalItemThe fleet item on the order. | Int64RentalItemRecId | No | RentalItemTable.RecId | RentalSalesTableBiEntity |
RentalJobSiteThe job site for the order. | Int64RentalJobSiteRecId | No | RentalJobSite.RecId | RentalSalesTableBiEntity |
RentalLoadPoints to the load that the sales order originated from. | Int64RentalLoadRecId | No | RentalLoad.RecId | RentalSalesTableBiEntity |
RentalNoticeToOwnerThe notice to owner linked to the order. | Int64RentalNoticeToOwnerRecId | No | RentalNoticeToOwner.RecId | RentalSalesTableBiEntity |
RentalPickupRentalLocationIdThe fleet location used for pickup. | String (100)RentalPickupRentalLocationId | No | RentalLocation.LocationId | RentalSalesTableBiEntity |
RentalShipToWhere to ship: none, an address, a job site or a pickup fleet location. | EnumRentalShipTo (enum) | No | RentalSalesTableBiEntity | |
SalesIdSales order number. | String (20)SalesId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
SalesTableIdxPrimary indexReplacement keyUnique, alternate key.
SalesIdIdxUnique.
Relations (8)
Each relation joins RentalSalesTable to another table on the fields shown.
SalesTable→SalesTableJoin on
SalesTable = SalesTable.RecIdExactly one RentalSalesTable record → zero or one SalesTable record
RentalItem→RentalItemTableJoin on
RentalItem = RentalItemTable.RecIdMany RentalSalesTable records → zero or one RentalItemTable record
RentalInvoiceScheduleTable→RentalInvoiceScheduleTableJoin on
RentalInvoiceScheduleTable = RentalInvoiceScheduleTable.RecIdMany RentalSalesTable records → zero or one RentalInvoiceScheduleTable record
RentalJobSite→RentalJobSiteJoin on
RentalJobSite = RentalJobSite.RecIdMany RentalSalesTable records → zero or one RentalJobSite record
RentalNoticeToOwner→RentalNoticeToOwnerJoin on
RentalNoticeToOwner = RentalNoticeToOwner.RecIdMany RentalSalesTable records → zero or one RentalNoticeToOwner record
RentalDocumentTable→RentalDocumentTableJoin on
RentalDocumentTable = RentalDocumentTable.RecId,RentalDocumentTable.DocumentType = RentalDocumentType::ContractMany RentalSalesTable records → zero or one RentalDocumentTable record
RentalLoad→RentalLoadJoin on
RentalLoad = RentalLoad.RecIdMany RentalSalesTable records → zero or one RentalLoad record
RentalPickupRentalLocation→RentalLocationJoin on
RentalPickupRentalLocationId = RentalLocation.LocationIdMany RentalSalesTable records → zero or one RentalLocation record
Get this data out
Tables are not exposed directly. These public entities read from RentalSalesTable; use one of them in Power BI, Power Platform or a data management project.
RentalSalesTableBiEntity· 9 fields from this table
Need help with RentalSalesTable in a report, an integration or a migration? Talk to Dr Dynamics.