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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RentalDocumentJournalLinePoints to the main rental journal line. | Int64RentalDocumentJournalLineRecId | Yes | RentalDocumentJournalLine.RecId | None |
RentalDocumentLinePricePoints to the main rental document line price. | Int64RentalDocumentLinePriceRecId | Yes | RentalDocumentLinePrice.RecId | None |
AmountAmount of the price line. | RealAmount | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DiscAmountDiscount amount of the price line. | RealDiscAmount | No | None | |
DiscPctDiscount percentage of the price line. | RealDiscPct | No | None | |
HeaderDiscPctDiscount percentage that came from a header-level discount. | RealRentalHeaderDiscPct | No | None | |
HoursAllowedNumber of hours covered by the rate. | RealRentalHoursAllowed | No | None | |
InvoiceStatusInvoice state of the price line: none, active, not active or invoiced earlier. | EnumRentalDocumentJournalLinePriceInvoiceStatus (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PeriodPoints to the period code used for the price. | Int64RentalPeriodRecId | No | RentalPeriodCode.RecId | None |
RateAmountRental rate for the chosen period. | RealRentalRateAmount | 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 | |
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 | |
ValidFromFirst date on which the price line is valid. | DateValidFromDate | No | None | |
ValidToLast date on which the price line is valid. | DateValidToDate | No | None |
Indexes (3)
RentalDocumentLinePriceIdxNot unique.
RentalPeriodCodeTableIdxNot unique.
RentalJournalLineDocumentLinePriceIdxReplacement keyRentalDocumentJournalLine,RentalDocumentLinePriceUnique, alternate key.
Relations (3)
Each relation joins RentalDocumentJournalLinePrice to another table on the fields shown.
RentalDocumentLinePrice→RentalDocumentLinePriceJoin on
RentalDocumentLinePrice = RentalDocumentLinePrice.RecIdMany RentalDocumentJournalLinePrice records → exactly one RentalDocumentLinePrice record
RentalDocumentJournalLine→RentalDocumentJournalLineJoin on
RentalDocumentJournalLine = RentalDocumentJournalLine.RecIdMany RentalDocumentJournalLinePrice records → exactly one RentalDocumentJournalLine record
Period→RentalPeriodCodeJoin on
Period = RentalPeriodCode.RecIdMany 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.