Table
RentalDamageHistory
Damage history
Holds one record for each damage logged against a fleet item in rental management. Each record is keyed by the damage history ID. It links to the fleet item, the fleet item movements involved, the damage code, the decision and recovery status, and an assigned worker. It also holds the customer's share and the invoice details for the repair.
- Table name
RentalDamageHistory- Module
Rental management- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
None- Replacement key
RentalItemDamageHistoryIdx- Key fields
DamageHistoryId- Model
RentalManagement
Fields (29)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DamageHistoryIdUnique ID of the damage history record. | String (20)RentalDamageHistoryId | No | None | |
AssignedToPoints to the worker who is assigned to deal with this damage record. | Int64HcmWorkerRecId | No | HcmWorker.RecId | None |
CommitmentDateCommitment date recorded for this damage. | DateRentalItemDamageCommitmentDate | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustomerResponsibilityAmountAmount of the repair cost that the customer has agreed to bear. | RealRentalItemDamageCustResponsibility | No | None | |
DamageCodePoints to the damage code that classifies this damage. | Int64RentalDamageCodeRecId | No | RentalDamageCode.RecId | None |
DamageDecisionPoints to the damage decision code recorded for this damage. | Int64RentalDamageDecisionCodeRecId | No | RentalDamageDecisionCode.RecId | None |
DamageDescriptionFree-text description of the damage, up to 200 characters. | String (200)RentalDescription200 | No | None | |
DamageInvoicedAmountAmount billed on the repair invoice, in accounting currency. | RealRentalItemDamageInvoicedAmount | No | None | |
DamageInvoicedOnID of the invoice that carries the repair charge. | String (50)InvoiceId | No | None | |
DamageStatusShows whether the damage is still active or has been repaired. | EnumRentalDamageStatus (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | 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 | |
RecoveryStatusPoints to the recovery status that shows how far cost recovery has progressed. | Int64RentalDamageRecoveryStatusRecId | No | RentalDamageRecoveryStatus.RecId | None |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RentalItemMovementAgreementRelationAgreement number taken from the fleet item movement tied to this damage record. | String (21)RentalAgreementRelation | No | None | |
RentalItemMovementTablePoints to the fleet item movement linked to this damage record. | Int64RentalItemMovementRecId | No | RentalItemMovementTable.RecId | None |
RentalItemTablePoints to the fleet item that was damaged. | Int64RentalItemRecId | No | RentalItemTable.RecId | None |
RepairDateDate and time when the damage was repaired. | UtcDateTimeRentalRepairDate | No | None | |
ResponsibleAgreementNumber of the agreement held responsible, taken from the responsible fleet item movement. | String (21)RentalAgreementRelation | No | None | |
ResponsibleCustVendAccountAccount of the customer or vendor on the responsible agreement. | String (20)CustVendAC | No | None | |
ResponsibleRentalItemMovementTablePoints to the fleet item movement that is held responsible for the damage. | Int64RentalItemMovementRecId | No | RentalItemMovementTable.RecId | 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 | |
UserUser ID stored on the damage record. The metadata does not say which user role it records.low confidence | StringUserId | No | None |
Indexes (4)
RentalItemMovementTableIdxNot unique.
RentalItemTableIdxNot unique.
RentalDamageCodeIdxNot unique.
RentalItemDamageHistoryIdxReplacement keyUnique, alternate key.
Relations (7)
Each relation joins RentalDamageHistory to another table on the fields shown.
RentalDamageCode→RentalDamageCodeJoin on
DamageCode = RentalDamageCode.RecIdMany RentalDamageHistory records → zero or one RentalDamageCode record
RentalItemMovementTable→RentalItemMovementTableJoin on
RentalItemMovementTable = RentalItemMovementTable.RecIdMany RentalDamageHistory records → zero or one RentalItemMovementTable record
RentalItemTable→RentalItemTableJoin on
RentalItemTable = RentalItemTable.RecIdMany RentalDamageHistory records → zero or one RentalItemTable record
HcmWorker→HcmWorkerJoin on
AssignedTo = HcmWorker.RecIdMany RentalDamageHistory records → zero or one HcmWorker record
RentalDamageDecisionCode→RentalDamageDecisionCodeJoin on
DamageDecision = RentalDamageDecisionCode.RecIdMany RentalDamageHistory records → zero or one RentalDamageDecisionCode record
RentalDamageRecoveryStatus→RentalDamageRecoveryStatusJoin on
RecoveryStatus = RentalDamageRecoveryStatus.RecIdMany RentalDamageHistory records → zero or one RentalDamageRecoveryStatus record
ResponsibleItemMovementTable→RentalItemMovementTableJoin on
ResponsibleRentalItemMovementTable = RentalItemMovementTable.RecIdMany RentalDamageHistory records → zero or one RentalItemMovementTable record
Get this data out
No public entity reads from RentalDamageHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RentalDamageHistory in a report, an integration or a migration? Talk to Dr Dynamics.