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 descriptionType / EDT / enumMandatoryReferencesIn public entities
RentalItemMovementFleet item movement that the replacement belongs to.Int64
RentalItemMovementRecId
YesRentalItemMovementTable.RecIdNone
ReplacementDateDate of the replacement.Date
TransDate
YesNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EmployeeWorker who changed the movement line.Int64
HcmWorkerRecId
YesHcmWorker.RecIdNone
NewAttachmentFleet item that was fitted as the replacement attachment.Int64
RentalItemRecId
YesRentalItemTable.RecIdNone
NewModelModel of the new attachment.Int64
RentalItemModelRecId
YesRentalItemModel.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PreviousAttachmentFleet item that was replaced.Int64
RentalItemRecId
YesRentalItemTable.RecIdNone
PreviousModelModel of the attachment that was replaced.Int64
RentalItemModelRecId
YesRentalItemModel.RecIdNone
ReasonCodeFleet item status reason code for the replacement.Int64
RentalItemStatusReasonRecId
YesRentalItemStatusReasonCode.RecIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (7)

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

  • ItemMovementTable → RentalItemMovementTable

    Join on RentalItemMovement = RentalItemMovementTable.RecId

    Many RentalItemMovementReplaceAttachmentLog records → exactly one RentalItemMovementTable record

  • RentalItemStatusReason → RentalItemStatusReasonCode

    Join on ReasonCode = RentalItemStatusReasonCode.RecId

    Many RentalItemMovementReplaceAttachmentLog records → exactly one RentalItemStatusReasonCode record

  • HcmWorker → HcmWorker

    Join on Employee = HcmWorker.RecId

    Many RentalItemMovementReplaceAttachmentLog records → exactly one HcmWorker record

  • NewAttachment → RentalItemTable

    Join on NewAttachment = RentalItemTable.RecId

    Many RentalItemMovementReplaceAttachmentLog records → exactly one RentalItemTable record

  • NewModel → RentalItemModel

    Join on NewModel = RentalItemModel.RecId

    Many RentalItemMovementReplaceAttachmentLog records → exactly one RentalItemModel record

  • PreviousModel → RentalItemModel

    Join on PreviousModel = RentalItemModel.RecId

    Many RentalItemMovementReplaceAttachmentLog records → exactly one RentalItemModel record

  • PreviousAttachment → RentalItemTable

    Join on PreviousAttachment = RentalItemTable.RecId

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

Email sales@drdynamics.co.uk