Table

RentalDocumentJournalLinePrice

Rental journal line prices

Holds the price lines linked to rental journal lines. The key is the journal line plus the document line price. Each record has a rate, amount, discounts, allowed hours, validity dates and invoice status.

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

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RentalDocumentJournalLinePoints to the main rental journal line.Int64
RentalDocumentJournalLineRecId
YesRentalDocumentJournalLine.RecIdNone
RentalDocumentLinePricePoints to the main rental document line price.Int64
RentalDocumentLinePriceRecId
YesRentalDocumentLinePrice.RecIdNone
AmountAmount of the price line.Real
Amount
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DiscAmountDiscount amount of the price line.Real
DiscAmount
NoNone
DiscPctDiscount percentage of the price line.Real
DiscPct
NoNone
HeaderDiscPctDiscount percentage that came from a header-level discount.Real
RentalHeaderDiscPct
NoNone
HoursAllowedNumber of hours covered by the rate.Real
RentalHoursAllowed
NoNone
InvoiceStatusInvoice state of the price line: none, active, not active or invoiced earlier.Enum
RentalDocumentJournalLinePriceInvoiceStatus (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PeriodPoints to the period code used for the price.Int64
RentalPeriodRecId
NoRentalPeriodCode.RecIdNone
RateAmountRental rate for the chosen period.Real
RentalRateAmount
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
ValidFromFirst date on which the price line is valid.Date
ValidFromDate
NoNone
ValidToLast date on which the price line is valid.Date
ValidToDate
NoNone

Indexes (3)

Relations (3)

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

  • RentalDocumentLinePrice → RentalDocumentLinePrice

    Join on RentalDocumentLinePrice = RentalDocumentLinePrice.RecId

    Many RentalDocumentJournalLinePrice records → exactly one RentalDocumentLinePrice record

  • RentalDocumentJournalLine → RentalDocumentJournalLine

    Join on RentalDocumentJournalLine = RentalDocumentJournalLine.RecId

    Many RentalDocumentJournalLinePrice records → exactly one RentalDocumentJournalLine record

  • Period → RentalPeriodCode

    Join on Period = RentalPeriodCode.RecId

    Many RentalDocumentJournalLinePrice records → zero or one RentalPeriodCode record

Get this data out

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

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

Email sales@drdynamics.co.uk