Table
RentalSalesTableHistory
Rental sales order history
Extends archived sales order header records with rental details, such as the rental contract, job site, invoice schedule, load and notice to owner. It has one record per archived sales order and is keyed by the link to that record.
- Table name
RentalSalesTableHistory- Module
Rental management- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
SalesTableHistoryIdx- Replacement key
SalesTableHistoryIdx- Key fields
SalesTableHistory- Model
RentalManagement
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SalesTableHistoryLink to the archived sales order header that this record extends. | Int64RefRecId | Yes | SalesTableHistory.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 | |
RentalDocumentTableSystem record ID of the rental contract or quotation. | Int64RentalDocumentTableRecId | No | None | |
RentalInvoiceScheduleTableSystem record ID of the invoice schedule. | Int64RentalInvoiceScheduleTableRecId | No | None | |
RentalItemSystem record ID of the fleet item. | Int64RentalItemRecId | No | None | |
RentalJobSiteSystem record ID of the job site. | Int64RentalJobSiteRecId | No | None | |
RentalLoadSystem record ID of the related load. | Int64RentalLoadRecId | No | None | |
RentalNoticeToOwnerSystem record ID of the notice to owner. | Int64RentalNoticeToOwnerRecId | 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)
SalesTableHistoryIdxPrimary indexReplacement keyUnique, alternate key.
Relations (1)
Each relation joins RentalSalesTableHistory to another table on the fields shown.
SalesTableHistory→SalesTableHistoryJoin on
SalesTableHistory = SalesTableHistory.RecIdExactly one RentalSalesTableHistory record → zero or one SalesTableHistory record
Get this data out
No public entity reads from RentalSalesTableHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RentalSalesTableHistory in a report, an integration or a migration? Talk to Dr Dynamics.