Table
RentalRateLine
Rate prices
Holds the prices for a rental rate. Each line belongs to a rate header and is set by period code, currency and validity dates. It gives the rate amount, hours allowed and any discount.
- Table name
RentalRateLine- Module
Rental management- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
None- Replacement key
RatePriceIdx- Key fields
RateHeader, Period, CurrencyCode, ValidFrom, ValidTo- Model
RentalManagement
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RateHeaderThe rental rate header this line belongs to. | Int64RentalRateHeaderRecId | Yes | RentalRateHeader.RecId | None |
PeriodThe period code the price applies to. | Int64RentalPeriodCodeRecId | Yes | RentalPeriodCode.RecId | None |
CurrencyCodeCurrency of the rate line. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | RentalRateLineEntity |
ValidFromFirst date the line is valid. | DateValidFromDate | No | RentalRateLineEntity | |
ValidToLast date the line is valid. | DateValidToDate | No | RentalRateLineEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DiscountAmountDiscount given as a fixed amount. | RealDiscAmount | No | RentalRateLineEntity | |
DiscountPercentageDiscount given as a percentage. | RealDiscPct | No | RentalRateLineEntity | |
HoursAllowedNumber of hours covered by the rate. | RealRentalHoursAllowed | No | RentalRateLineEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RateAmountRental rate for the chosen period. | RealRentalRateAmount | No | RentalRateLineEntity | |
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 |
Indexes (2)
RentalPeriodCodeTableIdxNot unique.
RatePriceIdxReplacement keyRateHeader,Period,CurrencyCode,ValidFrom,ValidToUnique, alternate key.
Relations (3)
Each relation joins RentalRateLine to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany RentalRateLine records → exactly one Currency record
PeriodCode→RentalPeriodCodeJoin on
Period = RentalPeriodCode.RecIdMany RentalRateLine records → exactly one RentalPeriodCode record
RateHeader→RentalRateHeaderJoin on
RateHeader = RentalRateHeader.RecIdMany RentalRateLine records → exactly one RentalRateHeader record
Get this data out
Tables are not exposed directly. These public entities read from RentalRateLine; use one of them in Power BI, Power Platform or a data management project.
RentalRateLineEntity· 7 fields from this table
Need help with RentalRateLine in a report, an integration or a migration? Talk to Dr Dynamics.