Table
RentalItemMovementReplaceAttachmentLog
Replace attachment log
A log of attachment replacements on fleet item movements. Each record stores the previous and new attachment, their models, the worker and a reason code. The key is the movement, the replacement date and the creation time.
- Table name
RentalItemMovementReplaceAttachmentLog- Module
Rental management- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
ItemMovementLogIdx- Replacement key
ItemMovementLogIdx- Key fields
RentalItemMovement, ReplacementDate, CreatedDateTime- Model
RentalManagement
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RentalItemMovementFleet item movement that the replacement belongs to. | Int64RentalItemMovementRecId | Yes | RentalItemMovementTable.RecId | None |
ReplacementDateDate of the replacement. | DateTransDate | Yes | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EmployeeWorker who changed the movement line. | Int64HcmWorkerRecId | Yes | HcmWorker.RecId | None |
NewAttachmentFleet item that was fitted as the replacement attachment. | Int64RentalItemRecId | Yes | RentalItemTable.RecId | None |
NewModelModel of the new attachment. | Int64RentalItemModelRecId | Yes | RentalItemModel.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PreviousAttachmentFleet item that was replaced. | Int64RentalItemRecId | Yes | RentalItemTable.RecId | None |
PreviousModelModel of the attachment that was replaced. | Int64RentalItemModelRecId | Yes | RentalItemModel.RecId | None |
ReasonCodeFleet item status reason code for the replacement. | Int64RentalItemStatusReasonRecId | Yes | RentalItemStatusReasonCode.RecId | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
ItemMovementLogIdxPrimary indexReplacement keyRentalItemMovement,ReplacementDate,CreatedDateTimeUnique, alternate key.
Relations (7)
Each relation joins RentalItemMovementReplaceAttachmentLog to another table on the fields shown.
ItemMovementTable→RentalItemMovementTableJoin on
RentalItemMovement = RentalItemMovementTable.RecIdMany RentalItemMovementReplaceAttachmentLog records → exactly one RentalItemMovementTable record
RentalItemStatusReason→RentalItemStatusReasonCodeJoin on
ReasonCode = RentalItemStatusReasonCode.RecIdMany RentalItemMovementReplaceAttachmentLog records → exactly one RentalItemStatusReasonCode record
HcmWorker→HcmWorkerJoin on
Employee = HcmWorker.RecIdMany RentalItemMovementReplaceAttachmentLog records → exactly one HcmWorker record
NewAttachment→RentalItemTableJoin on
NewAttachment = RentalItemTable.RecIdMany RentalItemMovementReplaceAttachmentLog records → exactly one RentalItemTable record
NewModel→RentalItemModelJoin on
NewModel = RentalItemModel.RecIdMany RentalItemMovementReplaceAttachmentLog records → exactly one RentalItemModel record
PreviousModel→RentalItemModelJoin on
PreviousModel = RentalItemModel.RecIdMany RentalItemMovementReplaceAttachmentLog records → exactly one RentalItemModel record
PreviousAttachment→RentalItemTableJoin on
PreviousAttachment = RentalItemTable.RecIdMany RentalItemMovementReplaceAttachmentLog records → exactly one RentalItemTable record
Get this data out
No public entity reads from RentalItemMovementReplaceAttachmentLog. Its data is only reachable through the application, a custom entity or a database export.
Need help with RentalItemMovementReplaceAttachmentLog in a report, an integration or a migration? Talk to Dr Dynamics.