Table
RentalDocumentLinePrice
Rental document line prices
Holds the price lines of rental contract and quotation lines. Each record covers a period, a validity range, a recurrence number and an invoice status. It stores the rate, amount, discounts, allowed hours and best-rate results.
- Table name
RentalDocumentLinePrice- Module
Rental management- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
None- Replacement key
PriceIdx- Key fields
RentalDocumentLine, Period, InvoiceStatus, ValidFrom, ValidTo, RecurrenceNumber, SequenceNumber- Model
RentalManagement
Fields (28)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RentalDocumentLineRental document line that the price belongs to. | Int64RentalDocumentLineRecId | Yes | RentalDocumentLine.RecId | RentalContractLinePriceEntityRentalQuotationLinePriceEntity |
PeriodPeriod code used for the price. | Int64RentalPeriodRecId | No | RentalPeriodCode.RecId | RentalContractLinePriceEntityRentalQuotationLinePriceEntity |
InvoiceStatusInvoice status of the price line: active, not active or invoiced earlier. | EnumRentalPriceInvoiceStatus (enum) | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
ValidFromFirst date the price is valid. | DateValidFromDate | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
ValidToLast date the price is valid. | DateValidToDate | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
RecurrenceNumberRecurrence number of the price line. | IntegerRentalRecurrenceNumber | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
SequenceNumberSequence number of the price record. | IntegerSequenceNumber | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
AmountAmount of the price line. | RealAmount | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
BestRateCalculationOvertimeValueOvertime value taken from the calculated total. | RealRentalBestRateCalculationOvertimeValue | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
BestRateCalculationStatusStatus of the best rate calculation: empty, closed or created. | EnumRentalBestRateCalculationStatus (enum) | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
BillingScenarioChangedDateThe final invoicing day under the current period. | DateRentalBillingScenarioChangedDate | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
BillingScenarioChangedToPeriodPeriod that billing was changed to. | Int64RentalBillingScenarioChangedToPeriod | No | RentalPeriodCode.RecId | RentalContractLinePriceEntityRentalQuotationLinePriceEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DiscAmountCash discount amount on the price line. | RealDiscAmount | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
DiscPctDiscount percentage on the price line. | RealDiscPct | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
HeaderDiscPctDiscount percentage applied from the header. | RealRentalHeaderDiscPct | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
HoursAllowedNumber of hours covered by the rate. | RealRentalHoursAllowed | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
InvoiceCounterCount of invoiced contract price lines. | IntegerRentalInvoiceCounter | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
InvoiceDaysNumber of days used as the basis for prorated amounts. | IntegerRentalInvoiceDays | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
InvoicedToDateDate up to which invoice schedules exist. | DateRentalInvoicedToDate | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProratedOvertimeProrated overtime fee based on the rate and allowed hours. | RealRentalProratedOvertimeFee | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
RateAmountRental rate for the period. | RealRentalRateAmount | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
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 | |
RentalRateTypeType of rate used: default, customer group or customer. | EnumRentalLineRateType (enum) | No | RentalContractLinePriceEntityRentalQuotationLinePriceEntity | |
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 |
Indexes (3)
PriceIdxReplacement keyRentalDocumentLine,Period,InvoiceStatus,ValidFrom,ValidTo,RecurrenceNumber,SequenceNumberUnique, alternate key.
PeriodIdxNot unique.
SequenceNumberIdxNot unique.
Relations (3)
Each relation joins RentalDocumentLinePrice to another table on the fields shown.
RentalDocumentLine→RentalDocumentLineJoin on
RentalDocumentLine = RentalDocumentLine.RecIdMany RentalDocumentLinePrice records → exactly one RentalDocumentLine record
Period→RentalPeriodCodeJoin on
Period = RentalPeriodCode.RecIdMany RentalDocumentLinePrice records → zero or one RentalPeriodCode record
BillingScenarioChangedToPeriod→RentalPeriodCodeJoin on
BillingScenarioChangedToPeriod = RentalPeriodCode.RecIdMany RentalDocumentLinePrice records → zero or one RentalPeriodCode record
Get this data out
Tables are not exposed directly. These public entities read from RentalDocumentLinePrice; use one of them in Power BI, Power Platform or a data management project.
RentalContractLinePriceEntity· 22 fields from this tableRentalQuotationLinePriceEntity· 22 fields from this table
Need help with RentalDocumentLinePrice in a report, an integration or a migration? Talk to Dr Dynamics.