Table

RentalItemTrans

Fleet item transactions

Stores value transactions for fleet items, such as purchases, sales, movements, transfers and value adjustments. Each record has a transaction ID and links to a fleet item, a currency, a main account, ledger dimensions and a source document line. It also records which kind of document the transaction came from.

Table name
RentalItemTrans
Module
Rental management
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
None
Replacement key
RentalItemTransIdx
Key fields
RentalItemTransId
Model
RentalManagement

Fields (29)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RentalItemTransIdUnique ID of the fleet item transaction. It is the key of the table.String (20)
RentalItemTransId
YesNone
AfterSaleCostYes/no flag showing whether the cost arose after the item had left inventory. It is used for value adjustment types only.Enum
RentalItemTransAfterSaleCost
NoYes (enum)
NoNone
AmountValue of the transaction in accounting currency. Summing it per fleet item gives the item's current inventory value.Real
RentalItemTransAmountMST
NoNone
AmountCurValue of the source transaction in its transaction currency. It is meant for purchase transactions only.Real
RentalItemTransAmountCur
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
CreditedYes/no flag showing whether a sales invoice has credited this transaction.Enum
RentalItemTransCredited
NoYes (enum)
NoNone
CurrencyCodeCurrency code of the original transaction. It is used for the purchase financial type only.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionFinancial dimensions taken from the source document. It points to a dimension set.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
FinTagPoints to a financial tag record.Int64
FinTagRecId
NoFinTag.RecIdNone
LedgerDimensionAccountCombination of ledger account and financial dimensions taken from the source transaction that reached the ledger.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
LedgerPostingTypePosting type of the original transaction, such as sales tax, allocation or liquidity.Enum
LedgerPostingType (enum)
NoNone
MainAccountNumMain account code from the source transaction that reached the ledger.String (20)
MainAccountNum
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
ReferenceIdID of the source document the transaction came from.String (21)
RentalItemTransReferenceId
YesNone
RefRecIdSystem record ID of the source transaction.Int64
RentalItemTransRefRecId
NoNone
RefTableIdID of the table that holds the source transaction.Integer
RentalItemTransTableId
NoNone
RentalItemIdNumber of the fleet item the transaction belongs to. It points to the fleet item table.String (20)
RentalItemId
YesRentalItemTable.RentalItemIdNone
RentalItemTransRefTypeKind of source document the transaction came from, such as a purchase order, sales order or rental contract.Enum
RentalItemTransRefType (enum)
NoNone
RentalItemTransTypeType of transaction, for example purchase, sale, movement, transfer, value adjustment or opening balance.Enum
RentalItemTransType (enum)
NoNone
SourceDocumentLinePoints to the source document line linked to this transaction.Int64
SourceDocumentLineRecId
NoSourceDocumentLine.RecIdNone
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
TransDateDate of the original transaction.Date
RentalItemTransTransDate
YesNone
VoucherVoucher number of the original transaction.String (20)
RentalItemTransVoucher
YesNone

Indexes (4)

Relations (7)

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

  • RentalItem → RentalItemTable

    Join on RentalItemId = RentalItemTable.RentalItemId

    Many RentalItemTrans records → exactly one RentalItemTable record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many RentalItemTrans records → zero or one Currency record

  • LedgerDimensionAccount → DimensionAttributeValueCombination

    Join on LedgerDimensionAccount = DimensionAttributeValueCombination.RecId

    Many RentalItemTrans records → zero or one DimensionAttributeValueCombination record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many RentalItemTrans records → zero or one DimensionAttributeValueSet record

  • MainAccount → MainAccount

    Join on MainAccountNum = MainAccount.MainAccountId

    Many RentalItemTrans records → zero or one MainAccount record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Many RentalItemTrans records → zero or one SourceDocumentLine record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many RentalItemTrans records → zero or one FinTag record

Get this data out

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

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

Email sales@drdynamics.co.uk