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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SalesLineHistoryLink to the archived sales order line that this record extends. | Int64RefRecId | Yes | SalesLineHistory.RecId | None |
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 | |
RentalAttachToLineNumberNumber of the line that this line is attached to. | RealRentalSalesAttachToLineNumber | No | None | |
RentalCreditNoteInvoiceIdInvoice number linked to a rental credit note. | String (20)RentalSalesCreditNoteInvoiceId | No | None | |
RentalInvoiceScheduleLineSystem record ID of the invoice schedule line. | Int64RentalInvoiceScheduleLineRecId | No | None | |
RentalItemSystem record ID of the fleet item. | Int64RentalItemRecId | No | None | |
RentalJobSiteSystem record ID of the job site. | Int64RentalJobSiteRecId | No | None | |
RentalOverAllowanceAmount over the allowance. | RealRentalOverAllowanceAmount | No | None | |
RentalPickupRentalLocationIdIdentifier of the fleet location where the item is picked up. | String (100)RentalPickupRentalLocationId | No | None | |
RentalShipToWhere the goods are shipped: None, Address, Job site or Pickup fleet location. | EnumRentalShipTo (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
SalesLineHistoryIdxPrimary indexReplacement keyUnique, alternate key.
Relations (1)
Each relation joins RentalSalesLineHistory to another table on the fields shown.
SalesLineHistory→SalesLineHistoryJoin on
SalesLineHistory = SalesLineHistory.RecIdExactly 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.