Table

RentalDocumentJournalLineItem

Rental journal line items

Links fleet items to rental journal lines. The key is the fleet item plus the journal line. It can point to a rental document line item and to another journal line item it is attached to.

Table name
RentalDocumentJournalLineItem
Module
Rental management
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
None
Replacement key
RentalItemRentalDocumentJournaLineIdx
Key fields
RentalItem, RentalDocumentJournalLine
Model
RentalManagement

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RentalItemPoints to the fleet item.Int64
RentalItemRecId
YesRentalItemTable.RecIdNone
RentalDocumentJournalLinePoints to the main rental journal line.Int64
RentalDocumentJournalLineRecId
YesRentalDocumentJournalLine.RecIdNone
AskingPriceAsking price of the fleet item for insurance.Real
RentalAskingPrice
NoNone
AttachedToPoints to another journal line item that this item is attached to.Int64
RentalDocumentJournalLineItemRecId
NoRentalDocumentJournalLineItem.RecIdNone
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
PrimeProductYes/No flag showing whether this fleet item is the main product.Enum
NoYesId
NoYes (enum)
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
RentalDocumentLineItemPoints to the rental document line item that this record relates to.Int64
RentalDocumentLineItemRecId
NoRentalDocumentLineItem.RecIdNone
StartSMUService meter unit reading of the fleet item when it was shipped out.Real
RentalItemSMU
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 (4)

Relations (4)

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

  • AttachedTo → RentalDocumentJournalLineItem

    Join on AttachedTo = RentalDocumentJournalLineItem.RecId

    Many RentalDocumentJournalLineItem records → zero or one RentalDocumentJournalLineItem record

  • RentalDocumentLineItem → RentalDocumentLineItem

    Join on RentalDocumentLineItem = RentalDocumentLineItem.RecId

    Many RentalDocumentJournalLineItem records → exactly one RentalDocumentLineItem record

  • RentalItem → RentalItemTable

    Join on RentalItem = RentalItemTable.RecId

    Many RentalDocumentJournalLineItem records → exactly one RentalItemTable record

  • RentalDocumentJournalLine → RentalDocumentJournalLine

    Join on RentalDocumentJournalLine = RentalDocumentJournalLine.RecId

    Many RentalDocumentJournalLineItem records → exactly one RentalDocumentJournalLine record

Get this data out

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

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

Email sales@drdynamics.co.uk