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 descriptionType / EDT / enumMandatoryReferencesIn public entities
RentalItemFleet item whose service status changed, pointing to the fleet item record.String (20)
RentalItemId
YesRentalItemTable.RentalItemIdNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
NewServiceStatusService status after the change, such as Ready, In shop or Hard down.Enum
RentalServiceStatus (enum)
NoNone
OriginalServiceStatusService status before the change, such as Ready, In shop or Hard down.Enum
RentalServiceStatus (enum)
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
ServiceStatusOriginType of source for the change: Initial, Fleet item movement, Service call or Manual.Enum
RentalServiceStatusOrigin (enum)
NoNone
ServiceStatusOriginDocumentNumberNumber of the document that caused the status change.String (30)
RentalServiceStatusHistoryOriginDocumentNumber
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (1)

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

  • RentalItem → RentalItemTable

    Join on RentalItem = RentalItemTable.RentalItemId

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

Email sales@drdynamics.co.uk