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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RentalItemTransIdUnique ID of the fleet item transaction. It is the key of the table. | String (20)RentalItemTransId | Yes | None | |
AfterSaleCostYes/no flag showing whether the cost arose after the item had left inventory. It is used for value adjustment types only. | EnumRentalItemTransAfterSaleCostNoYes (enum) | No | None | |
AmountValue of the transaction in accounting currency. Summing it per fleet item gives the item's current inventory value. | RealRentalItemTransAmountMST | No | None | |
AmountCurValue of the source transaction in its transaction currency. It is meant for purchase transactions only. | RealRentalItemTransAmountCur | 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 | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
CreditedYes/no flag showing whether a sales invoice has credited this transaction. | EnumRentalItemTransCreditedNoYes (enum) | No | None | |
CurrencyCodeCurrency code of the original transaction. It is used for the purchase financial type only. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionFinancial dimensions taken from the source document. It points to a dimension set. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
FinTagPoints to a financial tag record. | Int64FinTagRecId | No | FinTag.RecId | None |
LedgerDimensionAccountCombination of ledger account and financial dimensions taken from the source transaction that reached the ledger. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
LedgerPostingTypePosting type of the original transaction, such as sales tax, allocation or liquidity. | EnumLedgerPostingType (enum) | No | None | |
MainAccountNumMain account code from the source transaction that reached the ledger. | String (20)MainAccountNum | 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 | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReferenceIdID of the source document the transaction came from. | String (21)RentalItemTransReferenceId | Yes | None | |
RefRecIdSystem record ID of the source transaction. | Int64RentalItemTransRefRecId | No | None | |
RefTableIdID of the table that holds the source transaction. | IntegerRentalItemTransTableId | No | None | |
RentalItemIdNumber of the fleet item the transaction belongs to. It points to the fleet item table. | String (20)RentalItemId | Yes | RentalItemTable.RentalItemId | None |
RentalItemTransRefTypeKind of source document the transaction came from, such as a purchase order, sales order or rental contract. | EnumRentalItemTransRefType (enum) | No | None | |
RentalItemTransTypeType of transaction, for example purchase, sale, movement, transfer, value adjustment or opening balance. | EnumRentalItemTransType (enum) | No | None | |
SourceDocumentLinePoints to the source document line linked to this transaction. | Int64SourceDocumentLineRecId | No | SourceDocumentLine.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 | |
TransDateDate of the original transaction. | DateRentalItemTransTransDate | Yes | None | |
VoucherVoucher number of the original transaction. | String (20)RentalItemTransVoucher | Yes | None |
Indexes (4)
RentalItemTransIdxReplacement keyUnique, alternate key.
RentalItemIdxNot unique.
SourceDocumentLineIdxNot unique.
RefRecIdxNot unique.
Relations (7)
Each relation joins RentalItemTrans to another table on the fields shown.
RentalItem→RentalItemTableJoin on
RentalItemId = RentalItemTable.RentalItemIdMany RentalItemTrans records → exactly one RentalItemTable record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany RentalItemTrans records → zero or one Currency record
LedgerDimensionAccount→DimensionAttributeValueCombinationJoin on
LedgerDimensionAccount = DimensionAttributeValueCombination.RecIdMany RentalItemTrans records → zero or one DimensionAttributeValueCombination record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany RentalItemTrans records → zero or one DimensionAttributeValueSet record
MainAccount→MainAccountJoin on
MainAccountNum = MainAccount.MainAccountIdMany RentalItemTrans records → zero or one MainAccount record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdMany RentalItemTrans records → zero or one SourceDocumentLine record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany 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.