Table

RentalSalesLineHistory

Rental sales line history

Extends archived sales order line records with rental details, such as job site, fleet item, pickup location and ship-to type. It has one record per archived sales line and is keyed by the link to that record.

Table name
RentalSalesLineHistory
Module
Rental management
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
SalesLineHistoryIdx
Replacement key
SalesLineHistoryIdx
Key fields
SalesLineHistory
Model
RentalManagement

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SalesLineHistoryLink to the archived sales order line that this record extends.Int64
RefRecId
YesSalesLineHistory.RecIdNone
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
RentalAttachToLineNumberNumber of the line that this line is attached to.Real
RentalSalesAttachToLineNumber
NoNone
RentalCreditNoteInvoiceIdInvoice number linked to a rental credit note.String (20)
RentalSalesCreditNoteInvoiceId
NoNone
RentalInvoiceScheduleLineSystem record ID of the invoice schedule line.Int64
RentalInvoiceScheduleLineRecId
NoNone
RentalItemSystem record ID of the fleet item.Int64
RentalItemRecId
NoNone
RentalJobSiteSystem record ID of the job site.Int64
RentalJobSiteRecId
NoNone
RentalOverAllowanceAmount over the allowance.Real
RentalOverAllowanceAmount
NoNone
RentalPickupRentalLocationIdIdentifier of the fleet location where the item is picked up.String (100)
RentalPickupRentalLocationId
NoNone
RentalShipToWhere the goods are shipped: None, Address, Job site or Pickup fleet location.Enum
RentalShipTo (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • SalesLineHistoryIdxPrimary indexReplacement key

    SalesLineHistory

    Unique, alternate key.

Relations (1)

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

  • SalesLineHistory → SalesLineHistory

    Join on SalesLineHistory = SalesLineHistory.RecId

    Exactly one RentalSalesLineHistory record → zero or one SalesLineHistory record

Get this data out

No public entity reads from RentalSalesLineHistory. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk