Table
RentalServiceStatusHistory
Service status history
Transaction table that records changes to the service status of a fleet item. Each record shows the old status, the new status and the type and number of the document that caused the change. It is keyed by the fleet item and the creation date and time.
- Table name
RentalServiceStatusHistory- Module
Rental management- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
None- Replacement key
RentalItemDateIdx- Key fields
RentalItem, createdDateTime- Model
RentalManagement
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RentalItemFleet item whose service status changed, pointing to the fleet item record. | String (20)RentalItemId | Yes | RentalItemTable.RentalItemId | None |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
NewServiceStatusService status after the change, such as Ready, In shop or Hard down. | EnumRentalServiceStatus (enum) | No | None | |
OriginalServiceStatusService status before the change, such as Ready, In shop or Hard down. | EnumRentalServiceStatus (enum) | 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 | |
ServiceStatusOriginType of source for the change: Initial, Fleet item movement, Service call or Manual. | EnumRentalServiceStatusOrigin (enum) | No | None | |
ServiceStatusOriginDocumentNumberNumber of the document that caused the status change. | String (30)RentalServiceStatusHistoryOriginDocumentNumber | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
RentalItemDateIdxReplacement keyUnique, alternate key.
Relations (1)
Each relation joins RentalServiceStatusHistory to another table on the fields shown.
RentalItem→RentalItemTableJoin on
RentalItem = RentalItemTable.RentalItemIdMany RentalServiceStatusHistory records → exactly one RentalItemTable record
Get this data out
No public entity reads from RentalServiceStatusHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RentalServiceStatusHistory in a report, an integration or a migration? Talk to Dr Dynamics.