Data entity
RentalContractLinePriceEntity
Price records for rental contract lines. Each record is keyed by rental ID, line number, period code, invoice status, validity dates, recurrence number and sequence number. It holds rate, amounts, discounts, hours allowed and invoicing details. It also holds best rate calculation status.
- Entity name
RentalContractLinePriceEntity- Public entity name
RentalContractLinePrice- OData collection
RentalContractLinePrices- Category
Document- Module
Rental management- Read-only
No- Data management enabled
Yes- Configuration key
Rental- Keys
RentalContractId, LineNumber, PeriodCodeId, InvoiceStatus, ValidFromDate, ValidToDate, RecurrenceNumber, SequenceNumber- Staging table
RentalContractLinePriceStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RentalContractLinePrices- Dataverse virtual table
mserp_rentalcontractlinepriceentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
RentalDocumentLinePrice· rootRentalDocumentLine· InnerJoin toRentalDocumentLinePrice· read-onlyRentalDocumentTable· InnerJoin toRentalDocumentLine· read-onlyRentalPeriodCode· OuterJoin toRentalDocumentLinePrice· read-onlyBillingScenarioChangedToPeriodCode(tableRentalPeriodCode) · OuterJoin toRentalDocumentLinePrice· read-only
Fields (26)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
RentalContractIdUnique ID of the rental contract or quotation. | String (21)RentalId | Yes | Yes | RentalDocumentTable.RentalId | |
LineNumberNumber of the line within the rental document. | RealLineNum | Yes | Yes | RentalDocumentLine.LineNum | |
SequenceNumberSequence number of the price record. | IntegerSequenceNumber | No | Yes | RentalDocumentLinePrice.SequenceNumber | |
PeriodCodeIdID of the rental period code. | StringRentalPeriodCodeId | Yes | Yes | RentalPeriodCode.PeriodCodeId | |
RateAmountRental rate for the period. | RealRentalRateAmount | No | Yes | RentalDocumentLinePrice.RateAmount | |
NetChargeAmountAmount of the price line. | RealAmount | No | Yes | RentalDocumentLinePrice.Amount | |
DiscountAmountCash discount amount on the price line. | RealDiscAmount | No | Yes | RentalDocumentLinePrice.DiscAmount | |
LineDiscountPercentageDiscount percentage on the price line. | RealDiscPct | No | Yes | RentalDocumentLinePrice.DiscPct | |
HeaderDiscountPercentageDiscount percentage applied from the header. | RealRentalHeaderDiscPct | No | Yes | RentalDocumentLinePrice.HeaderDiscPct | |
HoursAllowedNumber of hours covered by the rate. | RealRentalHoursAllowed | No | Yes | RentalDocumentLinePrice.HoursAllowed | |
InvoiceCounterCount of invoiced contract price lines. | IntegerRentalInvoiceCounter | No | Yes | RentalDocumentLinePrice.InvoiceCounter | |
InvoiceDaysNumber of days used as the basis for prorated amounts. | IntegerRentalInvoiceDays | No | Yes | RentalDocumentLinePrice.InvoiceDays | |
InvoicedToDateDate up to which invoice schedules exist. | DateRentalInvoicedToDate | No | Yes | RentalDocumentLinePrice.InvoicedToDate | |
InvoiceStatusInvoice status of the price line: active, not active or invoiced earlier. | Enum
| No | Yes | RentalDocumentLinePrice.InvoiceStatus | |
ValidFromDateFirst date the price is valid. | DateValidFromDate | No | Yes | RentalDocumentLinePrice.ValidFrom | |
ValidToDateLast date the price is valid. | DateValidToDate | No | Yes | RentalDocumentLinePrice.ValidTo | |
BestRateCalculationStatusStatus of the best rate calculation: empty, closed or created. | Enum
| No | Yes | RentalDocumentLinePrice.BestRateCalculationStatus | |
BestRateCalculationOvertimeValueOvertime value taken from the calculated total. | RealRentalBestRateCalculationOvertimeValue | No | Yes | RentalDocumentLinePrice.BestRateCalculationOvertimeValue | |
RentalRateTypeType of rate used: default, customer group or customer. | Enum
| No | Yes | RentalDocumentLinePrice.RentalRateType | |
RecurrenceNumberRecurrence number of the price line. | IntegerRentalRecurrenceNumber | No | Yes | RentalDocumentLinePrice.RecurrenceNumber | |
BillingScenarioChangedDateThe final invoicing day under the current period. | DateRentalBillingScenarioChangedDate | No | Yes | RentalDocumentLinePrice.BillingScenarioChangedDate | |
ProratedOvertimeProrated overtime fee based on the rate and allowed hours. | RealRentalProratedOvertimeFee | No | Yes | RentalDocumentLinePrice.ProratedOvertime | |
BillingScenarioChangedToPeriodCodeIdID of the rental period code. | StringRentalPeriodCodeId | No | Yes | RentalPeriodCode.PeriodCodeId | |
RentalDocumentLineRecIdRental document line that the price belongs to. | Int64RentalDocumentLineRecId | Yes | No (private) | RentalDocumentLine.RecId | RentalDocumentLinePrice.RentalDocumentLine |
PeriodRecIdPeriod code used for the price. | Int64RentalPeriodRecId | No | No (private) | RentalPeriodCode.RecId | RentalDocumentLinePrice.Period |
BillingScenarioChangedToPeriodRecIdPeriod that billing was changed to. | Int64RentalBillingScenarioChangedToPeriod | No | No (private) | RentalPeriodCode.RecId | RentalDocumentLinePrice.BillingScenarioChangedToPeriod |
Foreign keys (3)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
RentalDocumentLineRecId→RentalDocumentLine.RecId(key of RentalDocumentLine)Many RentalDocumentLinePrice records → exactly one RentalDocumentLine record
RentalDocumentLine details: see RentalContractLineEntity, RentalQuotationLineEntity, RentalContractLineItemEntity
PeriodRecId→RentalPeriodCode.RecId(key of RentalPeriodCode)Many RentalDocumentLinePrice records → zero or one RentalPeriodCode record
RentalPeriodCode details: see RentalPeriodCodeEntity, RentalQuotationLinePriceEntity, RentalRateLineEntity
BillingScenarioChangedToPeriodRecId→RentalPeriodCode.RecId(key of RentalPeriodCode)Many RentalDocumentLinePrice records → zero or one RentalPeriodCode record
RentalPeriodCode details: see RentalPeriodCodeEntity, RentalQuotationLinePriceEntity, RentalRateLineEntity
Need help with RentalContractLinePriceEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.