Table
RentalSalesLine
Rental sales line
Adds rental details to a sales order line, one record per sales line. It holds the fleet item, job site, ship-to choice and pickup location. It also links to an invoice schedule line and holds over-allowance and credit note details.
- Table name
RentalSalesLine- Module
Rental management- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
SalesLineIdx- Replacement key
SalesLineIdx- Key fields
SalesLine- Model
RentalManagement
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SalesLineThe sales order line this rental record extends. | Int64SalesLineRefRecId | Yes | SalesLine.RecId | RentalSalesLineBiEntity |
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 | |
RentalAttachToLineNumberLine number this line is attached to. | RealRentalSalesAttachToLineNumber | No | RentalSalesLineBiEntity | |
RentalCreditNoteInvoiceIdInvoice number linked to a credit note.low confidence | String (20)RentalSalesCreditNoteInvoiceId | No | RentalSalesLineBiEntity | |
RentalInvoiceScheduleLineThe rental invoice schedule line linked to this sales line. | Int64RentalInvoiceScheduleLineRecId | No | RentalInvoiceScheduleLine.RecId | RentalSalesLineBiEntity |
RentalItemThe fleet item on this line. | Int64RentalItemRecId | No | RentalItemTable.RecId | RentalSalesLineBiEntity |
RentalJobSiteThe job site for this line. | Int64RentalJobSiteRecId | No | RentalJobSite.RecId | RentalSalesLineBiEntity |
RentalOverAllowanceAmount charged above the allowance. | RealRentalOverAllowanceAmount | No | RentalSalesLineBiEntity | |
RentalPickupRentalLocationIdThe fleet location used for pickup. | String (100)RentalPickupRentalLocationId | No | RentalLocation.LocationId | RentalSalesLineBiEntity |
RentalShipToWhere to ship: none, an address, a job site or a pickup fleet location. | EnumRentalShipTo (enum) | No | RentalSalesLineBiEntity | |
SalesIdSales order number. | String (20)SalesId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
SalesLineIdxPrimary indexReplacement keyUnique, alternate key.
RentalAttachToLineNumberIdxRentalAttachToLineNumber,SalesLineNot unique.
SalesIdIdxNot unique.
Relations (5)
Each relation joins RentalSalesLine to another table on the fields shown.
SalesLine→SalesLineJoin on
SalesLine = SalesLine.RecIdExactly one RentalSalesLine record → zero or one SalesLine record
RentalInvoiceScheduleLine→RentalInvoiceScheduleLineJoin on
RentalInvoiceScheduleLine = RentalInvoiceScheduleLine.RecIdMany RentalSalesLine records → zero or one RentalInvoiceScheduleLine record
RentalJobSite→RentalJobSiteJoin on
RentalJobSite = RentalJobSite.RecIdMany RentalSalesLine records → zero or one RentalJobSite record
RentalPickupRentalLocation→RentalLocationJoin on
RentalPickupRentalLocationId = RentalLocation.LocationIdMany RentalSalesLine records → zero or one RentalLocation record
RentalItemTable→RentalItemTableJoin on
RentalItem = RentalItemTable.RecIdMany RentalSalesLine records → zero or one RentalItemTable record
Get this data out
Tables are not exposed directly. These public entities read from RentalSalesLine; use one of them in Power BI, Power Platform or a data management project.
RentalSalesLineBiEntity· 9 fields from this table
Need help with RentalSalesLine in a report, an integration or a migration? Talk to Dr Dynamics.