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 descriptionType / EDT / enumMandatoryReferencesIn public entities
SalesLineThe sales order line this rental record extends.Int64
SalesLineRefRecId
YesSalesLine.RecIdRentalSalesLineBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
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
RentalAttachToLineNumberLine number this line is attached to.Real
RentalSalesAttachToLineNumber
NoRentalSalesLineBiEntity
RentalCreditNoteInvoiceIdInvoice number linked to a credit note.low confidenceString (20)
RentalSalesCreditNoteInvoiceId
NoRentalSalesLineBiEntity
RentalInvoiceScheduleLineThe rental invoice schedule line linked to this sales line.Int64
RentalInvoiceScheduleLineRecId
NoRentalInvoiceScheduleLine.RecIdRentalSalesLineBiEntity
RentalItemThe fleet item on this line.Int64
RentalItemRecId
NoRentalItemTable.RecIdRentalSalesLineBiEntity
RentalJobSiteThe job site for this line.Int64
RentalJobSiteRecId
NoRentalJobSite.RecIdRentalSalesLineBiEntity
RentalOverAllowanceAmount charged above the allowance.Real
RentalOverAllowanceAmount
NoRentalSalesLineBiEntity
RentalPickupRentalLocationIdThe fleet location used for pickup.String (100)
RentalPickupRentalLocationId
NoRentalLocation.LocationIdRentalSalesLineBiEntity
RentalShipToWhere to ship: none, an address, a job site or a pickup fleet location.Enum
RentalShipTo (enum)
NoRentalSalesLineBiEntity
SalesIdSales order number.String (20)
SalesId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (5)

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

  • SalesLine → SalesLine

    Join on SalesLine = SalesLine.RecId

    Exactly one RentalSalesLine record → zero or one SalesLine record

  • RentalInvoiceScheduleLine → RentalInvoiceScheduleLine

    Join on RentalInvoiceScheduleLine = RentalInvoiceScheduleLine.RecId

    Many RentalSalesLine records → zero or one RentalInvoiceScheduleLine record

  • RentalJobSite → RentalJobSite

    Join on RentalJobSite = RentalJobSite.RecId

    Many RentalSalesLine records → zero or one RentalJobSite record

  • RentalPickupRentalLocation → RentalLocation

    Join on RentalPickupRentalLocationId = RentalLocation.LocationId

    Many RentalSalesLine records → zero or one RentalLocation record

  • RentalItemTable → RentalItemTable

    Join on RentalItem = RentalItemTable.RecId

    Many 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.

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

Email sales@drdynamics.co.uk