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 descriptionType / EDT / enumMandatoryReferencesIn public entities
RentalDocumentLineRental document line that the price belongs to.Int64
RentalDocumentLineRecId
YesRentalDocumentLine.RecIdRentalContractLinePriceEntityRentalQuotationLinePriceEntity
PeriodPeriod code used for the price.Int64
RentalPeriodRecId
NoRentalPeriodCode.RecIdRentalContractLinePriceEntityRentalQuotationLinePriceEntity
InvoiceStatusInvoice status of the price line: active, not active or invoiced earlier.Enum
RentalPriceInvoiceStatus (enum)
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
ValidFromFirst date the price is valid.Date
ValidFromDate
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
ValidToLast date the price is valid.Date
ValidToDate
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
RecurrenceNumberRecurrence number of the price line.Integer
RentalRecurrenceNumber
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
SequenceNumberSequence number of the price record.Integer
SequenceNumber
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
AmountAmount of the price line.Real
Amount
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
BestRateCalculationOvertimeValueOvertime value taken from the calculated total.Real
RentalBestRateCalculationOvertimeValue
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
BestRateCalculationStatusStatus of the best rate calculation: empty, closed or created.Enum
RentalBestRateCalculationStatus (enum)
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
BillingScenarioChangedDateThe final invoicing day under the current period.Date
RentalBillingScenarioChangedDate
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
BillingScenarioChangedToPeriodPeriod that billing was changed to.Int64
RentalBillingScenarioChangedToPeriod
NoRentalPeriodCode.RecIdRentalContractLinePriceEntityRentalQuotationLinePriceEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DiscAmountCash discount amount on the price line.Real
DiscAmount
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
DiscPctDiscount percentage on the price line.Real
DiscPct
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
HeaderDiscPctDiscount percentage applied from the header.Real
RentalHeaderDiscPct
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
HoursAllowedNumber of hours covered by the rate.Real
RentalHoursAllowed
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
InvoiceCounterCount of invoiced contract price lines.Integer
RentalInvoiceCounter
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
InvoiceDaysNumber of days used as the basis for prorated amounts.Integer
RentalInvoiceDays
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
InvoicedToDateDate up to which invoice schedules exist.Date
RentalInvoicedToDate
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProratedOvertimeProrated overtime fee based on the rate and allowed hours.Real
RentalProratedOvertimeFee
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
RateAmountRental rate for the period.Real
RentalRateAmount
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
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
RentalRateTypeType of rate used: default, customer group or customer.Enum
RentalLineRateType (enum)
NoRentalContractLinePriceEntityRentalQuotationLinePriceEntity
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 (3)

Relations (3)

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

  • RentalDocumentLine → RentalDocumentLine

    Join on RentalDocumentLine = RentalDocumentLine.RecId

    Many RentalDocumentLinePrice records → exactly one RentalDocumentLine record

  • Period → RentalPeriodCode

    Join on Period = RentalPeriodCode.RecId

    Many RentalDocumentLinePrice records → zero or one RentalPeriodCode record

  • BillingScenarioChangedToPeriod → RentalPeriodCode

    Join on BillingScenarioChangedToPeriod = RentalPeriodCode.RecId

    Many 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.

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

Email sales@drdynamics.co.uk