Table

RentalAttachmentTrans

Attachment transactions

Transactions for attaching and detaching attachments on fleet items. The key is the attachment ID plus the date and time. Each row can name the item it was attached to and the item it was detached from.

Table name
RentalAttachmentTrans
Module
Rental management
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
None
Replacement key
AttachmentTransIdx
Key fields
AttachmentItemId, TransDateTime
Model
RentalManagement

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AttachmentItemIdFleet item ID of the attachment.String (20)
RentalAttachmentItemId
NoRentalItemTable.RentalItemIdNone
TransDateTimeDate and time of the transaction.UtcDateTime
RentalAttachmentTransDate
YesNone
AttachedFromItemPrime fleet item that the attachment was detached from.String (20)
RentalAttachedFromItem
NoRentalItemTable.RentalItemIdNone
AttachedToItemPrime fleet item that the attachment is attached to.String (20)
RentalAttachedToItem
NoRentalItemTable.RentalItemIdNone
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
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
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 (2)

Relations (3)

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

  • AttachedFrom → RentalItemTable

    Join on AttachedFromItem = RentalItemTable.RentalItemId

    Many RentalAttachmentTrans records → zero or one RentalItemTable record

  • AttachedTo → RentalItemTable

    Join on AttachedToItem = RentalItemTable.RentalItemId

    Many RentalAttachmentTrans records → zero or one RentalItemTable record

  • RentalItem → RentalItemTable

    Join on AttachmentItemId = RentalItemTable.RentalItemId

    Many RentalAttachmentTrans records → zero or one RentalItemTable record

Get this data out

No public entity reads from RentalAttachmentTrans. Its data is only reachable through the application, a custom entity or a database export.

Need help with RentalAttachmentTrans in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk