Table

RentalDocumentJournalLine

Rental journal lines

Holds the lines of a rental document journal. The key combines the journal and the rental document line. Lines can link to a rental class, billing scenario, revenue category and price factors, and can point to a main journal line.

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

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RentalDocumentJournalTablePoints to the rental document journal that this line belongs to.Int64
RentalDocumentJournalTableRecId
YesRentalDocumentJournalTable.RecIdNone
RentalDocumentLinePoints to the rental document line that this journal line relates to.Int64
RentalDocumentLineRecId
YesRentalDocumentLine.RecIdNone
ApplicationPriceFactorPoints to the price factor used for the application.Int64
RentalPriceFactorRecId
NoRentalPriceFactor.RecIdNone
BillingScenarioPoints to the rental billing scenario that applies to this line.Int64
RentalBillingScenarioRecId
NoRentalBillingScenario.RecIdNone
ClassTablePoints to the rental class of this line.Int64
RentalClassTableRecId
NoRentalClassTable.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceFromDateFirst invoice-to date to be created. It is not the collection date.Date
RentalInvoiceFrom
YesNone
InvoiceUntilDateLatest date up to which the invoice is created. It is not the collection date.Date
RentalInvoiceUntilDate
NoNone
LocationPriceFactorPoints to the price factor used for the location.Int64
RentalPriceFactorRecId
NoRentalPriceFactor.RecIdNone
NameShort descriptive name of the rental line, up to 30 characters.String (30)
RentalName30
NoNone
ParentJournalLinePoints to the main journal line when this line is linked to one.Int64
RentalDocumentJournalLineRecId
NoRentalDocumentJournalLine.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QtyQuantity on the journal line.Real
Qty
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
RevenueCategoryPoints to the revenue category of this line.Int64
RentalRevenueCategoryRecId
NoRentalRevenueCategory.RecIdNone
ShiftPriceFactorPoints to the price factor used for the shift.Int64
RentalPriceFactorRecId
NoRentalPriceFactor.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
TemplateLineIdID of the rental template line that this line comes from.String
RentalTemplateLineId
YesNone

Indexes (8)

Relations (9)

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

  • ApplicationPriceFactor → RentalPriceFactor

    Join on RentalPriceFactor.PriceFactorType = null, ApplicationPriceFactor = RentalPriceFactor.RecId

    Many RentalDocumentJournalLine records → zero or one RentalPriceFactor record

  • BillingScenarioTable → RentalBillingScenario

    Join on BillingScenario = RentalBillingScenario.RecId

    Many RentalDocumentJournalLine records → zero or one RentalBillingScenario record

  • ClassTable → RentalClassTable

    Join on ClassTable = RentalClassTable.RecId

    Many RentalDocumentJournalLine records → zero or one RentalClassTable record

  • RentalDocumentJournalTable → RentalDocumentJournalTable

    Join on RentalDocumentJournalTable = RentalDocumentJournalTable.RecId

    Many RentalDocumentJournalLine records → exactly one RentalDocumentJournalTable record

  • RentalDocumentLine → RentalDocumentLine

    Join on RentalDocumentLine = RentalDocumentLine.RecId

    Many RentalDocumentJournalLine records → exactly one RentalDocumentLine record

  • ParentJournalLine → RentalDocumentJournalLine

    Join on ParentJournalLine = RentalDocumentJournalLine.RecId

    Many RentalDocumentJournalLine records → zero or one RentalDocumentJournalLine record

  • RevenueCategory → RentalRevenueCategory

    Join on RevenueCategory = RentalRevenueCategory.RecId

    Many RentalDocumentJournalLine records → zero or one RentalRevenueCategory record

  • ShiftPriceFactor → RentalPriceFactor

    Join on RentalPriceFactor.PriceFactorType = RentalPriceFactorType::Shift, ShiftPriceFactor = RentalPriceFactor.RecId

    Many RentalDocumentJournalLine records → zero or one RentalPriceFactor record

  • LocationPriceFactor → RentalPriceFactor

    Join on RentalPriceFactor.PriceFactorType = RentalPriceFactorType::Location, LocationPriceFactor = RentalPriceFactor.RecId

    Many RentalDocumentJournalLine records → zero or one RentalPriceFactor record

Get this data out

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

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

Email sales@drdynamics.co.uk